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.001089/0.001089, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001135/0.001135, allocations: 169.9 kB / 24.91 MB, free: 8.723 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.001/1.001, allocations: 177.1 MB / 205.3 MB, free: 5.102 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.2727/0.2727, allocations: 32.8 MB / 294.6 MB, free: 1.203 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 1.733e-06/1.733e-06, allocations: 0 / 323.2 MB, free: 9.715 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.849e-05/3.023e-05, allocations: 2.969 kB / 323.2 MB, free: 9.711 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.008726/0.008756, allocations: 10.39 MB / 333.6 MB, free: 15.26 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006303/0.01506, allocations: 4.128 MB / 337.8 MB, free: 11.12 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007606/0.01582, allocations: 75.62 kB / 337.8 MB, free: 11.05 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002462/0.01828, allocations: 2.709 MB / 340.6 MB, free: 8.328 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002421/0.0207, allocations: 1.866 MB / 342.4 MB, free: 6.453 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009772/0.02168, allocations: 0.795 MB / 343.2 MB, free: 5.656 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003604/0.02528, allocations: 4.932 MB / 348.1 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002592/0.02788, allocations: 3.155 MB / 351.3 MB, free: 13.48 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002046/0.02992, allocations: 2.288 MB / 353.6 MB, free: 11.18 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002365/0.03229, allocations: 2.198 MB / 355.8 MB, free: 8.98 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005817/0.03287, allocations: 323.9 kB / 356.1 MB, free: 8.664 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001475/0.03434, allocations: 1.217 MB / 357.3 MB, free: 7.445 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001226/0.03557, allocations: 2.045 MB / 359.4 MB, free: 5.395 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001263/0.03683, allocations: 1.25 MB / 360.6 MB, free: 4.141 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003583/0.04042, allocations: 4.464 MB / 365.1 MB, free: 15.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.04042, allocations: 0 / 365.1 MB, free: 15.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.04042, allocations: 0 / 365.1 MB, free: 15.66 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.079e-05/0.04048, allocations: 0 / 365.1 MB, free: 15.66 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.004044/0.04452, allocations: 4.319 MB / 369.4 MB, free: 11.29 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.04456, allocations: 12.03 kB / 369.4 MB, free: 11.28 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002676/0.04723, allocations: 1.113 MB / 370.5 MB, free: 10.17 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001892/0.04913, allocations: 1.802 MB / 372.3 MB, free: 8.309 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.04924, allocations: 238.4 kB / 372.6 MB, free: 8.074 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005072/0.04975, allocations: 392.2 kB / 372.9 MB, free: 7.691 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004929/0.05468, allocations: 4.933 MB / 377.9 MB, free: 2.062 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.7e-05/0.05475, allocations: 47.61 kB / 377.9 MB, free: 2.016 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002521/0.05501, allocations: 151.9 kB / 378.1 MB, free: 1.867 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001254/0.05626, allocations: 1.58 MB / 379.7 MB, free: 292 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00379/0.06005, allocations: 2.603 MB / 382.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01937/0.07942, allocations: 30.05 MB / 412.3 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003571/0.08299, allocations: 1.824 MB / 414.1 MB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000445/0.08343, allocations: 387.3 kB / 414.5 MB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004494/0.08793, allocations: 4.042 MB / 418.5 MB, free: 8.168 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.08796, allocations: 47.56 kB / 418.6 MB, free: 8.113 MB / 394.7 MB Notification: Performance of pre-optimization done (n=144): time 3.967e-06/0.08796, allocations: 3.984 kB / 418.6 MB, free: 8.109 MB / 394.7 MB Notification: Performance of matching and sorting (n=160): time 0.01372/0.1017, allocations: 6.061 MB / 424.7 MB, free: 2.008 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007375/0.1024, allocations: 1.488 MB / 426.1 MB, free: 392 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002161/0.1046, allocations: 3.078 MB / 429.2 MB, free: 13.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.902e-05/0.1047, allocations: 45.7 kB / 429.3 MB, free: 13.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001359/0.106, allocations: 2.963 MB / 432.2 MB, free: 10.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003696/0.1064, allocations: 0.6745 MB / 432.9 MB, free: 9.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008915/0.1073, allocations: 1.124 MB / 434 MB, free: 8.434 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.028e-05/0.1073, allocations: 313.1 kB / 434.3 MB, free: 8.125 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/0.1084, allocations: 0.7892 MB / 435.1 MB, free: 7.328 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002768/0.1112, allocations: 4.355 MB / 439.5 MB, free: 1.121 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004146/0.1154, allocations: 5.771 MB / 445.3 MB, free: 9.492 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.354e-05/0.1154, allocations: 36 kB / 445.3 MB, free: 9.457 MB / 426.7 MB Notification: Performance of matching and sorting (n=780) (initialization): time 0.007004/0.1224, allocations: 4.58 MB / 449.9 MB, free: 4.844 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.998e-05/0.1224, allocations: 64 kB / 449.9 MB, free: 4.781 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003333/0.1258, allocations: 1.057 MB / 451 MB, free: 3.711 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003313/0.1291, allocations: 0.6387 MB / 451.6 MB, free: 3.055 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002167/0.1313, allocations: 1.376 MB / 453 MB, free: 1.676 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1598/0.291, allocations: 3.126 MB / 456.1 MB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002622/0.2937, allocations: 272.5 kB / 456.4 MB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003068/0.294, allocations: 318.7 kB / 456.7 MB, free: 107.4 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.001103/0.2951, allocations: 0.6181 MB / 457.3 MB, free: 107.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003097/0.2954, allocations: 210 kB / 457.5 MB, free: 107.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003026/0.2957, allocations: 354.4 kB / 457.9 MB, free: 107.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001464/0.2971, allocations: 0.7705 MB / 458.6 MB, free: 107.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.2972, allocations: 6.5 kB / 458.7 MB, free: 107.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.118e-06/0.2972, allocations: 3.328 kB / 458.7 MB, free: 107.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005494/0.3027, allocations: 4.521 MB / 463.2 MB, free: 106.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.3027, allocations: 3.25 kB / 463.2 MB, free: 106.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005786/0.3032, allocations: 230.5 kB / 463.4 MB, free: 106.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001299/0.3045, allocations: 0.5779 MB / 464 MB, free: 106.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.54e-05/0.3046, allocations: 38.86 kB / 464 MB, free: 106.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001633/0.3063, allocations: 2.851 MB / 466.9 MB, free: 104 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003431/0.3066, allocations: 1.341 MB / 468.2 MB, free: 102.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002248/0.3089, allocations: 2.16 MB / 470.4 MB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002758/0.3091, allocations: 311.8 kB / 470.7 MB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002103/0.3093, allocations: 36.62 kB / 470.7 MB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006172/0.31, allocations: 34.19 kB / 470.7 MB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/0.3101, allocations: 110 kB / 470.9 MB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.28e-05/0.3102, allocations: 41.41 kB / 470.9 MB, free: 101.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00079/0.311, allocations: 1.118 MB / 472 MB, free: 101.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.311, allocations: 0 / 472 MB, free: 101.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002655/0.3136, allocations: 1.105 MB / 473.1 MB, free: 101.8 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.0002825/0.3139, allocations: 165.5 kB / 473.3 MB, free: 101.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003099/0.317, allocations: 2.907 MB / 476.2 MB, free: 101.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001318/0.3172, allocations: 97.5 kB / 476.3 MB, free: 101.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.3182, allocations: 0.8973 MB / 477.2 MB, free: 101.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001383/0.3196, allocations: 0.6116 MB / 477.8 MB, free: 101.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006277/0.3259, allocations: 7.317 MB / 485.1 MB, free: 96.06 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008215/0.3267, allocations: 1.166 MB / 486.3 MB, free: 95.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009167/0.3276, allocations: 474.1 kB / 486.7 MB, free: 95.07 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006924/0.3283, allocations: 0.5363 MB / 487.3 MB, free: 94.57 MB / 426.7 MB Notification: Performance of SimCode: time 1.102e-06/0.3283, allocations: 0 / 487.3 MB, free: 94.57 MB / 426.7 MB Notification: Performance of Templates: time 0.04037/0.3687, allocations: 36.67 MB / 0.5117 GB, free: 59.29 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 -s gbode -gbm=radauIIA3 -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.209094264078885]