Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.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.000956/0.000956, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001028/0.001028, allocations: 174.5 kB / 24.91 MB, free: 8.777 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.9711/0.9711, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2487/0.2487, allocations: 32.81 MB / 294.6 MB, free: 1.254 MB / 266.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.BodyShape,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.Q.[0-9,]+.|freeMotion.r_rel_a.[0-9,]+.|freeMotion.v_rel_a.[0-9,]+.|freeMotion.w_rel_b.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape") translateModel(ModelicaTest.MultiBody.Parts.BodyShape,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.Q.[0-9,]+.|freeMotion.r_rel_a.[0-9,]+.|freeMotion.v_rel_a.[0-9,]+.|freeMotion.w_rel_b.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.245e-06/2.245e-06, allocations: 0 / 323.2 MB, free: 9.742 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.658e-05/2.883e-05, allocations: 2.312 kB / 323.2 MB, free: 9.738 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.01073/0.01076, allocations: 10.35 MB / 333.6 MB, free: 15.33 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006246/0.01701, allocations: 4.12 MB / 337.7 MB, free: 11.2 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001037/0.01804, allocations: 83.56 kB / 337.8 MB, free: 11.12 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002807/0.02085, allocations: 2.752 MB / 340.5 MB, free: 8.355 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00302/0.02387, allocations: 1.897 MB / 342.4 MB, free: 6.449 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.02541, allocations: 0.7912 MB / 343.2 MB, free: 5.656 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004551/0.02997, allocations: 4.931 MB / 348.1 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004146/0.03411, allocations: 3.378 MB / 351.5 MB, free: 13.25 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003487/0.0376, allocations: 2.358 MB / 353.9 MB, free: 10.89 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002246/0.03984, allocations: 2.19 MB / 356.1 MB, free: 8.695 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004275/0.04027, allocations: 320 kB / 356.4 MB, free: 8.383 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001502/0.04177, allocations: 1.178 MB / 357.5 MB, free: 7.203 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001434/0.04321, allocations: 2.045 MB / 359.6 MB, free: 5.152 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009458/0.04415, allocations: 1.254 MB / 360.8 MB, free: 3.895 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003615/0.04777, allocations: 4.46 MB / 365.3 MB, free: 15.42 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.04777, allocations: 4 kB / 365.3 MB, free: 15.41 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.04777, allocations: 0 / 365.3 MB, free: 15.41 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.51e-05/0.04783, allocations: 4 kB / 365.3 MB, free: 15.41 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1449 * Number of variables: 1449 Notification: Performance of Generate backend data structure: time 0.003932/0.05176, allocations: 4.323 MB / 369.6 MB, free: 11.04 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.05179, allocations: 8.031 kB / 369.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002581/0.05438, allocations: 1.113 MB / 370.8 MB, free: 9.918 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001893/0.05627, allocations: 1.802 MB / 372.6 MB, free: 8.059 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/0.05638, allocations: 234.4 kB / 372.8 MB, free: 7.828 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005083/0.05688, allocations: 396.2 kB / 373.2 MB, free: 7.441 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004862/0.06175, allocations: 4.929 MB / 378.1 MB, free: 1.816 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-05/0.06182, allocations: 43.62 kB / 378.1 MB, free: 1.773 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002463/0.06207, allocations: 155.9 kB / 378.3 MB, free: 1.621 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001255/0.06332, allocations: 1.58 MB / 379.9 MB, free: 40 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004077/0.0674, allocations: 2.614 MB / 382.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02366/0.09106, allocations: 30.04 MB / 412.5 MB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003657/0.09472, allocations: 1.823 MB / 414.3 MB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004863/0.09521, allocations: 391.9 kB / 414.7 MB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005267/0.1005, allocations: 4.046 MB / 418.8 MB, free: 7.914 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.1005, allocations: 47.56 kB / 418.8 MB, free: 7.859 MB / 394.7 MB Notification: Performance of pre-optimization done (n=144): time 4.158e-06/0.1005, allocations: 0 / 418.8 MB, free: 7.859 MB / 394.7 MB Notification: Performance of matching and sorting (n=160): time 0.01427/0.1148, allocations: 6.073 MB / 424.9 MB, free: 1.746 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009941/0.1158, allocations: 1.472 MB / 426.4 MB, free: 140 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002612/0.1184, allocations: 3.082 MB / 429.5 MB, free: 13.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.861e-05/0.1185, allocations: 49.7 kB / 429.5 MB, free: 12.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001331/0.1198, allocations: 2.963 MB / 432.5 MB, free: 9.996 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006388/0.1205, allocations: 0.6747 MB / 433.1 MB, free: 9.316 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009607/0.1214, allocations: 1.132 MB / 434.3 MB, free: 8.172 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.593e-05/0.1215, allocations: 305.1 kB / 434.6 MB, free: 7.871 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.1227, allocations: 0.7932 MB / 435.4 MB, free: 7.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002895/0.1256, allocations: 4.347 MB / 439.7 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004684/0.1303, allocations: 5.774 MB / 445.5 MB, free: 9.242 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.945e-05/0.1303, allocations: 43.94 kB / 445.5 MB, free: 9.199 MB / 426.7 MB Notification: Performance of matching and sorting (n=780) (initialization): time 0.007363/0.1377, allocations: 4.578 MB / 450.1 MB, free: 4.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.406e-05/0.1377, allocations: 60 kB / 450.2 MB, free: 4.531 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003417/0.1411, allocations: 1.07 MB / 451.2 MB, free: 3.449 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00336/0.1445, allocations: 0.6229 MB / 451.9 MB, free: 2.809 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002471/0.147, allocations: 1.329 MB / 453.2 MB, free: 1.477 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1699/0.3168, allocations: 3.122 MB / 456.3 MB, free: 118.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00273/0.3196, allocations: 271.6 kB / 456.6 MB, free: 118.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004124/0.32, allocations: 320.6 kB / 456.9 MB, free: 118.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 598 * Number of states: 0 () * Number of discrete variables: 41 (freeMotion.arrow.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (742): * Single equations (assignments): 733 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001243/0.3212, allocations: 0.6099 MB / 457.5 MB, free: 118.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003858/0.3216, allocations: 207.3 kB / 457.7 MB, free: 118.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003262/0.3219, allocations: 357.6 kB / 458 MB, free: 118.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001488/0.3234, allocations: 0.7684 MB / 458.8 MB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.3234, allocations: 2.969 kB / 458.8 MB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.3234, allocations: 13.62 kB / 458.8 MB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005921/0.3294, allocations: 4.514 MB / 463.3 MB, free: 117.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.3294, allocations: 3.594 kB / 463.3 MB, free: 117.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005248/0.3299, allocations: 217.8 kB / 463.6 MB, free: 117.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001273/0.3312, allocations: 0.5802 MB / 464.1 MB, free: 117.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.16e-05/0.3313, allocations: 40.88 kB / 464.2 MB, free: 117.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001623/0.3329, allocations: 2.841 MB / 467 MB, free: 115.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003888/0.3333, allocations: 1.341 MB / 468.4 MB, free: 113.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002396/0.3357, allocations: 2.165 MB / 470.5 MB, free: 113.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004288/0.3361, allocations: 303.4 kB / 470.8 MB, free: 113.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002383/0.3363, allocations: 32.89 kB / 470.9 MB, free: 113.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006441/0.337, allocations: 38.62 kB / 470.9 MB, free: 113.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/0.3372, allocations: 115.1 kB / 471 MB, free: 113.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.128e-05/0.3372, allocations: 41.23 kB / 471 MB, free: 113.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009318/0.3382, allocations: 1.114 MB / 472.2 MB, free: 113 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.3382, allocations: 0 / 472.2 MB, free: 113 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003285/0.3414, allocations: 1.105 MB / 473.3 MB, free: 113 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * 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): 119 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003298/0.3418, allocations: 160.8 kB / 473.4 MB, free: 112.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00332/0.3451, allocations: 2.914 MB / 476.3 MB, free: 112.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001435/0.3452, allocations: 96.16 kB / 476.4 MB, free: 112.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001097/0.3463, allocations: 0.89 MB / 477.3 MB, free: 111.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001631/0.348, allocations: 0.6208 MB / 477.9 MB, free: 111.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006982/0.3549, allocations: 7.307 MB / 485.2 MB, free: 104.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008056/0.3558, allocations: 1.165 MB / 486.4 MB, free: 103.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009467/0.3567, allocations: 482.5 kB / 486.9 MB, free: 103.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006821/0.3574, allocations: 0.5392 MB / 487.4 MB, free: 102.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.372e-06/0.3574, allocations: 0 / 487.4 MB, free: 102.6 MB / 426.7 MB Notification: Performance of Templates: time 0.04247/0.3999, allocations: 36.65 MB / 0.5118 GB, free: 66.45 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/BodyShape/BodyShape.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.233380472287536]