Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00149/0.00149, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001859/0.001859, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 227.4 MB / 247.4 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2117/0.2117, allocations: 46.1 MB / 344.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 71.5 kB / 418.3 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1238, allocations: 62.44 MB / 480.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01417/0.138, allocations: 13.04 MB / 493.7 MB, free: 8.199 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009433/0.1475, allocations: 4.283 MB / 498 MB, free: 3.902 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002444/0.15, allocations: 75.81 kB / 498.1 MB, free: 3.828 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007267/0.1573, allocations: 3.703 MB / 0.49 GB, free: 116 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006339/0.1637, allocations: 1.984 MB / 0.492 GB, free: 14.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00243/0.1661, allocations: 0.8071 MB / 0.4928 GB, free: 13.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006411/0.1726, allocations: 4.221 MB / 0.4969 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007382/0.18, allocations: 4.848 MB / 0.5016 GB, free: 4.168 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00379/0.1838, allocations: 1.838 MB / 0.5034 GB, free: 2.324 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2447/0.4285, allocations: 2.462 MB / 0.5058 GB, free: 16.35 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002043/0.4306, allocations: 414 kB / 0.5062 GB, free: 16.35 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003515/0.4341, allocations: 1.126 MB / 0.5073 GB, free: 16.35 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003243/0.4374, allocations: 2.183 MB / 0.5094 GB, free: 16.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005917/0.4433, allocations: 2.596 MB / 0.512 GB, free: 15.65 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.013/0.4563, allocations: 7.835 MB / 0.5196 GB, free: 14.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.4564, allocations: 0 / 0.5196 GB, free: 14.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4564, allocations: 2.594 kB / 0.5196 GB, free: 14.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003781/0.4568, allocations: 0 / 0.5196 GB, free: 14.61 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.02936/0.4862, allocations: 6.204 MB / 0.5257 GB, free: 12.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.4862, allocations: 10.19 kB / 0.5257 GB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008658/0.4949, allocations: 1.968 MB / 0.5276 GB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007068/0.502, allocations: 2.619 MB / 0.5302 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003211/0.5024, allocations: 295.4 kB / 0.5305 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002208/0.5046, allocations: 398.4 kB / 0.5308 GB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02839/0.533, allocations: 12.19 MB / 0.5427 GB, free: 2.797 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003734/0.5334, allocations: 47.72 kB / 0.5428 GB, free: 2.789 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002428/0.5358, allocations: 180.7 kB / 0.543 GB, free: 2.699 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004353/0.5402, allocations: 2.193 MB / 0.5451 GB, free: 1.766 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02656/0.5668, allocations: 11.21 MB / 0.5561 GB, free: 6.738 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07389/0.6407, allocations: 46.09 MB / 0.6011 GB, free: 8.156 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01898/0.6598, allocations: 5.488 MB / 0.6064 GB, free: 2.531 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005106/0.6649, allocations: 3.427 MB / 0.6098 GB, free: 15.1 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001219/0.6662, allocations: 0.7041 MB / 0.6105 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.856e-05/0.6663, allocations: 55.88 kB / 0.6105 GB, free: 14.24 MB / 462.1 MB Notification: Performance of pre-optimization done (n=203): time 6.191e-06/0.6663, allocations: 0 / 0.6105 GB, free: 14.24 MB / 462.1 MB Notification: Performance of matching and sorting (n=234): time 0.08833/0.7546, allocations: 27.29 MB / 0.6372 GB, free: 2.871 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.7548, allocations: 158 kB / 0.6373 GB, free: 2.688 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009747/0.7646, allocations: 4.395 MB / 0.6416 GB, free: 14.27 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009096/0.7655, allocations: 61.7 kB / 0.6417 GB, free: 14.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002895/0.7684, allocations: 3.383 MB / 0.645 GB, free: 10.82 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001691/0.7701, allocations: 0.8882 MB / 0.6458 GB, free: 9.938 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002808/0.773, allocations: 1.411 MB / 0.6472 GB, free: 8.516 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.7731, allocations: 309.1 kB / 0.6475 GB, free: 8.211 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004829/0.7779, allocations: 3.273 MB / 0.6507 GB, free: 4.934 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008121/0.7861, allocations: 7.09 MB / 0.6576 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01607/0.8022, allocations: 11.16 MB / 0.6685 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001409/0.8024, allocations: 36 kB / 0.6686 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.02611/0.8285, allocations: 11.29 MB / 0.6796 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001872/0.8287, allocations: 60 kB / 0.6796 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002584/0.829, allocations: 136 kB / 0.6798 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003403/0.8324, allocations: 1.122 MB / 0.6809 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007023/0.8395, allocations: 1.692 MB / 0.6825 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008947/0.8485, allocations: 6.351 MB / 0.6887 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006447/0.855, allocations: 403.2 kB / 0.6891 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001902/0.8569, allocations: 443.8 kB / 0.6895 GB, free: 10.16 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 610 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (816): * Single equations (assignments): 812 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006771/0.8637, allocations: 2.307 MB / 0.6918 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001509/0.8652, allocations: 394.9 kB / 0.6922 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01293/0.8781, allocations: 6.19 MB / 0.6982 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.447e-05/0.8782, allocations: 24 kB / 0.6982 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-05/0.8783, allocations: 4 kB / 0.6982 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.996e-05/0.8783, allocations: 11.95 kB / 0.6982 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02938/0.9077, allocations: 13.03 MB / 0.711 GB, free: 4.082 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.371e-05/0.9078, allocations: 4 kB / 0.711 GB, free: 4.078 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003387/0.9112, allocations: 0.5382 MB / 0.7115 GB, free: 3.539 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003107/0.9143, allocations: 0.953 MB / 0.7124 GB, free: 2.582 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008837/0.9152, allocations: 91.83 kB / 0.7125 GB, free: 2.492 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2578/1.173, allocations: 6.059 MB / 0.7184 GB, free: 191.9 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/1.173, allocations: 10.69 kB / 0.7184 GB, free: 191.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01784/1.191, allocations: 10.47 MB / 0.7287 GB, free: 189.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002715/1.194, allocations: 0.8839 MB / 0.7295 GB, free: 188.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008604/1.195, allocations: 42.59 kB / 0.7296 GB, free: 188.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002464/1.197, allocations: 167.9 kB / 0.7297 GB, free: 188.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005464/1.198, allocations: 184.5 kB / 0.7299 GB, free: 188.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002711/1.198, allocations: 108.1 kB / 0.73 GB, free: 188.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004759/1.203, allocations: 2.773 MB / 0.7327 GB, free: 187.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.4e-07/1.203, allocations: 0 / 0.7327 GB, free: 187.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007506/1.21, allocations: 1.184 MB / 0.7339 GB, free: 187.8 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 202 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001004/1.211, allocations: 187.7 kB / 0.734 GB, free: 187.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01589/1.227, allocations: 9.814 MB / 0.7436 GB, free: 185.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.859e-06/1.227, allocations: 0 / 0.7436 GB, free: 185.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00382/1.231, allocations: 3.025 MB / 0.7466 GB, free: 182.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003645/1.235, allocations: 0.4883 MB / 0.7471 GB, free: 182.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02153/1.256, allocations: 12.45 MB / 0.7592 GB, free: 171.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004277/1.261, allocations: 3.618 MB / 0.7628 GB, free: 168.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002094/1.263, allocations: 462.5 kB / 0.7632 GB, free: 167.9 MB / 0.545 GB Notification: Performance of SimCode: time 1.012e-06/1.263, allocations: 0 / 0.7632 GB, free: 167.9 MB / 0.545 GB Notification: Performance of Templates: time 0.1186/1.381, allocations: 92.98 MB / 0.854 GB, free: 75.14 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches