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.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.001474/0.001474, allocations: 96.2 kB / 20.21 MB, free: 4.191 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.001591/0.001591, allocations: 157.3 kB / 23.51 MB, free: 0.8906 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.479/1.479, allocations: 158.6 MB / 185.3 MB, free: 2.883 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.2258/0.2258, 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_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 3.938 kB / 346.9 MB, free: 9.805 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.897e-05/3.113e-05, allocations: 2.312 kB / 346.9 MB, free: 9.801 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.009792/0.009824, allocations: 10.37 MB / 357.3 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01011/0.01994, allocations: 3.747 MB / 361.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001956/0.02189, allocations: 75.69 kB / 361.1 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006666/0.02856, allocations: 2.823 MB / 364 MB, free: 8.719 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006724/0.03528, allocations: 2.006 MB / 366 MB, free: 6.703 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002408/0.03769, allocations: 0.7562 MB / 366.7 MB, free: 5.945 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.007132/0.04482, allocations: 4.122 MB / 370.8 MB, free: 1.812 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005831/0.05065, allocations: 3.261 MB / 374.1 MB, free: 14.49 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005314/0.05597, allocations: 2.358 MB / 376.5 MB, free: 12.12 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004295/0.06026, allocations: 2.244 MB / 378.7 MB, free: 9.875 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00105/0.06131, allocations: 356 kB / 379.1 MB, free: 9.527 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002668/0.06398, allocations: 1.049 MB / 380.1 MB, free: 8.477 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002855/0.06684, allocations: 2.069 MB / 382.2 MB, free: 6.402 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002338/0.06918, allocations: 1.308 MB / 383.5 MB, free: 5.09 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01153/0.08071, allocations: 7.27 MB / 390.7 MB, free: 13.79 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.08072, allocations: 0 / 390.7 MB, free: 13.79 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.641e-06/0.08072, allocations: 3.984 kB / 390.8 MB, free: 13.79 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002729/0.08099, allocations: 0 / 390.8 MB, free: 13.79 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.02167/0.1027, allocations: 5.547 MB / 396.3 MB, free: 8.184 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.1027, allocations: 8.031 kB / 396.3 MB, free: 8.176 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008559/0.1113, allocations: 2.463 MB / 398.8 MB, free: 5.707 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005736/0.117, allocations: 2.345 MB / 401.1 MB, free: 3.312 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002543/0.1173, allocations: 238.2 kB / 401.3 MB, free: 3.078 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001128/0.1184, allocations: 323.8 kB / 401.7 MB, free: 2.762 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02459/0.143, allocations: 10.83 MB / 412.5 MB, free: 7.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001581/0.1431, allocations: 39.64 kB / 412.5 MB, free: 7.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008379/0.144, allocations: 155.8 kB / 412.7 MB, free: 7.078 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004036/0.148, allocations: 1.99 MB / 414.7 MB, free: 5.082 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02441/0.1724, allocations: 9.681 MB / 424.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2361/0.4085, allocations: 36.44 MB / 460.8 MB, free: 80.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01345/0.422, allocations: 3.561 MB / 464.4 MB, free: 80.48 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002274/0.4243, allocations: 1.752 MB / 466.1 MB, free: 80.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007673/0.425, allocations: 240.6 kB / 466.3 MB, free: 80.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.853e-05/0.4251, allocations: 51.19 kB / 466.4 MB, free: 80.13 MB / 378.7 MB Notification: Performance of pre-optimization done (n=151): time 5.881e-06/0.4251, allocations: 0 / 466.4 MB, free: 80.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=157): time 0.04465/0.4697, allocations: 14.67 MB / 481.1 MB, free: 73.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/0.4698, allocations: 141.5 kB / 481.2 MB, free: 73.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004384/0.4742, allocations: 3.859 MB / 485.1 MB, free: 69.26 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004023/0.4746, allocations: 45.7 kB / 485.1 MB, free: 69.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00131/0.4759, allocations: 3.245 MB / 488.4 MB, free: 65.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005877/0.4765, allocations: 0.6382 MB / 489 MB, free: 65.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001256/0.4777, allocations: 1.191 MB / 490.2 MB, free: 64.15 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.862e-05/0.4778, allocations: 309.1 kB / 490.5 MB, free: 63.85 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002441/0.4802, allocations: 2.112 MB / 492.6 MB, free: 61.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003955/0.4842, allocations: 5.808 MB / 498.4 MB, free: 54.13 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007496/0.4917, allocations: 8.571 MB / 0.4951 GB, free: 43.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001229/0.4918, allocations: 44 kB / 0.4951 GB, free: 43.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=761) (initialization): time 0.01396/0.5058, allocations: 8.704 MB / 0.5036 GB, free: 35.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.473e-05/0.5058, allocations: 60 kB / 0.5037 GB, free: 35.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001198/0.506, allocations: 132 kB / 0.5038 GB, free: 34.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002364/0.5083, allocations: 0.9336 MB / 0.5047 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004335/0.5127, allocations: 1.38 MB / 0.5061 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005857/0.5185, allocations: 5.039 MB / 0.511 GB, free: 27.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005241/0.5238, allocations: 363 kB / 0.5113 GB, free: 27.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001113/0.5249, allocations: 380 kB / 0.5117 GB, free: 26.78 MB / 378.7 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.004875/0.5297, allocations: 2.087 MB / 0.5137 GB, free: 24.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001352/0.5311, allocations: 365.1 kB / 0.5141 GB, free: 24.33 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006047/0.5371, allocations: 3.112 MB / 0.5171 GB, free: 21.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-05/0.5372, allocations: 19.98 kB / 0.5171 GB, free: 21.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.588e-05/0.5372, allocations: 8 kB / 0.5172 GB, free: 21.17 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.929e-05/0.5372, allocations: 3.984 kB / 0.5172 GB, free: 21.17 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01428/0.5515, allocations: 6.877 MB / 0.5239 GB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.51e-05/0.5515, allocations: 4 kB / 0.5239 GB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001408/0.5529, allocations: 315.6 kB / 0.5242 GB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00206/0.555, allocations: 0.7338 MB / 0.5249 GB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001521/0.5551, allocations: 43.97 kB / 0.5249 GB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004909/0.56, allocations: 4.633 MB / 0.5295 GB, free: 8.438 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5601, allocations: 0 / 0.5295 GB, free: 8.438 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007386/0.5674, allocations: 5.725 MB / 0.5351 GB, free: 2.676 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001592/0.569, allocations: 0.5483 MB / 0.5356 GB, free: 2.125 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005685/0.5696, allocations: 27.62 kB / 0.5356 GB, free: 2.102 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001629/0.5712, allocations: 127.8 kB / 0.5357 GB, free: 1.977 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000323/0.5715, allocations: 112.8 kB / 0.5358 GB, free: 1.867 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/0.5717, allocations: 59.41 kB / 0.5359 GB, free: 1.812 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003114/0.5748, allocations: 2.247 MB / 0.5381 GB, free: 15.57 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5748, allocations: 0 / 0.5381 GB, free: 15.57 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005809/0.5806, allocations: 1.035 MB / 0.5391 GB, free: 14.54 MB / 394.7 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.0005763/0.5812, allocations: 182.4 kB / 0.5393 GB, free: 14.36 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009365/0.5905, allocations: 4.857 MB / 0.544 GB, free: 9.52 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.5906, allocations: 0.9375 kB / 0.544 GB, free: 9.52 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002631/0.5932, allocations: 1.445 MB / 0.5454 GB, free: 8.062 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002751/0.5959, allocations: 402.9 kB / 0.5458 GB, free: 7.684 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01872/0.6146, allocations: 9.23 MB / 0.5548 GB, free: 14.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005059/0.6197, allocations: 2.704 MB / 0.5575 GB, free: 11.65 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.005127/0.6248, allocations: 1.836 MB / 0.5593 GB, free: 9.809 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009327/0.6258, allocations: 272.4 kB / 0.5595 GB, free: 9.543 MB / 410.7 MB Notification: Performance of SimCode: time 1.473e-06/0.6258, allocations: 0 / 0.5595 GB, free: 9.543 MB / 410.7 MB Notification: Performance of Templates: time 0.07701/0.7028, allocations: 31.31 MB / 0.5901 GB, free: 10.33 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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: 6.832956061000004]