Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001392/0.001392, allocations: 79.59 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.001896/0.001896, allocations: 161 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.9571/0.9571, allocations: 177.1 MB / 205 MB, free: 5.625 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.3089/0.3089, allocations: 34.26 MB / 295.7 MB, free: 0.6953 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_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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 378 MB, free: 2.625 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.708e-05/3.901e-05, allocations: 4.141 kB / 378 MB, free: 2.621 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01578/0.01581, allocations: 12.67 MB / 390.7 MB, free: 5.891 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01147/0.02729, allocations: 4.224 MB / 394.9 MB, free: 1.652 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002702/0.02999, allocations: 99.5 kB / 395 MB, free: 1.555 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005319/0.03531, allocations: 3.987 MB / 399 MB, free: 13.55 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005071/0.04038, allocations: 2.103 MB / 401.1 MB, free: 11.44 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001877/0.04226, allocations: 0.8926 MB / 402 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005703/0.04796, allocations: 4.644 MB / 406.7 MB, free: 5.895 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004522/0.05248, allocations: 4.066 MB / 410.7 MB, free: 1.754 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004548/0.05703, allocations: 2.81 MB / 413.5 MB, free: 14.94 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003823/0.06085, allocations: 2.615 MB / 416.2 MB, free: 12.32 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0012/0.06205, allocations: 420 kB / 416.6 MB, free: 11.91 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002246/0.0643, allocations: 1.092 MB / 417.7 MB, free: 10.81 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001877/0.06618, allocations: 2.361 MB / 420 MB, free: 8.445 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001911/0.06809, allocations: 1.538 MB / 421.6 MB, free: 6.902 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005753/0.07384, allocations: 5.138 MB / 426.7 MB, free: 1.746 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.07385, allocations: 0 / 426.7 MB, free: 1.746 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.07385, allocations: 0 / 426.7 MB, free: 1.746 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001893/0.07404, allocations: 4 kB / 426.7 MB, free: 1.742 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: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.0119/0.08593, allocations: 6.812 MB / 433.5 MB, free: 10.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.08598, allocations: 8.031 kB / 433.5 MB, free: 10.85 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004646/0.09062, allocations: 2.51 MB / 436 MB, free: 8.336 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004137/0.09476, allocations: 2.443 MB / 438.5 MB, free: 5.852 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001934/0.09496, allocations: 293.8 kB / 438.8 MB, free: 5.566 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000613/0.09557, allocations: 391.8 kB / 439.1 MB, free: 5.184 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1661/0.2617, allocations: 7.269 MB / 446.4 MB, free: 88.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001702/0.2618, allocations: 50.83 kB / 446.5 MB, free: 88.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004758/0.2623, allocations: 185.5 kB / 446.6 MB, free: 88.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002935/0.2652, allocations: 2.184 MB / 448.8 MB, free: 88.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01253/0.2778, allocations: 4.276 MB / 453.1 MB, free: 88.03 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03403/0.3118, allocations: 47.24 MB / 0.4886 GB, free: 52.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008548/0.3204, allocations: 2.82 MB / 0.4914 GB, free: 51.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001642/0.322, allocations: 0.9543 MB / 0.4923 GB, free: 51.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004607/0.3225, allocations: 246 kB / 0.4925 GB, free: 51.44 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.3225, allocations: 62.83 kB / 0.4926 GB, free: 51.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=203): time 4.689e-06/0.3225, allocations: 0 / 0.4926 GB, free: 51.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=234): time 0.03836/0.3609, allocations: 17.34 MB / 0.5095 GB, free: 45.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.3609, allocations: 154.5 kB / 0.5097 GB, free: 45.69 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003245/0.3642, allocations: 3.603 MB / 0.5132 GB, free: 42.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000315/0.3645, allocations: 61.7 kB / 0.5133 GB, free: 42.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001325/0.3658, allocations: 3.687 MB / 0.5169 GB, free: 39.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007545/0.3665, allocations: 0.9548 MB / 0.5178 GB, free: 38.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001394/0.3679, allocations: 1.537 MB / 0.5193 GB, free: 37.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.052e-05/0.368, allocations: 484.7 kB / 0.5198 GB, free: 36.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001492/0.3695, allocations: 0.9184 MB / 0.5207 GB, free: 35.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002889/0.3724, allocations: 6.557 MB / 0.5271 GB, free: 26.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005665/0.378, allocations: 8.302 MB / 0.5352 GB, free: 15.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.469e-05/0.3781, allocations: 36 kB / 0.5352 GB, free: 15.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.00958/0.3877, allocations: 6.63 MB / 0.5417 GB, free: 9.191 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.672e-05/0.3877, allocations: 64 kB / 0.5417 GB, free: 9.129 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.856e-05/0.3878, allocations: 132 kB / 0.5419 GB, free: 9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001361/0.3892, allocations: 0.6708 MB / 0.5425 GB, free: 8.324 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00344/0.3926, allocations: 1.719 MB / 0.5442 GB, free: 6.602 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003205/0.3959, allocations: 3.342 MB / 0.5475 GB, free: 3.148 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003871/0.3997, allocations: 434 kB / 0.5479 GB, free: 2.727 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006393/0.4004, allocations: 455.8 kB / 0.5483 GB, free: 2.281 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 610 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 (816): * Single equations (assignments): 812 * 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.001627/0.402, allocations: 0.7049 MB / 0.549 GB, free: 1.566 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006985/0.4027, allocations: 437.5 kB / 0.5494 GB, free: 1.137 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004036/0.4067, allocations: 2.803 MB / 0.5522 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.581e-05/0.4067, allocations: 26.5 kB / 0.5522 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/0.4068, allocations: 4 kB / 0.5522 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/0.4068, allocations: 11.95 kB / 0.5522 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01177/0.4185, allocations: 7.377 MB / 0.5594 GB, free: 6.867 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.358e-05/0.4186, allocations: 4 kB / 0.5594 GB, free: 6.863 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001554/0.4201, allocations: 0.5776 MB / 0.56 GB, free: 6.285 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001241/0.4214, allocations: 0.4997 MB / 0.5605 GB, free: 5.781 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002079/0.4216, allocations: 99.89 kB / 0.5605 GB, free: 5.684 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003019/0.4246, allocations: 3.092 MB / 0.5636 GB, free: 2.484 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.4246, allocations: 4.047 kB / 0.5636 GB, free: 2.48 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00613/0.4307, allocations: 4.064 MB / 0.5675 GB, free: 14.35 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00151/0.4322, allocations: 0.7511 MB / 0.5683 GB, free: 13.59 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004005/0.4326, allocations: 51.94 kB / 0.5683 GB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/0.4339, allocations: 203.7 kB / 0.5685 GB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003488/0.4342, allocations: 197.6 kB / 0.5687 GB, free: 13.15 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001916/0.4344, allocations: 121.2 kB / 0.5688 GB, free: 13.03 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002209/0.4366, allocations: 1.562 MB / 0.5703 GB, free: 11.49 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4366, allocations: 0 / 0.5703 GB, free: 11.49 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004786/0.4414, allocations: 1.243 MB / 0.5716 GB, free: 10.25 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 (206): * Single equations (assignments): 202 * 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.0005358/0.4419, allocations: 199.8 kB / 0.5717 GB, free: 10.04 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006522/0.4485, allocations: 3.878 MB / 0.5755 GB, free: 6.168 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.4485, allocations: 3.938 kB / 0.5755 GB, free: 6.164 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00199/0.4504, allocations: 1.319 MB / 0.5768 GB, free: 4.824 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002339/0.4528, allocations: 499.7 kB / 0.5773 GB, free: 4.348 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01454/0.4673, allocations: 9.25 MB / 0.5863 GB, free: 10.98 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001529/0.4689, allocations: 1.413 MB / 0.5877 GB, free: 9.543 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003299/0.4722, allocations: 1.857 MB / 0.5895 GB, free: 7.68 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001123/0.4733, allocations: 452.1 kB / 0.59 GB, free: 7.238 MB / 458.7 MB Notification: Performance of SimCode: time 2.425e-06/0.4733, allocations: 0 / 0.59 GB, free: 7.238 MB / 458.7 MB Notification: Performance of Templates: time 0.2131/0.6864, allocations: 49.67 MB / 0.6385 GB, free: 135.9 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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: 5.060933781322092]