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.001518/0.001518, allocations: 81.86 kB / 21.42 MB, free: 3.074 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.001226/0.001226, allocations: 170.6 kB / 24.82 MB, free: 8.77 MB / 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 1.005/1.005, allocations: 177.1 MB / 205.3 MB, free: 5.531 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.3559/0.3559, allocations: 34.27 MB / 296.1 MB, free: 0.7266 MB / 266.7 MB " [Timeout remaining time 179] 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 2.084e-06/2.084e-06, allocations: 0 / 378.5 MB, free: 2.418 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.517e-05/1.725e-05, allocations: 6.25 kB / 378.5 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.008692/0.00871, allocations: 10.46 MB / 389 MB, free: 7.906 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00609/0.0148, allocations: 3.746 MB / 392.7 MB, free: 4.148 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008834/0.01568, allocations: 71.69 kB / 392.8 MB, free: 4.078 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002897/0.01858, allocations: 2.827 MB / 395.6 MB, free: 1.242 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002797/0.02138, allocations: 1.878 MB / 397.5 MB, free: 15.36 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.02247, allocations: 0.7679 MB / 398.2 MB, free: 14.59 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003311/0.02578, allocations: 3.971 MB / 402.2 MB, free: 10.61 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002642/0.02842, allocations: 3.163 MB / 405.4 MB, free: 7.379 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002458/0.03088, allocations: 2.311 MB / 407.7 MB, free: 5.062 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001984/0.03286, allocations: 2.104 MB / 409.8 MB, free: 2.953 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00045/0.03331, allocations: 320 kB / 410.1 MB, free: 2.641 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001321/0.03463, allocations: 0.9945 MB / 411.1 MB, free: 1.645 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001145/0.03578, allocations: 1.932 MB / 413 MB, free: 15.71 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001037/0.03681, allocations: 1.203 MB / 414.2 MB, free: 14.5 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003511/0.04032, allocations: 4.262 MB / 418.5 MB, free: 10.22 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.04033, allocations: 0 / 418.5 MB, free: 10.22 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.04033, allocations: 0 / 418.5 MB, free: 10.22 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.684e-05/0.04039, allocations: 0 / 418.5 MB, free: 10.22 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.005538/0.04593, allocations: 5.275 MB / 423.8 MB, free: 4.887 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.04597, allocations: 12.03 kB / 423.8 MB, free: 4.875 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002847/0.04882, allocations: 1.411 MB / 425.2 MB, free: 3.461 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00185/0.05067, allocations: 1.813 MB / 427 MB, free: 1.594 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/0.0508, allocations: 237.9 kB / 427.2 MB, free: 1.359 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003571/0.05115, allocations: 303.8 kB / 427.5 MB, free: 1.062 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004991/0.05615, allocations: 5.075 MB / 432.6 MB, free: 11.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-05/0.05622, allocations: 35.64 kB / 432.7 MB, free: 11.06 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002475/0.05647, allocations: 147.9 kB / 432.8 MB, free: 10.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001276/0.05775, allocations: 1.513 MB / 434.3 MB, free: 9.398 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003236/0.06098, allocations: 2.175 MB / 436.5 MB, free: 7.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2393/0.3003, allocations: 39.59 MB / 476.1 MB, free: 59.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003047/0.3033, allocations: 1.067 MB / 477.1 MB, free: 59.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004361/0.3038, allocations: 311.7 kB / 477.4 MB, free: 59.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004041/0.3078, allocations: 2.919 MB / 480.4 MB, free: 58.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.3079, allocations: 51.11 kB / 480.4 MB, free: 58.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 3.947e-06/0.3079, allocations: 5.781 kB / 480.4 MB, free: 58.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=97): time 0.007242/0.3151, allocations: 2.729 MB / 483.1 MB, free: 57.65 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.3151, allocations: 148 kB / 483.3 MB, free: 57.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003242/0.3184, allocations: 3.452 MB / 486.7 MB, free: 56.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.33e-05/0.3184, allocations: 36.98 kB / 486.8 MB, free: 56.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0015/0.3199, allocations: 3.39 MB / 490.2 MB, free: 54.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003173/0.3202, allocations: 467.2 kB / 490.6 MB, free: 53.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001119/0.3214, allocations: 1.225 MB / 491.8 MB, free: 53.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.048e-05/0.3214, allocations: 480.8 kB / 492.3 MB, free: 52.76 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008323/0.3222, allocations: 453.5 kB / 492.8 MB, free: 52.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002843/0.3251, allocations: 5.979 MB / 498.7 MB, free: 45.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004331/0.3294, allocations: 7.068 MB / 0.494 GB, free: 37.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.615e-05/0.3295, allocations: 41.09 kB / 0.494 GB, free: 37.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=711) (initialization): time 0.005464/0.3349, allocations: 4.409 MB / 0.4983 GB, free: 35.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.366e-05/0.335, allocations: 69.75 kB / 0.4984 GB, free: 35.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001923/0.3352, allocations: 132.9 kB / 0.4985 GB, free: 35.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004415/0.3357, allocations: 219.6 kB / 0.4987 GB, free: 35.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002804/0.3385, allocations: 1.241 MB / 0.4999 GB, free: 35.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/0.3397, allocations: 2.032 MB / 0.5019 GB, free: 33.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002522/0.3422, allocations: 260.5 kB / 0.5021 GB, free: 33.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003739/0.3426, allocations: 304.9 kB / 0.5024 GB, free: 33.24 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.001123/0.3437, allocations: 0.6375 MB / 0.5031 GB, free: 32.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003953/0.3441, allocations: 325.3 kB / 0.5034 GB, free: 32.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007696/0.3449, allocations: 0.5392 MB / 0.5039 GB, free: 32.31 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.946e-05/0.3449, allocations: 11.28 kB / 0.5039 GB, free: 32.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/0.3449, allocations: 5.031 kB / 0.5039 GB, free: 32.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.3449, allocations: 4.312 kB / 0.5039 GB, free: 32.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005562/0.3505, allocations: 3.408 MB / 0.5072 GB, free: 30.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.3505, allocations: 2.406 kB / 0.5072 GB, free: 30.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004556/0.3509, allocations: 152.5 kB / 0.5074 GB, free: 30.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001777/0.3511, allocations: 45.88 kB / 0.5074 GB, free: 30.58 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.203e-05/0.3512, allocations: 25.06 kB / 0.5075 GB, free: 30.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00101/0.3522, allocations: 1.79 MB / 0.5092 GB, free: 28.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.3522, allocations: 5.906 kB / 0.5092 GB, free: 28.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/0.3537, allocations: 1.463 MB / 0.5106 GB, free: 27.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004055/0.3541, allocations: 276.7 kB / 0.5109 GB, free: 27.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001513/0.3543, allocations: 26.28 kB / 0.5109 GB, free: 27.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004278/0.3547, allocations: 18.5 kB / 0.5109 GB, free: 27.63 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.3548, allocations: 62.94 kB / 0.511 GB, free: 27.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.249e-05/0.3549, allocations: 27.23 kB / 0.511 GB, free: 27.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001632/0.3565, allocations: 1.37 MB / 0.5124 GB, free: 27.15 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3565, allocations: 0 / 0.5124 GB, free: 27.15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003782/0.3603, allocations: 0.8272 MB / 0.5132 GB, free: 27.05 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.0003178/0.3606, allocations: 162.2 kB / 0.5133 GB, free: 26.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002849/0.3634, allocations: 2.33 MB / 0.5156 GB, free: 26.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3634, allocations: 0 / 0.5156 GB, free: 26.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003412/0.3638, allocations: 422.9 kB / 0.516 GB, free: 25.81 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.3649, allocations: 362.3 kB / 0.5164 GB, free: 25.65 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007898/0.3728, allocations: 6.506 MB / 0.5227 GB, free: 22.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008706/0.3737, allocations: 1.118 MB / 0.5238 GB, free: 21.95 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001008/0.3747, allocations: 445.6 kB / 0.5242 GB, free: 21.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006948/0.3754, allocations: 0.5119 MB / 0.5247 GB, free: 21.66 MB / 410.7 MB Notification: Performance of SimCode: time 1.744e-06/0.3754, allocations: 0 / 0.5247 GB, free: 21.66 MB / 410.7 MB Notification: Performance of Templates: time 0.03709/0.4125, allocations: 22.46 MB / 0.5467 GB, free: 3.672 MB / 410.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.748804784845561]