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.001493/0.001501, allocations: 119.8 kB / 17.09 MB, free: 5.992 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.001235/0.001235, allocations: 193.2 kB / 18.01 MB, free: 5.07 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.425/1.425, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2164/0.2164, allocations: 43.52 MB / 314.8 MB, free: 444 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.001412/0.001412, allocations: 77.44 kB / 442.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1217, allocations: 57.78 MB / 0.4885 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01267/0.1344, allocations: 11.8 MB / 0.5001 GB, free: 15.92 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009441/0.1439, allocations: 3.914 MB / 0.5039 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002559/0.1465, allocations: 67.81 kB / 0.504 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005645/0.1522, allocations: 2.71 MB / 0.5066 GB, free: 9.207 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005807/0.1581, allocations: 1.891 MB / 0.5084 GB, free: 7.309 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002113/0.1602, allocations: 0.6861 MB / 0.5091 GB, free: 6.621 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006525/0.1668, allocations: 3.761 MB / 0.5128 GB, free: 2.848 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005667/0.1725, allocations: 3.8 MB / 0.5165 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003029/0.1755, allocations: 1.546 MB / 0.518 GB, free: 13.43 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003852/0.1794, allocations: 2.138 MB / 0.5201 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00137/0.1808, allocations: 344 kB / 0.5204 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003046/0.1838, allocations: 1.073 MB / 0.5215 GB, free: 9.875 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002764/0.1866, allocations: 1.944 MB / 0.5234 GB, free: 7.926 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004525/0.1912, allocations: 2.245 MB / 0.5256 GB, free: 5.668 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2998/0.491, allocations: 7.202 MB / 0.5326 GB, free: 15.28 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.738e-06/0.491, allocations: 0 / 0.5326 GB, free: 15.28 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.396e-06/0.491, allocations: 0.6562 kB / 0.5326 GB, free: 15.28 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002649/0.4913, allocations: 0 / 0.5326 GB, free: 15.28 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.02149/0.5128, allocations: 5.333 MB / 0.5378 GB, free: 13.44 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.5129, allocations: 15.77 kB / 0.5378 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008286/0.5212, allocations: 1.883 MB / 0.5397 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006972/0.5282, allocations: 2.396 MB / 0.542 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003687/0.5286, allocations: 240.9 kB / 0.5422 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002227/0.5308, allocations: 318.1 kB / 0.5425 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02761/0.5585, allocations: 10.74 MB / 0.553 GB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001526/0.5587, allocations: 42.16 kB / 0.5531 GB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005773/0.5593, allocations: 150.4 kB / 0.5532 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003903/0.5632, allocations: 1.98 MB / 0.5551 GB, free: 9.855 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01967/0.5829, allocations: 9.638 MB / 0.5646 GB, free: 7.012 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05067/0.6336, allocations: 39.08 MB / 0.6027 GB, free: 1.422 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01415/0.6478, allocations: 3.932 MB / 0.6066 GB, free: 13.36 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002664/0.6505, allocations: 1.889 MB / 0.6084 GB, free: 11.46 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009372/0.6514, allocations: 0.6793 MB / 0.6091 GB, free: 10.68 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.371e-05/0.6515, allocations: 67.3 kB / 0.6091 GB, free: 10.61 MB / 462.1 MB Notification: Performance of pre-optimization done (n=151): time 5.23e-06/0.6515, allocations: 0 / 0.6091 GB, free: 10.61 MB / 462.1 MB Notification: Performance of matching and sorting (n=157): time 0.04736/0.6989, allocations: 13.91 MB / 0.6227 GB, free: 12.61 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.547e-05/0.699, allocations: 161 kB / 0.6229 GB, free: 12.43 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00551/0.7045, allocations: 4.073 MB / 0.6268 GB, free: 8.336 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003991/0.705, allocations: 45.7 kB / 0.6269 GB, free: 8.285 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002278/0.7073, allocations: 3.124 MB / 0.6299 GB, free: 5.172 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008264/0.7081, allocations: 0.6249 MB / 0.6306 GB, free: 4.555 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001429/0.7095, allocations: 1.198 MB / 0.6317 GB, free: 3.344 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.7097, allocations: 302.9 kB / 0.632 GB, free: 3.047 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002988/0.7126, allocations: 2.104 MB / 0.6341 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005092/0.7177, allocations: 5.811 MB / 0.6397 GB, free: 9.336 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01032/0.7281, allocations: 8.57 MB / 0.6481 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-05/0.7282, allocations: 44 kB / 0.6481 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=761) (initialization): time 0.01489/0.7431, allocations: 8.412 MB / 0.6564 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.055e-05/0.7432, allocations: 64.72 kB / 0.6564 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000123/0.7434, allocations: 132 kB / 0.6566 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002408/0.7458, allocations: 0.9066 MB / 0.6574 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004177/0.75, allocations: 1.372 MB / 0.6588 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006492/0.7565, allocations: 5.191 MB / 0.6638 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005464/0.762, allocations: 315.7 kB / 0.6641 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001066/0.7631, allocations: 378.8 kB / 0.6645 GB, free: 14.77 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.004109/0.7672, allocations: 2.095 MB / 0.6666 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008282/0.768, allocations: 347.4 kB / 0.6669 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006098/0.7741, allocations: 3.159 MB / 0.67 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.019e-05/0.7742, allocations: 20 kB / 0.67 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.7742, allocations: 1.688 kB / 0.67 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.686e-05/0.7742, allocations: 11.97 kB / 0.67 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01432/0.7885, allocations: 7.95 MB / 0.6778 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-05/0.7886, allocations: 0 / 0.6778 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001544/0.7902, allocations: 299.5 kB / 0.6781 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002213/0.7924, allocations: 0.7157 MB / 0.6788 GB, free: 104 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001634/0.7926, allocations: 37.28 kB / 0.6788 GB, free: 68 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005993/0.7986, allocations: 4.766 MB / 0.6834 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.7986, allocations: 7.969 kB / 0.6834 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008789/0.8074, allocations: 5.726 MB / 0.689 GB, free: 5.406 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001594/0.809, allocations: 0.6252 MB / 0.6897 GB, free: 4.762 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004891/0.8095, allocations: 27.98 kB / 0.6897 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001398/0.8109, allocations: 95.89 kB / 0.6898 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000298/0.8112, allocations: 106.5 kB / 0.6899 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001258/0.8114, allocations: 51.97 kB / 0.6899 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003762/0.8151, allocations: 2.55 MB / 0.6924 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.2e-07/0.8152, allocations: 0 / 0.6924 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005411/0.8206, allocations: 0.9572 MB / 0.6933 GB, free: 0.9688 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (126): * Single equations (assignments): 122 * 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 {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000458/0.821, allocations: 153.9 kB / 0.6935 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008158/0.8292, allocations: 5.04 MB / 0.6984 GB, free: 11.79 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.8293, allocations: 0 / 0.6984 GB, free: 11.79 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002218/0.8315, allocations: 1.55 MB / 0.6999 GB, free: 10.23 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002769/0.8343, allocations: 432.7 kB / 0.7003 GB, free: 9.809 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01561/0.8499, allocations: 9.428 MB / 0.7095 GB, free: 344 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003389/0.8533, allocations: 3.233 MB / 0.7127 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00119/0.8545, allocations: 315.3 kB / 0.713 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of SimCode: time 1.042e-06/0.8546, allocations: 0 / 0.713 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of Templates: time 0.3833/1.238, allocations: 76.13 MB / 0.7874 GB, free: 198.4 MB / 0.5919 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