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.001445/0.001445, allocations: 91.22 kB / 20.43 MB, free: 4.145 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.001507/0.001507, allocations: 165 kB / 23.8 MB, free: 0.7773 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 0.8859/0.8859, allocations: 158.6 MB / 185.7 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 179] 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.1351/0.1351, allocations: 32.37 MB / 270.4 MB, free: 14.7 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.743e-06/1.743e-06, allocations: 0 / 347.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.514e-05, allocations: 6.25 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01275/0.01278, allocations: 13.43 MB / 361.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009336/0.02212, allocations: 4.319 MB / 365.4 MB, free: 7.625 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001889/0.02401, allocations: 95.56 kB / 365.5 MB, free: 7.531 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005513/0.02952, allocations: 4.014 MB / 369.5 MB, free: 3.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004789/0.03431, allocations: 2.251 MB / 371.8 MB, free: 1.238 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00168/0.03599, allocations: 0.8926 MB / 372.7 MB, free: 352 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005921/0.04191, allocations: 4.799 MB / 377.5 MB, free: 11.54 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005093/0.047, allocations: 4.18 MB / 381.7 MB, free: 7.285 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005234/0.05223, allocations: 2.951 MB / 384.6 MB, free: 4.328 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004946/0.05718, allocations: 2.759 MB / 387.4 MB, free: 1.562 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001343/0.05852, allocations: 448 kB / 387.8 MB, free: 1.125 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002679/0.0612, allocations: 1.12 MB / 388.9 MB, free: 4 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003298/0.0645, allocations: 2.509 MB / 391.4 MB, free: 13.49 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003492/0.06799, allocations: 1.636 MB / 393.1 MB, free: 11.85 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01018/0.07817, allocations: 5.476 MB / 398.5 MB, free: 6.352 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.07818, allocations: 0 / 398.5 MB, free: 6.352 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.07818, allocations: 0 / 398.5 MB, free: 6.352 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004393/0.07862, allocations: 0 / 398.5 MB, free: 6.352 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.01637/0.09499, allocations: 7.082 MB / 405.6 MB, free: 15.2 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.09503, allocations: 12.03 kB / 405.6 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006397/0.1014, allocations: 2.572 MB / 408.2 MB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004587/0.106, allocations: 2.532 MB / 410.7 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000224/0.1062, allocations: 311.9 kB / 411 MB, free: 9.719 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007312/0.107, allocations: 415.7 kB / 411.4 MB, free: 9.312 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01446/0.1214, allocations: 7.573 MB / 419 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001394/0.1216, allocations: 47.64 kB / 419.1 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004971/0.1221, allocations: 191.8 kB / 419.3 MB, free: 0.5 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003308/0.1254, allocations: 2.367 MB / 421.6 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01344/0.1388, allocations: 4.476 MB / 426.1 MB, free: 9.637 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1885/0.3273, allocations: 49.1 MB / 475.2 MB, free: 58.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008826/0.3362, allocations: 2.926 MB / 478.1 MB, free: 58.51 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001672/0.3378, allocations: 1.007 MB / 479.1 MB, free: 58.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005942/0.3384, allocations: 253.6 kB / 479.4 MB, free: 58.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.608e-05/0.3385, allocations: 59.08 kB / 479.4 MB, free: 58.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=224): time 5.791e-06/0.3385, allocations: 0 / 479.4 MB, free: 58.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=255): time 0.04845/0.3869, allocations: 18.01 MB / 497.4 MB, free: 51.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.387, allocations: 154.5 kB / 497.6 MB, free: 50.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003859/0.3908, allocations: 3.705 MB / 0.4895 GB, free: 48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003833/0.3912, allocations: 72.75 kB / 0.4896 GB, free: 47.92 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001551/0.3928, allocations: 3.847 MB / 0.4934 GB, free: 44.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008154/0.3936, allocations: 1.025 MB / 0.4944 GB, free: 43.42 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001586/0.3952, allocations: 1.603 MB / 0.4959 GB, free: 41.81 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.62e-05/0.3952, allocations: 480.7 kB / 0.4964 GB, free: 41.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001843/0.3971, allocations: 0.9776 MB / 0.4974 GB, free: 40.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003405/0.4005, allocations: 6.809 MB / 0.504 GB, free: 30.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005532/0.406, allocations: 8.646 MB / 0.5124 GB, free: 20.08 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-05/0.4061, allocations: 40 kB / 0.5125 GB, free: 20.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.008907/0.415, allocations: 6.904 MB / 0.5192 GB, free: 13.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.845e-05/0.415, allocations: 64 kB / 0.5193 GB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.42e-05/0.4151, allocations: 136 kB / 0.5194 GB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001403/0.4165, allocations: 0.6811 MB / 0.5201 GB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003573/0.4201, allocations: 1.812 MB / 0.5219 GB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003137/0.4232, allocations: 3.352 MB / 0.5251 GB, free: 6.977 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003948/0.4272, allocations: 455.6 kB / 0.5256 GB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008378/0.428, allocations: 471.8 kB / 0.526 GB, free: 6.07 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 630 * 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.001966/0.43, allocations: 0.7193 MB / 0.5267 GB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008249/0.4308, allocations: 464.1 kB / 0.5272 GB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004295/0.4351, allocations: 2.984 MB / 0.5301 GB, free: 1.883 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.853e-05/0.4352, allocations: 28 kB / 0.5301 GB, free: 1.855 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/0.4352, allocations: 4 kB / 0.5301 GB, free: 1.852 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-05/0.4352, allocations: 7.969 kB / 0.5301 GB, free: 1.844 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01334/0.4485, allocations: 7.83 MB / 0.5378 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.791e-05/0.4485, allocations: 0 / 0.5378 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001739/0.4503, allocations: 0.624 MB / 0.5384 GB, free: 9.375 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001297/0.4516, allocations: 0.5058 MB / 0.5389 GB, free: 8.867 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002483/0.4518, allocations: 103.9 kB / 0.539 GB, free: 8.766 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00339/0.4552, allocations: 3.096 MB / 0.542 GB, free: 5.562 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.4552, allocations: 4 kB / 0.542 GB, free: 5.559 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006862/0.4621, allocations: 4.289 MB / 0.5462 GB, free: 1.156 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003363/0.4654, allocations: 0.8079 MB / 0.547 GB, free: 356 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005428/0.466, allocations: 51.94 kB / 0.547 GB, free: 304 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001626/0.4676, allocations: 223.7 kB / 0.5472 GB, free: 80 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004008/0.468, allocations: 209.5 kB / 0.5474 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002003/0.4682, allocations: 127.9 kB / 0.5475 GB, free: 15.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002388/0.4706, allocations: 1.596 MB / 0.5491 GB, free: 14.17 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4706, allocations: 4 kB / 0.5491 GB, free: 14.17 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005208/0.4758, allocations: 1.332 MB / 0.5504 GB, free: 12.84 MB / 410.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.0006468/0.4765, allocations: 209.8 kB / 0.5506 GB, free: 12.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006664/0.4831, allocations: 4.075 MB / 0.5546 GB, free: 8.551 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.4831, allocations: 4 kB / 0.5546 GB, free: 8.547 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002074/0.4852, allocations: 1.403 MB / 0.556 GB, free: 7.121 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002468/0.4877, allocations: 0.4994 MB / 0.5565 GB, free: 6.648 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0144/0.5021, allocations: 9.793 MB / 0.566 GB, free: 12.75 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001919/0.504, allocations: 1.499 MB / 0.5675 GB, free: 11.22 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004673/0.5087, allocations: 1.929 MB / 0.5694 GB, free: 9.293 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00167/0.5103, allocations: 464.1 kB / 0.5698 GB, free: 8.84 MB / 426.7 MB Notification: Performance of SimCode: time 3.267e-06/0.5103, allocations: 0 / 0.5698 GB, free: 8.84 MB / 426.7 MB Notification: Performance of Templates: time 0.2258/0.7361, allocations: 51.45 MB / 0.62 GB, free: 160 MB / 458.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.883424133062363]