Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 112 kB / 17.09 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 199.4 kB / 18.03 MB, free: 5.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.36/1.36, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.202/0.202, allocations: 43.53 MB / 314.8 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 73.45 kB / 442.5 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1129, allocations: 57.79 MB / 0.4886 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01257/0.1255, allocations: 11.8 MB / 0.5001 GB, free: 15.92 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008221/0.1338, allocations: 3.91 MB / 0.5039 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00178/0.1356, allocations: 67.81 kB / 0.504 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005278/0.1409, allocations: 2.71 MB / 0.5066 GB, free: 9.219 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005207/0.1462, allocations: 1.934 MB / 0.5085 GB, free: 7.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00203/0.1482, allocations: 0.6861 MB / 0.5092 GB, free: 6.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005943/0.1542, allocations: 3.773 MB / 0.5129 GB, free: 2.805 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004873/0.1591, allocations: 3.785 MB / 0.5165 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002727/0.1618, allocations: 1.557 MB / 0.5181 GB, free: 13.39 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003361/0.1652, allocations: 2.126 MB / 0.5201 GB, free: 11.26 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001028/0.1662, allocations: 348 kB / 0.5205 GB, free: 10.92 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002416/0.1687, allocations: 1.073 MB / 0.5215 GB, free: 9.844 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002393/0.1711, allocations: 1.944 MB / 0.5234 GB, free: 7.895 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003044/0.1741, allocations: 2.253 MB / 0.5256 GB, free: 5.629 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2505/0.4246, allocations: 7.223 MB / 0.5327 GB, free: 15.3 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.4247, allocations: 0 / 0.5327 GB, free: 15.3 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.4247, allocations: 0 / 0.5327 GB, free: 15.3 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002856/0.425, allocations: 0 / 0.5327 GB, free: 15.3 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.02015/0.4452, allocations: 5.462 MB / 0.538 GB, free: 13.26 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.737e-05/0.4452, allocations: 12.11 kB / 0.538 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007856/0.4531, allocations: 1.915 MB / 0.5399 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006693/0.4598, allocations: 2.407 MB / 0.5422 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003338/0.4602, allocations: 242 kB / 0.5425 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001337/0.4616, allocations: 318.6 kB / 0.5428 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02433/0.4859, allocations: 10.74 MB / 0.5533 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001758/0.4861, allocations: 39.73 kB / 0.5533 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006485/0.4868, allocations: 152.5 kB / 0.5534 GB, free: 9.977 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004117/0.4909, allocations: 1.98 MB / 0.5554 GB, free: 9.652 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02109/0.512, allocations: 9.633 MB / 0.5648 GB, free: 6.754 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05066/0.5627, allocations: 39.16 MB / 0.603 GB, free: 1.121 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01352/0.5763, allocations: 3.941 MB / 0.6069 GB, free: 13.05 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002822/0.5792, allocations: 1.883 MB / 0.6087 GB, free: 11.16 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00108/0.5803, allocations: 0.6852 MB / 0.6094 GB, free: 10.38 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.139e-05/0.5804, allocations: 54.94 kB / 0.6094 GB, free: 10.31 MB / 462.1 MB Notification: Performance of pre-optimization done (n=151): time 5.851e-06/0.5804, allocations: 0 / 0.6094 GB, free: 10.31 MB / 462.1 MB Notification: Performance of matching and sorting (n=157): time 0.04837/0.6288, allocations: 14.15 MB / 0.6233 GB, free: 12.11 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.861e-05/0.6289, allocations: 145.5 kB / 0.6234 GB, free: 11.94 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006819/0.6357, allocations: 4.096 MB / 0.6274 GB, free: 7.824 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004316/0.6362, allocations: 45.7 kB / 0.6274 GB, free: 7.773 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002245/0.6384, allocations: 3.246 MB / 0.6306 GB, free: 4.551 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007761/0.6392, allocations: 0.6438 MB / 0.6312 GB, free: 3.918 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001452/0.6407, allocations: 1.214 MB / 0.6324 GB, free: 2.695 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.01e-05/0.6408, allocations: 301.1 kB / 0.6327 GB, free: 2.398 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003006/0.6438, allocations: 2.104 MB / 0.6348 GB, free: 296 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005357/0.6492, allocations: 5.806 MB / 0.6404 GB, free: 8.691 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009411/0.6586, allocations: 8.576 MB / 0.6488 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.194e-05/0.6587, allocations: 40 kB / 0.6489 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=761) (initialization): time 0.0142/0.6729, allocations: 8.437 MB / 0.6571 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.667e-05/0.673, allocations: 64.72 kB / 0.6572 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001835/0.6732, allocations: 132 kB / 0.6573 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002439/0.6757, allocations: 0.9077 MB / 0.6582 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004184/0.6799, allocations: 1.376 MB / 0.6595 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006725/0.6866, allocations: 5.192 MB / 0.6646 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004271/0.6909, allocations: 327.6 kB / 0.6649 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008085/0.6917, allocations: 376 kB / 0.6652 GB, free: 14.11 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 599 * Number of states: 0 () * Number of discrete variables: 36 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[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 (722): * Single equations (assignments): 718 * 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.003509/0.6952, allocations: 2.087 MB / 0.6673 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008011/0.696, allocations: 365.5 kB / 0.6676 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005817/0.7019, allocations: 3.167 MB / 0.6707 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.038e-05/0.7019, allocations: 3.984 kB / 0.6707 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.7019, allocations: 4 kB / 0.6707 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001535/0.7035, allocations: 0.6506 MB / 0.6714 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004602/0.7039, allocations: 20 kB / 0.6714 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/0.7052, allocations: 91.88 kB / 0.6715 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003031/0.7055, allocations: 118.2 kB / 0.6716 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006529/0.7121, allocations: 3.625 MB / 0.6751 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007347/0.7195, allocations: 5.02 MB / 0.68 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001831/0.7213, allocations: 1.272 MB / 0.6813 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005045/0.7264, allocations: 2.558 MB / 0.6838 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of Backend: time 1.794e-06/0.7264, allocations: 0 / 0.6838 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01088/0.7373, allocations: 4.102 MB / 0.6878 GB, free: 6.996 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01911/0.7564, allocations: 9.182 MB / 0.6967 GB, free: 13.77 MB / 0.545 GB Notification: Performance of Templates: time 0.08801/0.8445, allocations: 44.65 MB / 0.7404 GB, free: 1.191 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches