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.001821/0.001821, allocations: 117 kB / 17.08 MB, free: 5.984 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.001851/0.001851, allocations: 198.9 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 2.044/2.044, 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.3066/0.3066, allocations: 43.52 MB / 314.8 MB, free: 460 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.001637/0.001637, allocations: 65.45 kB / 442.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1228, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01365/0.1365, allocations: 11.8 MB / 0.5001 GB, free: 15.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009149/0.1456, allocations: 3.918 MB / 0.5039 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002431/0.1481, allocations: 67.81 kB / 0.504 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005829/0.154, allocations: 2.71 MB / 0.5066 GB, free: 9.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005786/0.1598, allocations: 1.883 MB / 0.5084 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001981/0.1618, allocations: 0.6862 MB / 0.5091 GB, free: 6.652 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006037/0.1679, allocations: 3.765 MB / 0.5128 GB, free: 2.875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005686/0.1736, allocations: 3.796 MB / 0.5165 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003417/0.1771, allocations: 1.546 MB / 0.518 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004015/0.1811, allocations: 2.134 MB / 0.5201 GB, free: 11.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001666/0.1828, allocations: 344 kB / 0.5204 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003729/0.1866, allocations: 1.073 MB / 0.5215 GB, free: 9.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002938/0.1895, allocations: 1.94 MB / 0.5234 GB, free: 7.965 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004363/0.1939, allocations: 2.256 MB / 0.5256 GB, free: 5.695 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.321/0.5149, allocations: 7.195 MB / 0.5326 GB, free: 15.2 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.086e-05/0.515, allocations: 0 / 0.5326 GB, free: 15.2 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.515, allocations: 2.625 kB / 0.5326 GB, free: 15.2 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.00029/0.5153, allocations: 0 / 0.5326 GB, free: 15.2 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.02324/0.5386, allocations: 5.325 MB / 0.5378 GB, free: 13.36 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/0.5386, allocations: 17.72 kB / 0.5378 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008387/0.547, allocations: 1.887 MB / 0.5397 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006945/0.554, allocations: 2.392 MB / 0.542 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003046/0.5544, allocations: 249.5 kB / 0.5422 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001639/0.556, allocations: 317.4 kB / 0.5425 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02372/0.5797, allocations: 10.74 MB / 0.553 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001305/0.5799, allocations: 44.28 kB / 0.5531 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004674/0.5804, allocations: 152.6 kB / 0.5532 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003547/0.5839, allocations: 1.982 MB / 0.5551 GB, free: 9.812 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01808/0.602, allocations: 9.633 MB / 0.5645 GB, free: 6.969 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0538/0.6559, allocations: 39.09 MB / 0.6027 GB, free: 1.453 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01412/0.67, allocations: 3.924 MB / 0.6065 GB, free: 13.39 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002962/0.6731, allocations: 1.893 MB / 0.6084 GB, free: 11.49 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001077/0.6742, allocations: 0.6856 MB / 0.6091 GB, free: 10.71 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.435e-05/0.6743, allocations: 47.56 kB / 0.6091 GB, free: 10.65 MB / 462.1 MB Notification: Performance of pre-optimization done (n=151): time 6.061e-06/0.6743, allocations: 0 / 0.6091 GB, free: 10.65 MB / 462.1 MB Notification: Performance of matching and sorting (n=157): time 0.05058/0.7249, allocations: 13.93 MB / 0.6227 GB, free: 12.64 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/0.725, allocations: 151.7 kB / 0.6229 GB, free: 12.46 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008566/0.7336, allocations: 4.078 MB / 0.6268 GB, free: 8.363 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004695/0.7341, allocations: 45.7 kB / 0.6269 GB, free: 8.312 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003078/0.7372, allocations: 3.123 MB / 0.6299 GB, free: 5.203 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001213/0.7384, allocations: 0.626 MB / 0.6305 GB, free: 4.582 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003155/0.7416, allocations: 1.194 MB / 0.6317 GB, free: 3.375 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.7417, allocations: 305.1 kB / 0.632 GB, free: 3.074 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004011/0.7458, allocations: 2.102 MB / 0.6341 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007475/0.7533, allocations: 5.811 MB / 0.6397 GB, free: 9.367 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01199/0.7653, allocations: 8.578 MB / 0.6481 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001772/0.7655, allocations: 36 kB / 0.6481 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=761) (initialization): time 0.01856/0.7841, allocations: 8.418 MB / 0.6564 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001874/0.7843, allocations: 67.88 kB / 0.6564 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002305/0.7845, allocations: 133.6 kB / 0.6566 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002795/0.7873, allocations: 0.9025 MB / 0.6574 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004761/0.7921, allocations: 1.372 MB / 0.6588 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007556/0.7997, allocations: 5.193 MB / 0.6638 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005036/0.8048, allocations: 316.9 kB / 0.6641 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00116/0.8059, allocations: 376 kB / 0.6645 GB, free: 14.82 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.004855/0.8108, allocations: 2.09 MB / 0.6665 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001096/0.8119, allocations: 347.4 kB / 0.6669 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007286/0.8192, allocations: 3.165 MB / 0.67 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.225e-05/0.8193, allocations: 20 kB / 0.67 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.545e-05/0.8193, allocations: 4 kB / 0.67 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.769e-05/0.8194, allocations: 11.97 kB / 0.67 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01929/0.8387, allocations: 7.948 MB / 0.6778 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-05/0.8387, allocations: 0 / 0.6778 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001613/0.8403, allocations: 299.5 kB / 0.6781 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002291/0.8427, allocations: 0.7147 MB / 0.6787 GB, free: 156 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002509/0.8429, allocations: 39.97 kB / 0.6788 GB, free: 116 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006784/0.8497, allocations: 4.773 MB / 0.6834 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.8498, allocations: 0 / 0.6834 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009941/0.8597, allocations: 5.723 MB / 0.689 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001961/0.8617, allocations: 0.6291 MB / 0.6897 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001029/0.8627, allocations: 24 kB / 0.6897 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001995/0.8647, allocations: 87.88 kB / 0.6898 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003768/0.8651, allocations: 112.7 kB / 0.6899 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001706/0.8653, allocations: 55.88 kB / 0.6899 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005452/0.8708, allocations: 2.558 MB / 0.6924 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8708, allocations: 0 / 0.6924 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006296/0.8771, allocations: 0.9532 MB / 0.6933 GB, free: 1.02 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.000624/0.8778, allocations: 151 kB / 0.6935 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009465/0.8872, allocations: 5.038 MB / 0.6984 GB, free: 11.85 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.878e-06/0.8873, allocations: 0 / 0.6984 GB, free: 11.85 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002762/0.8901, allocations: 1.549 MB / 0.6999 GB, free: 10.29 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00441/0.8945, allocations: 445 kB / 0.7003 GB, free: 9.852 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02263/0.9171, allocations: 9.418 MB / 0.7095 GB, free: 396 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005831/0.923, allocations: 3.241 MB / 0.7127 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001412/0.9245, allocations: 311.3 kB / 0.713 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of SimCode: time 1.272e-06/0.9245, allocations: 0 / 0.713 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of Templates: time 0.3845/1.309, allocations: 76.74 MB / 0.7879 GB, free: 198 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