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.00132/0.00132, allocations: 106.8 kB / 17.03 MB, free: 5.703 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.001399/0.001399, allocations: 196.1 kB / 17.96 MB, free: 5.082 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.335/1.335, allocations: 205.1 MB / 223.8 MB, free: 12.27 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.2009/0.2009, allocations: 43.52 MB / 314.7 MB, free: 484 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.001491/0.001491, allocations: 68.48 kB / 384.2 MB, free: 56.44 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1022, allocations: 57.79 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01122/0.1135, allocations: 11.8 MB / 453.8 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0088/0.1224, allocations: 3.91 MB / 457.7 MB, free: 6.383 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002299/0.1247, allocations: 67.81 kB / 457.7 MB, free: 6.316 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005017/0.1297, allocations: 2.718 MB / 460.5 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005163/0.135, allocations: 1.875 MB / 462.3 MB, free: 1.707 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001653/0.1366, allocations: 0.694 MB / 463 MB, free: 1.012 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005069/0.1417, allocations: 3.757 MB / 466.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004248/0.146, allocations: 3.789 MB / 470.6 MB, free: 9.395 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002377/0.1484, allocations: 1.553 MB / 472.1 MB, free: 7.836 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003053/0.1515, allocations: 2.13 MB / 474.3 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000667/0.1522, allocations: 348 kB / 474.6 MB, free: 5.359 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001839/0.154, allocations: 1.065 MB / 475.7 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001513/0.1555, allocations: 1.925 MB / 477.6 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002048/0.1576, allocations: 2.26 MB / 479.8 MB, free: 92 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006525/0.1641, allocations: 7.194 MB / 487 MB, free: 8.871 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.1642, allocations: 3.984 kB / 487 MB, free: 8.867 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.1642, allocations: 0 / 487 MB, free: 8.867 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001497/0.1644, allocations: 0 / 487 MB, free: 8.867 MB / 366.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.01814/0.1825, allocations: 5.333 MB / 492.4 MB, free: 3.465 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.1826, allocations: 15.89 kB / 492.4 MB, free: 3.449 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006836/0.1894, allocations: 1.882 MB / 494.3 MB, free: 1.559 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005477/0.1949, allocations: 2.396 MB / 496.7 MB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000231/0.1952, allocations: 238.1 kB / 496.9 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001131/0.1963, allocations: 319.8 kB / 497.2 MB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01895/0.2153, allocations: 10.74 MB / 0.4961 GB, free: 3.156 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001153/0.2155, allocations: 39.67 kB / 0.4961 GB, free: 3.117 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004445/0.2159, allocations: 151.9 kB / 0.4962 GB, free: 2.969 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003212/0.2191, allocations: 1.982 MB / 0.4982 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01875/0.2379, allocations: 9.642 MB / 0.5076 GB, free: 7.316 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2187/0.4566, allocations: 39.08 MB / 0.5457 GB, free: 60.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01333/0.47, allocations: 3.932 MB / 0.5496 GB, free: 60.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002401/0.4724, allocations: 1.885 MB / 0.5514 GB, free: 60.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008125/0.4732, allocations: 0.6796 MB / 0.5521 GB, free: 59.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.4733, allocations: 52.59 kB / 0.5521 GB, free: 59.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=151): time 3.516e-06/0.4733, allocations: 0 / 0.5521 GB, free: 59.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=157): time 0.03919/0.5125, allocations: 13.93 MB / 0.5657 GB, free: 54.26 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.5126, allocations: 148.9 kB / 0.5659 GB, free: 54.1 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004332/0.5169, allocations: 4.071 MB / 0.5699 GB, free: 51.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002436/0.5172, allocations: 48.77 kB / 0.5699 GB, free: 51.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001184/0.5184, allocations: 3.118 MB / 0.573 GB, free: 49.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004364/0.5188, allocations: 0.6215 MB / 0.5736 GB, free: 48.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001091/0.5199, allocations: 1.196 MB / 0.5747 GB, free: 48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 3.394e-05/0.5199, allocations: 308 kB / 0.575 GB, free: 47.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002258/0.5222, allocations: 2.11 MB / 0.5771 GB, free: 46.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003388/0.5256, allocations: 5.812 MB / 0.5828 GB, free: 38.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006245/0.5319, allocations: 8.577 MB / 0.5911 GB, free: 28.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.955e-05/0.5319, allocations: 40 kB / 0.5912 GB, free: 28.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=761) (initialization): time 0.01076/0.5427, allocations: 8.419 MB / 0.5994 GB, free: 19.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.146e-05/0.5428, allocations: 64.88 kB / 0.5995 GB, free: 19.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.674e-05/0.5429, allocations: 134.8 kB / 0.5996 GB, free: 19.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002024/0.5449, allocations: 0.9099 MB / 0.6005 GB, free: 18.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00354/0.5485, allocations: 1.376 MB / 0.6018 GB, free: 17.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004951/0.5534, allocations: 5.183 MB / 0.6069 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003646/0.5571, allocations: 323.6 kB / 0.6072 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000385/0.5575, allocations: 372 kB / 0.6075 GB, free: 11.2 MB / 414.1 MB 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.002804/0.5603, allocations: 2.084 MB / 0.6096 GB, free: 9.105 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005997/0.5609, allocations: 351.4 kB / 0.6099 GB, free: 8.758 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00475/0.5657, allocations: 3.164 MB / 0.613 GB, free: 5.566 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.806e-05/0.5657, allocations: 16 kB / 0.613 GB, free: 5.551 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.5657, allocations: 4 kB / 0.613 GB, free: 5.547 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.5657, allocations: 11.97 kB / 0.613 GB, free: 5.535 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0125/0.5782, allocations: 7.94 MB / 0.6208 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.591e-05/0.5783, allocations: 0 / 0.6208 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001503/0.5798, allocations: 299.5 kB / 0.6211 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002092/0.5819, allocations: 0.7144 MB / 0.6218 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001535/0.5821, allocations: 43.92 kB / 0.6218 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005744/0.5878, allocations: 4.765 MB / 0.6265 GB, free: 7.625 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.5878, allocations: 3.938 kB / 0.6265 GB, free: 7.621 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008199/0.5961, allocations: 5.731 MB / 0.6321 GB, free: 1.852 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001789/0.5979, allocations: 0.6253 MB / 0.6327 GB, free: 1.203 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004291/0.5983, allocations: 24 kB / 0.6327 GB, free: 1.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001276/0.5996, allocations: 86.83 kB / 0.6328 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002839/0.5999, allocations: 104.8 kB / 0.6329 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001343/0.6, allocations: 55.09 kB / 0.6329 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003512/0.6035, allocations: 2.558 MB / 0.6354 GB, free: 14.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.6036, allocations: 4 kB / 0.6354 GB, free: 14.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004362/0.6079, allocations: 0.9584 MB / 0.6364 GB, free: 13.42 MB / 446.1 MB 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.0004164/0.6084, allocations: 153.5 kB / 0.6365 GB, free: 13.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00769/0.6161, allocations: 5.031 MB / 0.6414 GB, free: 8.254 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.024e-06/0.6161, allocations: 0 / 0.6414 GB, free: 8.254 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002101/0.6182, allocations: 1.55 MB / 0.6429 GB, free: 6.691 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002481/0.6207, allocations: 446.6 kB / 0.6434 GB, free: 6.277 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0141/0.6348, allocations: 8.98 MB / 0.6521 GB, free: 13.27 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003326/0.6382, allocations: 3.242 MB / 0.6553 GB, free: 10.01 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004106/0.6423, allocations: 1.892 MB / 0.6572 GB, free: 8.117 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007183/0.643, allocations: 267.3 kB / 0.6574 GB, free: 7.855 MB / 462.1 MB Notification: Performance of SimCode: time 8.41e-07/0.643, allocations: 0 / 0.6574 GB, free: 7.855 MB / 462.1 MB Notification: Performance of Templates: time 0.06515/0.7082, allocations: 32.04 MB / 0.6887 GB, free: 7.992 MB / 494.1 MB 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 -s gbode -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