Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.000971/0.000971, allocations: 81.97 kB / 22.21 MB, free: 2.285 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.001576/0.001576, allocations: 163.5 kB / 25.61 MB, free: 8.895 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 0.9235/0.9235, allocations: 177.2 MB / 206.1 MB, free: 4.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1619/0.1619, allocations: 32.8 MB / 295.4 MB, free: 15.36 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.305e-05/2.52e-05, allocations: 2.312 kB / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.009602/0.009628, allocations: 10.46 MB / 387.7 MB, free: 15.08 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007179/0.01681, allocations: 3.728 MB / 391.5 MB, free: 11.34 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001737/0.01854, allocations: 75.62 kB / 391.5 MB, free: 11.27 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00264/0.02118, allocations: 2.835 MB / 394.4 MB, free: 8.422 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00336/0.02454, allocations: 1.866 MB / 396.2 MB, free: 6.547 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.02563, allocations: 0.764 MB / 397 MB, free: 5.781 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003224/0.02885, allocations: 3.983 MB / 401 MB, free: 1.789 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002797/0.03165, allocations: 3.167 MB / 404.1 MB, free: 14.55 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002713/0.03436, allocations: 2.315 MB / 406.5 MB, free: 12.23 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002371/0.03673, allocations: 2.108 MB / 408.6 MB, free: 10.12 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005111/0.03724, allocations: 320 kB / 408.9 MB, free: 9.805 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00145/0.03869, allocations: 0.9946 MB / 409.9 MB, free: 8.809 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001384/0.04008, allocations: 1.921 MB / 411.8 MB, free: 6.883 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001281/0.04136, allocations: 1.207 MB / 413 MB, free: 5.672 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00496/0.04632, allocations: 4.262 MB / 417.3 MB, free: 1.395 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.04632, allocations: 4 kB / 417.3 MB, free: 1.391 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.04632, allocations: 0 / 417.3 MB, free: 1.391 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001163/0.04644, allocations: 0 / 417.3 MB, free: 1.391 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.006822/0.05326, allocations: 5.275 MB / 422.5 MB, free: 12.05 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.0533, allocations: 11.98 kB / 422.6 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003254/0.05655, allocations: 1.407 MB / 424 MB, free: 10.63 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002601/0.05915, allocations: 1.817 MB / 425.8 MB, free: 8.762 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.05927, allocations: 229.8 kB / 426 MB, free: 8.535 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000351/0.05962, allocations: 299.8 kB / 426.3 MB, free: 8.242 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006352/0.06597, allocations: 5.079 MB / 431.4 MB, free: 2.273 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.193e-05/0.06606, allocations: 43.62 kB / 431.4 MB, free: 2.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002721/0.06634, allocations: 139.9 kB / 431.6 MB, free: 2.094 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001372/0.06771, allocations: 1.521 MB / 433.1 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004953/0.07266, allocations: 2.172 MB / 435.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03023/0.1029, allocations: 39.61 MB / 474.9 MB, free: 5.398 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002589/0.1055, allocations: 1.053 MB / 475.9 MB, free: 4.297 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003849/0.1059, allocations: 320.5 kB / 476.2 MB, free: 3.969 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004224/0.1101, allocations: 2.921 MB / 479.1 MB, free: 1.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.1101, allocations: 53.38 kB / 479.2 MB, free: 0.957 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 4.679e-06/0.1101, allocations: 0 / 479.2 MB, free: 0.957 MB / 394.7 MB Notification: Performance of matching and sorting (n=97): time 0.006691/0.1168, allocations: 2.746 MB / 481.9 MB, free: 14.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/0.1169, allocations: 140.5 kB / 482.1 MB, free: 13.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003209/0.1201, allocations: 3.445 MB / 485.5 MB, free: 10.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.936e-05/0.1202, allocations: 37.7 kB / 485.6 MB, free: 10.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001599/0.1218, allocations: 3.38 MB / 488.9 MB, free: 7.082 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003492/0.1221, allocations: 472.8 kB / 489.4 MB, free: 6.617 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000969/0.1231, allocations: 1.235 MB / 490.6 MB, free: 5.371 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.1232, allocations: 476.8 kB / 491.1 MB, free: 4.902 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006776/0.1239, allocations: 454.5 kB / 491.5 MB, free: 4.453 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1668/0.2907, allocations: 5.978 MB / 497.5 MB, free: 104.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004414/0.2951, allocations: 7.062 MB / 0.4928 GB, free: 97.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001065/0.2952, allocations: 39.62 kB / 0.4928 GB, free: 97.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=711) (initialization): time 0.006126/0.3014, allocations: 4.421 MB / 0.4971 GB, free: 96.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.692e-05/0.3014, allocations: 59.47 kB / 0.4972 GB, free: 96.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001176/0.3015, allocations: 134.6 kB / 0.4973 GB, free: 96.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003069/0.3018, allocations: 215.5 kB / 0.4975 GB, free: 96.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001883/0.3037, allocations: 1.246 MB / 0.4987 GB, free: 96.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009192/0.3046, allocations: 2.032 MB / 0.5007 GB, free: 94.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002126/0.3068, allocations: 258.8 kB / 0.501 GB, free: 94.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002519/0.307, allocations: 300.5 kB / 0.5012 GB, free: 94.4 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.00101/0.308, allocations: 0.6388 MB / 0.5019 GB, free: 94.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00033/0.3084, allocations: 321.1 kB / 0.5022 GB, free: 94.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006491/0.309, allocations: 0.5362 MB / 0.5027 GB, free: 94.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.309, allocations: 9.875 kB / 0.5027 GB, free: 94.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/0.309, allocations: 3.25 kB / 0.5027 GB, free: 94.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.309, allocations: 6.797 kB / 0.5027 GB, free: 94.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004191/0.3132, allocations: 3.415 MB / 0.506 GB, free: 93.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.3132, allocations: 4 kB / 0.5061 GB, free: 93.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003679/0.3136, allocations: 141.5 kB / 0.5062 GB, free: 92.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001502/0.3138, allocations: 51.89 kB / 0.5062 GB, free: 92.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.754e-05/0.3138, allocations: 23.5 kB / 0.5063 GB, free: 92.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007075/0.3145, allocations: 1.788 MB / 0.508 GB, free: 91.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.3145, allocations: 4 kB / 0.508 GB, free: 91.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.3157, allocations: 1.469 MB / 0.5094 GB, free: 89.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003357/0.316, allocations: 278.3 kB / 0.5097 GB, free: 89.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001926/0.3162, allocations: 15.67 kB / 0.5097 GB, free: 89.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004527/0.3167, allocations: 19 kB / 0.5097 GB, free: 89.58 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.363e-05/0.3168, allocations: 71.12 kB / 0.5098 GB, free: 89.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.366e-05/0.3168, allocations: 24.8 kB / 0.5098 GB, free: 89.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001098/0.3179, allocations: 1.367 MB / 0.5112 GB, free: 88.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.3179, allocations: 4.984 kB / 0.5112 GB, free: 88.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003238/0.3211, allocations: 0.8288 MB / 0.512 GB, free: 87.97 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.0003108/0.3214, allocations: 159 kB / 0.5121 GB, free: 87.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00288/0.3243, allocations: 2.325 MB / 0.5144 GB, free: 86.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.3243, allocations: 0 / 0.5144 GB, free: 86.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003424/0.3247, allocations: 427.9 kB / 0.5148 GB, free: 85.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/0.3261, allocations: 362.6 kB / 0.5152 GB, free: 85.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007889/0.334, allocations: 6.501 MB / 0.5215 GB, free: 79.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/0.335, allocations: 1.12 MB / 0.5226 GB, free: 78.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001118/0.3362, allocations: 449.1 kB / 0.523 GB, free: 78.35 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005321/0.3367, allocations: 0.5103 MB / 0.5235 GB, free: 77.84 MB / 410.7 MB Notification: Performance of SimCode: time 2.064e-06/0.3367, allocations: 0 / 0.5235 GB, free: 77.84 MB / 410.7 MB Notification: Performance of Templates: time 0.04073/0.3774, allocations: 22.93 MB / 0.5459 GB, free: 55.47 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.363496059086174]