Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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.001466/0.001466, allocations: 83.58 kB / 21.18 MB, free: 3.383 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.001887/0.001887, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9858/0.9858, allocations: 177.1 MB / 205 MB, free: 5.227 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.303/0.303, allocations: 34.26 MB / 295.7 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 378 MB, free: 2.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.183e-05/2.343e-05, allocations: 5.125 kB / 378 MB, free: 2.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.008413/0.008436, allocations: 10.75 MB / 388.8 MB, free: 7.84 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005717/0.01415, allocations: 3.769 MB / 392.6 MB, free: 4.059 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001017/0.01517, allocations: 75.69 kB / 392.6 MB, free: 3.984 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00296/0.01813, allocations: 2.874 MB / 395.5 MB, free: 1.102 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002743/0.02087, allocations: 1.874 MB / 397.4 MB, free: 15.22 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009756/0.02185, allocations: 0.764 MB / 398.1 MB, free: 14.45 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00327/0.02512, allocations: 3.979 MB / 402.1 MB, free: 10.46 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002879/0.028, allocations: 3.163 MB / 405.3 MB, free: 7.238 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002414/0.03041, allocations: 2.308 MB / 407.6 MB, free: 4.926 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00222/0.03263, allocations: 2.112 MB / 409.7 MB, free: 2.809 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007571/0.03339, allocations: 324 kB / 410 MB, free: 2.492 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001357/0.03474, allocations: 0.9945 MB / 411 MB, free: 1.496 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00123/0.03597, allocations: 1.928 MB / 412.9 MB, free: 15.56 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001261/0.03724, allocations: 1.207 MB / 414.2 MB, free: 14.35 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004174/0.04141, allocations: 4.262 MB / 418.4 MB, free: 10.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.04141, allocations: 0 / 418.4 MB, free: 10.07 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.04142, allocations: 0 / 418.4 MB, free: 10.07 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001278/0.04154, allocations: 0 / 418.4 MB, free: 10.07 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.006433/0.04798, allocations: 5.421 MB / 423.8 MB, free: 4.594 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.04802, allocations: 8.031 kB / 423.8 MB, free: 4.586 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004173/0.05219, allocations: 2.319 MB / 426.2 MB, free: 2.262 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002348/0.05454, allocations: 1.997 MB / 428.2 MB, free: 216 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/0.05466, allocations: 229.9 kB / 428.4 MB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003185/0.05498, allocations: 295.8 kB / 428.7 MB, free: 15.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006637/0.06162, allocations: 5.56 MB / 434.2 MB, free: 9.246 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.339e-05/0.06169, allocations: 35.7 kB / 434.3 MB, free: 9.211 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002443/0.06194, allocations: 143.9 kB / 434.4 MB, free: 9.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001406/0.06334, allocations: 1.689 MB / 436.1 MB, free: 7.375 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005573/0.06891, allocations: 2.745 MB / 438.8 MB, free: 4.602 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1735/0.2424, allocations: 39.97 MB / 478.8 MB, free: 57.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002608/0.245, allocations: 1.205 MB / 480 MB, free: 57.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004571/0.2455, allocations: 366.9 kB / 480.4 MB, free: 57.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00337/0.2489, allocations: 3.087 MB / 483.5 MB, free: 56.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.2489, allocations: 47.17 kB / 483.5 MB, free: 56.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 3.506e-06/0.2489, allocations: 3.438 kB / 483.5 MB, free: 56.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=97): time 0.007343/0.2562, allocations: 5.518 MB / 489 MB, free: 53.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.2563, allocations: 141.6 kB / 489.2 MB, free: 53.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003018/0.2593, allocations: 3.467 MB / 492.6 MB, free: 52.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.764e-05/0.2593, allocations: 36.95 kB / 492.7 MB, free: 52.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001304/0.2606, allocations: 3.366 MB / 496 MB, free: 49.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002982/0.2609, allocations: 461.7 kB / 496.5 MB, free: 49.28 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008056/0.2617, allocations: 1.198 MB / 497.7 MB, free: 48.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.703e-05/0.2618, allocations: 486.8 kB / 498.2 MB, free: 48.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000674/0.2625, allocations: 0.4904 MB / 498.7 MB, free: 48.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002096/0.2646, allocations: 6.002 MB / 0.4928 GB, free: 40.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003649/0.2682, allocations: 7.168 MB / 0.4998 GB, free: 32.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.821e-05/0.2683, allocations: 38.41 kB / 0.4999 GB, free: 32.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=711) (initialization): time 0.00642/0.2747, allocations: 4.708 MB / 0.5045 GB, free: 30.65 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.026e-05/0.2748, allocations: 61.62 kB / 0.5045 GB, free: 30.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000133/0.2749, allocations: 132.9 kB / 0.5046 GB, free: 30.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004183/0.2753, allocations: 217.5 kB / 0.5049 GB, free: 30.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002269/0.2776, allocations: 1.266 MB / 0.5061 GB, free: 30.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001014/0.2786, allocations: 2.077 MB / 0.5081 GB, free: 28.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002315/0.2809, allocations: 323.3 kB / 0.5084 GB, free: 28.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003714/0.2813, allocations: 351.9 kB / 0.5088 GB, free: 28.48 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 606 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 (685): * Single equations (assignments): 681 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001133/0.2824, allocations: 0.6223 MB / 0.5094 GB, free: 27.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004352/0.2829, allocations: 336 kB / 0.5097 GB, free: 27.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007853/0.2836, allocations: 0.5715 MB / 0.5103 GB, free: 27.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/0.2837, allocations: 12.38 kB / 0.5103 GB, free: 27.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.2837, allocations: 1.375 kB / 0.5103 GB, free: 27.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.2837, allocations: 8.703 kB / 0.5103 GB, free: 27.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005307/0.289, allocations: 3.45 MB / 0.5136 GB, free: 25.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/0.289, allocations: 3.031 kB / 0.5136 GB, free: 25.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004786/0.2895, allocations: 166.2 kB / 0.5138 GB, free: 25.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002024/0.2897, allocations: 52.69 kB / 0.5139 GB, free: 25.92 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.88e-05/0.2897, allocations: 16.81 kB / 0.5139 GB, free: 25.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008932/0.2906, allocations: 1.823 MB / 0.5156 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.2906, allocations: 3.812 kB / 0.5157 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/0.2922, allocations: 1.554 MB / 0.5172 GB, free: 23.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005185/0.2927, allocations: 285.9 kB / 0.5174 GB, free: 22.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002142/0.2929, allocations: 19.88 kB / 0.5175 GB, free: 22.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004832/0.2934, allocations: 71.39 kB / 0.5175 GB, free: 22.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.2935, allocations: 67.86 kB / 0.5176 GB, free: 22.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.324e-05/0.2936, allocations: 26.72 kB / 0.5176 GB, free: 22.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001436/0.295, allocations: 1.47 MB / 0.5191 GB, free: 22.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.295, allocations: 0 / 0.5191 GB, free: 22.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003428/0.2984, allocations: 0.8351 MB / 0.5199 GB, free: 22.29 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (74): * Single equations (assignments): 70 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003657/0.2988, allocations: 153.2 kB / 0.52 GB, free: 22.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003519/0.3023, allocations: 2.448 MB / 0.5224 GB, free: 21.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.3023, allocations: 0 / 0.5224 GB, free: 21.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004134/0.3027, allocations: 457.6 kB / 0.5228 GB, free: 20.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001405/0.3042, allocations: 357.5 kB / 0.5232 GB, free: 20.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008441/0.3126, allocations: 6.517 MB / 0.5296 GB, free: 15.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001159/0.3138, allocations: 1.12 MB / 0.5306 GB, free: 14.99 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002548/0.3163, allocations: 1.481 MB / 0.5321 GB, free: 14.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004029/0.3167, allocations: 199.7 kB / 0.5323 GB, free: 13.97 MB / 410.7 MB Notification: Performance of SimCode: time 2.515e-06/0.3167, allocations: 0 / 0.5323 GB, free: 13.97 MB / 410.7 MB Notification: Performance of Templates: time 0.03661/0.3533, allocations: 20.85 MB / 0.5526 GB, free: 12.85 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.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.012309803627431]