Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009806/0.0009806, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.00131/0.00131, allocations: 169 kB / 24.14 MB, free: 360 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9765/0.9765, allocations: 158.6 MB / 186 MB, free: 2.559 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1538/0.1538, allocations: 32.37 MB / 270.7 MB, free: 14.58 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 299.1 MB, free: 2.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.949e-05/3.137e-05, allocations: 6.25 kB / 299.1 MB, free: 2.145 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.1352/0.1353, allocations: 10.82 MB / 309.9 MB, free: 14.55 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007915/0.1432, allocations: 4.191 MB / 314.1 MB, free: 11.9 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001222/0.1444, allocations: 84.22 kB / 314.2 MB, free: 11.88 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002843/0.1472, allocations: 2.737 MB / 316.9 MB, free: 10.52 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003129/0.1504, allocations: 1.973 MB / 318.9 MB, free: 9.098 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.1517, allocations: 0.7902 MB / 319.7 MB, free: 8.531 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00368/0.1554, allocations: 4.926 MB / 324.6 MB, free: 4.625 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002235/0.1576, allocations: 3.227 MB / 327.8 MB, free: 1.316 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00219/0.1598, allocations: 2.393 MB / 330.2 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002166/0.162, allocations: 2.295 MB / 332.5 MB, free: 12.61 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003596/0.1624, allocations: 336 kB / 332.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001543/0.1639, allocations: 1.256 MB / 334.1 MB, free: 11.03 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001213/0.1651, allocations: 2.147 MB / 336.3 MB, free: 8.875 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001077/0.1662, allocations: 1.328 MB / 337.6 MB, free: 7.543 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00367/0.1699, allocations: 4.713 MB / 342.3 MB, free: 2.809 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.1699, allocations: 0 / 342.3 MB, free: 2.809 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1699, allocations: 0 / 342.3 MB, free: 2.809 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.79e-05/0.1699, allocations: 0 / 342.3 MB, free: 2.809 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1526 * Number of variables: 1526 Notification: Performance of Generate backend data structure: time 0.004804/0.1747, allocations: 4.53 MB / 346.8 MB, free: 14.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.1748, allocations: 12.03 kB / 346.8 MB, free: 14.21 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002698/0.1775, allocations: 1.121 MB / 348 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001898/0.1794, allocations: 1.845 MB / 349.8 MB, free: 11.19 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/0.1795, allocations: 246.6 kB / 350.1 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005055/0.18, allocations: 417.2 kB / 350.5 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004909/0.1849, allocations: 5.095 MB / 355.6 MB, free: 4.75 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.012e-05/0.185, allocations: 39.64 kB / 355.6 MB, free: 4.711 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002381/0.1852, allocations: 155.9 kB / 355.7 MB, free: 4.559 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001332/0.1866, allocations: 1.693 MB / 357.4 MB, free: 2.863 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004022/0.1906, allocations: 2.723 MB / 360.2 MB, free: 108 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02043/0.211, allocations: 30.98 MB / 391.1 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003633/0.2146, allocations: 1.864 MB / 393 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004839/0.2151, allocations: 403.4 kB / 393.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00462/0.2197, allocations: 4.133 MB / 397.5 MB, free: 9.551 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.2198, allocations: 47.56 kB / 397.6 MB, free: 9.496 MB / 362.7 MB Notification: Performance of pre-optimization done (n=153): time 3.506e-06/0.2198, allocations: 0 / 397.6 MB, free: 9.496 MB / 362.7 MB Notification: Performance of matching and sorting (n=169): time 0.01327/0.2331, allocations: 6.176 MB / 403.8 MB, free: 3.277 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007437/0.2338, allocations: 1.472 MB / 405.2 MB, free: 1.672 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00249/0.2363, allocations: 3.164 MB / 408.4 MB, free: 14.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001066/0.2364, allocations: 49.69 kB / 408.4 MB, free: 14.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001317/0.2377, allocations: 3.095 MB / 411.5 MB, free: 11.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003972/0.2381, allocations: 0.7057 MB / 412.2 MB, free: 10.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009321/0.239, allocations: 1.172 MB / 413.4 MB, free: 9.426 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.876e-05/0.2391, allocations: 309 kB / 413.7 MB, free: 9.121 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/0.2403, allocations: 0.8096 MB / 414.5 MB, free: 8.305 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002702/0.243, allocations: 4.491 MB / 419 MB, free: 1.902 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004164/0.2471, allocations: 5.981 MB / 425 MB, free: 10 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.619e-05/0.2472, allocations: 36 kB / 425 MB, free: 9.969 MB / 394.7 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.006906/0.2541, allocations: 4.713 MB / 429.7 MB, free: 5.227 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.177e-05/0.2541, allocations: 68.19 kB / 429.8 MB, free: 5.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003233/0.2574, allocations: 1.088 MB / 430.9 MB, free: 4.059 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0033/0.2607, allocations: 0.6347 MB / 431.5 MB, free: 3.406 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002231/0.2629, allocations: 1.435 MB / 433 MB, free: 1.969 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00306/0.2659, allocations: 3.148 MB / 436.1 MB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002076/0.268, allocations: 275.7 kB / 436.4 MB, free: 14.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002898/0.2683, allocations: 340 kB / 436.7 MB, free: 14.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 617 * Number of states: 0 () * Number of discrete variables: 39 (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 (770): * Single equations (assignments): 761 * 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.001097/0.2694, allocations: 0.6225 MB / 437.3 MB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003173/0.2697, allocations: 219.7 kB / 437.6 MB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001913/0.2716, allocations: 1.267 MB / 438.8 MB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001392/0.273, allocations: 0.7913 MB / 439.6 MB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.273, allocations: 3.828 kB / 439.6 MB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.273, allocations: 15.91 kB / 439.6 MB, free: 11.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006542/0.2796, allocations: 4.705 MB / 444.3 MB, free: 6.184 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.2796, allocations: 8 kB / 444.3 MB, free: 6.176 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006264/0.2802, allocations: 248.1 kB / 444.6 MB, free: 5.934 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001365/0.2816, allocations: 0.5782 MB / 445.2 MB, free: 5.336 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.436e-05/0.2817, allocations: 39.97 kB / 445.2 MB, free: 5.297 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002115/0.2838, allocations: 2.868 MB / 448.1 MB, free: 2.234 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006023/0.2844, allocations: 1.342 MB / 449.4 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002662/0.2871, allocations: 2.222 MB / 451.6 MB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004207/0.2875, allocations: 321.6 kB / 451.9 MB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002253/0.2877, allocations: 39.98 kB / 452 MB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006382/0.2883, allocations: 31.98 kB / 452 MB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001914/0.2885, allocations: 116.7 kB / 452.1 MB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-05/0.2886, allocations: 43.98 kB / 452.2 MB, free: 13.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000947/0.2896, allocations: 1.147 MB / 453.3 MB, free: 12.77 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2896, allocations: 0 / 453.3 MB, free: 12.77 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003245/0.2928, allocations: 1.168 MB / 454.5 MB, free: 11.6 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 (136): * Single equations (assignments): 129 * 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.0003333/0.2931, allocations: 179.9 kB / 454.7 MB, free: 11.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003587/0.2967, allocations: 2.998 MB / 457.7 MB, free: 8.402 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001365/0.2969, allocations: 96.16 kB / 457.8 MB, free: 8.301 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001189/0.2981, allocations: 0.9242 MB / 458.7 MB, free: 7.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/0.2997, allocations: 0.6339 MB / 459.3 MB, free: 6.707 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1302/0.4299, allocations: 7.651 MB / 467 MB, free: 134.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001351/0.4312, allocations: 1.22 MB / 468.2 MB, free: 133.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001703/0.4329, allocations: 491.8 kB / 468.7 MB, free: 133.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009498/0.4339, allocations: 0.552 MB / 469.2 MB, free: 133.8 MB / 426.7 MB Notification: Performance of SimCode: time 1.984e-06/0.4339, allocations: 1.094 kB / 469.2 MB, free: 133.8 MB / 426.7 MB Notification: Performance of Templates: time 0.04848/0.4824, allocations: 37.75 MB / 0.4951 GB, free: 111.5 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.305825037881732]