Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 88.23 kB / 20.2 MB, free: 4.227 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00209/0.00209, allocations: 157.7 kB / 23.51 MB, free: 0.9219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 158.6 MB / 185.3 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2374/0.2374, allocations: 32.37 MB / 270 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 346.9 MB, free: 9.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.166e-05/2.305e-05, allocations: 2.312 kB / 346.9 MB, free: 9.797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01144/0.01147, allocations: 12.06 MB / 359 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01232/0.02378, allocations: 4.21 MB / 363.2 MB, free: 9.457 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003509/0.02729, allocations: 95.56 kB / 363.3 MB, free: 9.363 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009059/0.03635, allocations: 3.886 MB / 367.2 MB, free: 5.465 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007233/0.04358, allocations: 2.255 MB / 369.5 MB, free: 3.199 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002923/0.04651, allocations: 0.8809 MB / 370.3 MB, free: 2.312 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.008713/0.05522, allocations: 4.799 MB / 375.1 MB, free: 13.5 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00757/0.06279, allocations: 4.16 MB / 379.3 MB, free: 9.27 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007474/0.07027, allocations: 2.931 MB / 382.2 MB, free: 6.336 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005376/0.07564, allocations: 2.657 MB / 384.9 MB, free: 3.672 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001565/0.07721, allocations: 444 kB / 385.3 MB, free: 3.238 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003772/0.08098, allocations: 1.127 MB / 386.4 MB, free: 2.109 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00411/0.08509, allocations: 2.505 MB / 388.9 MB, free: 15.6 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004004/0.08909, allocations: 1.628 MB / 390.6 MB, free: 13.96 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01507/0.1042, allocations: 8.683 MB / 399.3 MB, free: 5.254 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.106e-05/0.1042, allocations: 3.984 kB / 399.3 MB, free: 5.25 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.855e-06/0.1042, allocations: 4 kB / 399.3 MB, free: 5.246 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005078/0.1047, allocations: 0 / 399.3 MB, free: 5.246 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.02709/0.1318, allocations: 6.673 MB / 405.9 MB, free: 14.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.1318, allocations: 12.03 kB / 405.9 MB, free: 14.49 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01086/0.1427, allocations: 2.634 MB / 408.6 MB, free: 11.85 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008358/0.1511, allocations: 2.772 MB / 411.4 MB, free: 9.031 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005061/0.1516, allocations: 314.3 kB / 411.7 MB, free: 8.723 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002254/0.1538, allocations: 411.8 kB / 412.1 MB, free: 8.32 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03536/0.1892, allocations: 12.99 MB / 425.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003206/0.1895, allocations: 51.58 kB / 425.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002001/0.1915, allocations: 191.8 kB / 425.3 MB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005612/0.1971, allocations: 2.382 MB / 427.7 MB, free: 7.961 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03023/0.2273, allocations: 11.84 MB / 439.5 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2521/0.4795, allocations: 44.57 MB / 484.1 MB, free: 70.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01725/0.4967, allocations: 5.28 MB / 489.4 MB, free: 69.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003773/0.5005, allocations: 3.328 MB / 492.7 MB, free: 67.51 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007409/0.5012, allocations: 254.1 kB / 492.9 MB, free: 67.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.5013, allocations: 66.3 kB / 493 MB, free: 67.37 MB / 378.7 MB Notification: Performance of pre-optimization done (n=224): time 6.632e-06/0.5013, allocations: 3.281 kB / 493 MB, free: 67.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=255): time 0.07043/0.5717, allocations: 29.72 MB / 0.5105 GB, free: 37.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.5718, allocations: 162 kB / 0.5106 GB, free: 37.78 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004771/0.5766, allocations: 4.151 MB / 0.5147 GB, free: 33.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007967/0.5774, allocations: 65.7 kB / 0.5147 GB, free: 33.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001958/0.5793, allocations: 3.669 MB / 0.5183 GB, free: 30.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001684/0.581, allocations: 0.9869 MB / 0.5193 GB, free: 29.37 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002109/0.5831, allocations: 1.495 MB / 0.5208 GB, free: 27.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.691e-05/0.5832, allocations: 301.1 kB / 0.521 GB, free: 27.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003849/0.587, allocations: 3.468 MB / 0.5244 GB, free: 24.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005538/0.5925, allocations: 7.391 MB / 0.5316 GB, free: 14.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01099/0.6035, allocations: 11.68 MB / 0.5431 GB, free: 1.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.212e-05/0.6036, allocations: 40 kB / 0.5431 GB, free: 1.121 MB / 378.7 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.02551/0.6291, allocations: 12.15 MB / 0.555 GB, free: 4.961 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001066/0.6292, allocations: 64 kB / 0.555 GB, free: 4.898 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002347/0.6295, allocations: 140.2 kB / 0.5552 GB, free: 4.762 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0033/0.6328, allocations: 1.136 MB / 0.5563 GB, free: 3.621 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007469/0.6402, allocations: 1.813 MB / 0.558 GB, free: 1.805 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0103/0.6505, allocations: 6.194 MB / 0.5641 GB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006779/0.6573, allocations: 459.6 kB / 0.5645 GB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001391/0.6587, allocations: 467.8 kB / 0.565 GB, free: 10.61 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 627 * Number of states: 0 () * Number of discrete variables: 42 (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 (857): * Single equations (assignments): 853 * 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.005984/0.6647, allocations: 2.442 MB / 0.5674 GB, free: 8.164 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001508/0.6662, allocations: 461.5 kB / 0.5678 GB, free: 7.711 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01304/0.6792, allocations: 6.538 MB / 0.5742 GB, free: 1.152 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.526e-05/0.6793, allocations: 31.94 kB / 0.5742 GB, free: 1.121 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.716e-05/0.6793, allocations: 4 kB / 0.5742 GB, free: 1.117 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-05/0.6794, allocations: 15.89 kB / 0.5742 GB, free: 1.102 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02657/0.7059, allocations: 11.94 MB / 0.5859 GB, free: 5.141 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.493e-05/0.706, allocations: 4 kB / 0.5859 GB, free: 5.137 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004013/0.71, allocations: 0.6321 MB / 0.5865 GB, free: 4.504 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003709/0.7137, allocations: 0.9693 MB / 0.5875 GB, free: 3.531 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008314/0.7145, allocations: 103.9 kB / 0.5876 GB, free: 3.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0101/0.7246, allocations: 5.938 MB / 0.5934 GB, free: 13.4 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.309e-05/0.7246, allocations: 11.88 kB / 0.5934 GB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02156/0.7462, allocations: 11.14 MB / 0.6042 GB, free: 2.141 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002835/0.749, allocations: 0.8487 MB / 0.6051 GB, free: 1.289 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008889/0.7499, allocations: 50.19 kB / 0.6051 GB, free: 1.242 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002774/0.7527, allocations: 231.7 kB / 0.6053 GB, free: 1.016 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006666/0.7534, allocations: 221.5 kB / 0.6056 GB, free: 0.8008 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000333/0.7537, allocations: 119.9 kB / 0.6057 GB, free: 0.6836 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.1633/0.917, allocations: 2.415 MB / 0.608 GB, free: 150.6 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.917, allocations: 0 / 0.608 GB, free: 150.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006815/0.9238, allocations: 1.334 MB / 0.6093 GB, free: 150.6 MB / 442.7 MB 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 (228): * Single equations (assignments): 224 * 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.0007329/0.9246, allocations: 209.9 kB / 0.6095 GB, free: 150.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01191/0.9365, allocations: 7.895 MB / 0.6172 GB, free: 148.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.828e-06/0.9365, allocations: 0 / 0.6172 GB, free: 148.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004043/0.9405, allocations: 3.029 MB / 0.6202 GB, free: 147.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003283/0.9438, allocations: 0.4931 MB / 0.6207 GB, free: 147.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01925/0.9631, allocations: 12.97 MB / 0.6333 GB, free: 138.7 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00372/0.9668, allocations: 3.286 MB / 0.6366 GB, free: 136.2 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005081/0.9719, allocations: 2.289 MB / 0.6388 GB, free: 134.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001586/0.9735, allocations: 464.1 kB / 0.6392 GB, free: 134 MB / 442.7 MB Notification: Performance of SimCode: time 1.734e-06/0.9735, allocations: 3.828 kB / 0.6392 GB, free: 134 MB / 442.7 MB Notification: Performance of Templates: time 0.07701/1.05, allocations: 51.13 MB / 0.6892 GB, free: 82.9 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.9533985710004345]