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.001031/0.001031, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001204/0.001204, allocations: 169.3 kB / 24.14 MB, free: 352 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.9736/0.9736, allocations: 158.6 MB / 186 MB, free: 2.746 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.1252/0.1252, allocations: 32.37 MB / 270.7 MB, free: 14.6 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.482e-06/1.482e-06, allocations: 0 / 299.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.948e-05/3.096e-05, allocations: 2.312 kB / 299.1 MB, free: 2.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.1649/0.1649, allocations: 10.78 MB / 309.8 MB, free: 14.62 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01004/0.175, allocations: 4.185 MB / 314 MB, free: 11.98 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00306/0.178, allocations: 88.16 kB / 314.1 MB, free: 11.95 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005146/0.1832, allocations: 2.772 MB / 316.9 MB, free: 10.6 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00613/0.1893, allocations: 2.002 MB / 318.9 MB, free: 9.176 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002144/0.1914, allocations: 0.8004 MB / 319.7 MB, free: 8.609 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.007172/0.1986, allocations: 4.917 MB / 324.6 MB, free: 4.648 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004124/0.2027, allocations: 3.464 MB / 328.1 MB, free: 1.102 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006253/0.209, allocations: 2.448 MB / 330.5 MB, free: 14.65 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00384/0.2128, allocations: 2.291 MB / 332.8 MB, free: 12.35 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001144/0.214, allocations: 340 kB / 333.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002554/0.2165, allocations: 1.217 MB / 334.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002362/0.2189, allocations: 2.158 MB / 336.5 MB, free: 8.637 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002437/0.2213, allocations: 1.32 MB / 337.8 MB, free: 7.312 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006793/0.2281, allocations: 4.705 MB / 342.5 MB, free: 2.586 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.387e-06/0.2281, allocations: 7.938 kB / 342.6 MB, free: 2.578 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2281, allocations: 4 kB / 342.6 MB, free: 2.574 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002443/0.2284, allocations: 0 / 342.6 MB, free: 2.574 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.007576/0.236, allocations: 4.522 MB / 347.1 MB, free: 14 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.236, allocations: 8.031 kB / 347.1 MB, free: 13.99 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003241/0.2392, allocations: 1.123 MB / 348.2 MB, free: 12.87 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003139/0.2424, allocations: 1.845 MB / 350.1 MB, free: 10.97 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.2425, allocations: 246.6 kB / 350.3 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007077/0.2432, allocations: 416.4 kB / 350.7 MB, free: 10.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00762/0.2508, allocations: 5.099 MB / 355.8 MB, free: 4.523 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001266/0.251, allocations: 39.64 kB / 355.8 MB, free: 4.484 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003988/0.2514, allocations: 151.9 kB / 356 MB, free: 4.336 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001576/0.2529, allocations: 1.697 MB / 357.7 MB, free: 2.637 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00616/0.2591, allocations: 2.717 MB / 360.4 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03129/0.2904, allocations: 30.97 MB / 391.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004099/0.2945, allocations: 1.876 MB / 393.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006865/0.2952, allocations: 399.4 kB / 393.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006163/0.3013, allocations: 4.137 MB / 397.8 MB, free: 9.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.448e-05/0.3014, allocations: 55.5 kB / 397.8 MB, free: 9.258 MB / 362.7 MB Notification: Performance of pre-optimization done (n=153): time 4.218e-06/0.3014, allocations: 0 / 397.8 MB, free: 9.258 MB / 362.7 MB Notification: Performance of matching and sorting (n=169): time 0.01549/0.3169, allocations: 6.161 MB / 404 MB, free: 3.055 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009689/0.3179, allocations: 1.48 MB / 405.5 MB, free: 1.441 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003165/0.321, allocations: 3.164 MB / 408.6 MB, free: 14.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003078/0.3213, allocations: 45.7 kB / 408.7 MB, free: 14.22 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001575/0.3229, allocations: 3.107 MB / 411.8 MB, free: 11.08 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009054/0.3238, allocations: 0.6977 MB / 412.5 MB, free: 10.38 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001083/0.3249, allocations: 1.18 MB / 413.7 MB, free: 9.188 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.124e-05/0.325, allocations: 305.1 kB / 414 MB, free: 8.887 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001249/0.3262, allocations: 0.8096 MB / 414.8 MB, free: 8.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003147/0.3294, allocations: 4.499 MB / 419.3 MB, free: 1.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005863/0.3352, allocations: 5.965 MB / 425.2 MB, free: 9.781 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001127/0.3353, allocations: 36 kB / 425.3 MB, free: 9.746 MB / 394.7 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.009716/0.345, allocations: 4.717 MB / 430 MB, free: 5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.818e-05/0.3451, allocations: 63.94 kB / 430 MB, free: 4.938 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003512/0.3486, allocations: 1.092 MB / 431.1 MB, free: 3.832 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003386/0.352, allocations: 0.6387 MB / 431.8 MB, free: 3.176 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00299/0.355, allocations: 1.372 MB / 433.2 MB, free: 1.801 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003557/0.3586, allocations: 3.148 MB / 436.3 MB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003825/0.3624, allocations: 275.7 kB / 436.6 MB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001261/0.3636, allocations: 336 kB / 436.9 MB, free: 13.85 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.001674/0.3653, allocations: 0.6262 MB / 437.5 MB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005633/0.3659, allocations: 215.8 kB / 437.7 MB, free: 13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002044/0.3679, allocations: 1.263 MB / 439 MB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001455/0.3694, allocations: 0.7991 MB / 439.8 MB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.926e-06/0.3694, allocations: 4 kB / 439.8 MB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/0.3694, allocations: 15.91 kB / 439.8 MB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008306/0.3777, allocations: 4.705 MB / 444.5 MB, free: 6.008 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.3777, allocations: 4 kB / 444.5 MB, free: 6.004 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006395/0.3784, allocations: 223.7 kB / 444.7 MB, free: 5.785 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001573/0.3799, allocations: 0.5864 MB / 445.3 MB, free: 5.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001162/0.38, allocations: 43.95 kB / 445.4 MB, free: 5.137 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002302/0.3824, allocations: 2.848 MB / 448.2 MB, free: 2.094 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006349/0.383, allocations: 1.354 MB / 449.6 MB, free: 0.625 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003488/0.3865, allocations: 2.22 MB / 451.8 MB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008966/0.3874, allocations: 317.6 kB / 452.1 MB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002866/0.3877, allocations: 47.97 kB / 452.2 MB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007115/0.3884, allocations: 28 kB / 452.2 MB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002019/0.3886, allocations: 124.6 kB / 452.3 MB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.961e-05/0.3887, allocations: 39.98 kB / 452.3 MB, free: 13.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001268/0.3899, allocations: 1.147 MB / 453.5 MB, free: 12.61 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3899, allocations: 0 / 453.5 MB, free: 12.61 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003944/0.3939, allocations: 1.164 MB / 454.6 MB, free: 11.45 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.0004364/0.3943, allocations: 179.9 kB / 454.8 MB, free: 11.26 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004521/0.3988, allocations: 2.991 MB / 457.8 MB, free: 8.258 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002297/0.399, allocations: 96.16 kB / 457.9 MB, free: 8.156 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001791/0.4008, allocations: 0.9281 MB / 458.8 MB, free: 7.191 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002612/0.4035, allocations: 0.6344 MB / 459.5 MB, free: 6.559 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1556/0.5591, allocations: 7.646 MB / 467.1 MB, free: 134.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002037/0.5611, allocations: 1.227 MB / 468.3 MB, free: 134 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001724/0.5628, allocations: 493.9 kB / 468.8 MB, free: 134 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001143/0.564, allocations: 0.5521 MB / 469.4 MB, free: 134 MB / 426.7 MB Notification: Performance of SimCode: time 3.446e-06/0.564, allocations: 1.281 kB / 469.4 MB, free: 134 MB / 426.7 MB Notification: Performance of Templates: time 0.05302/0.617, allocations: 37.74 MB / 0.4952 GB, free: 111.6 MB / 426.7 MB " [Timeout remaining time 659] 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 -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.354825224261731]