Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00156/0.00156, allocations: 91.5 kB / 21.19 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001691/0.001691, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.054/1.054, allocations: 177 MB / 204.8 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.body.frame_a.r_0.[0-9,]+.|body.body.w_a.[0-9,]+.|body.v_0.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.body.frame_a.r_0.[0-9,]+.|body.body.w_a.[0-9,]+.|body.v_0.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 272.9 MB, free: 1.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.005e-05/3.176e-05, allocations: 2.312 kB / 272.9 MB, free: 1.422 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01317/0.0132, allocations: 10.16 MB / 283.1 MB, free: 7.219 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007006/0.02021, allocations: 3.762 MB / 286.8 MB, free: 3.445 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001437/0.02165, allocations: 79.62 kB / 286.9 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003068/0.02471, allocations: 2.48 MB / 289.4 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1321/0.1569, allocations: 1.757 MB / 291.2 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.1582, allocations: 0.6722 MB / 291.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00479/0.163, allocations: 3.877 MB / 295.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003625/0.1666, allocations: 2.777 MB / 298.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003305/0.1699, allocations: 2.077 MB / 300.6 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0028/0.1727, allocations: 1.988 MB / 302.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009037/0.1736, allocations: 299.2 kB / 302.8 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001765/0.1754, allocations: 1.086 MB / 303.9 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001094/0.1764, allocations: 1.81 MB / 305.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001454/0.1779, allocations: 1.133 MB / 306.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003998/0.1819, allocations: 4.041 MB / 310.9 MB, free: 9.203 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1819, allocations: 0 / 310.9 MB, free: 9.203 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1819, allocations: 0.5 kB / 310.9 MB, free: 9.203 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001985/0.1821, allocations: 0.625 kB / 310.9 MB, free: 9.203 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1330 * Number of variables: 1330 Notification: Performance of Generate backend data structure: time 0.005368/0.1875, allocations: 4.608 MB / 315.5 MB, free: 4.852 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.1875, allocations: 15.98 kB / 315.5 MB, free: 4.836 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003989/0.1915, allocations: 2.333 MB / 317.9 MB, free: 2.531 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00269/0.1942, allocations: 1.838 MB / 319.7 MB, free: 0.793 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.519e-05/0.1943, allocations: 215.2 kB / 319.9 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005237/0.1948, allocations: 369.1 kB / 320.3 MB, free: 300 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00855/0.2034, allocations: 5.576 MB / 325.8 MB, free: 10.03 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001094/0.2035, allocations: 42.12 kB / 325.9 MB, free: 10 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002758/0.2037, allocations: 135.6 kB / 326 MB, free: 9.902 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001809/0.2056, allocations: 1.642 MB / 327.7 MB, free: 8.285 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006622/0.2122, allocations: 3.091 MB / 330.8 MB, free: 5.375 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02966/0.2418, allocations: 38.73 MB / 369.5 MB, free: 13.88 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004796/0.2466, allocations: 2.022 MB / 371.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007904/0.2474, allocations: 0.5107 MB / 372 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005498/0.2529, allocations: 4.132 MB / 376.1 MB, free: 7.172 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.482e-05/0.253, allocations: 53.08 kB / 376.2 MB, free: 7.113 MB / 330.7 MB Notification: Performance of pre-optimization done (n=132): time 5.039e-06/0.253, allocations: 4 kB / 376.2 MB, free: 7.109 MB / 330.7 MB Notification: Performance of matching and sorting (n=139): time 0.01533/0.2683, allocations: 8.17 MB / 384.4 MB, free: 14.88 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001279/0.2696, allocations: 2.032 MB / 386.4 MB, free: 12.7 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003257/0.2728, allocations: 3.153 MB / 389.6 MB, free: 9.516 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001359/0.273, allocations: 48.98 kB / 389.6 MB, free: 9.465 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001676/0.2746, allocations: 3.048 MB / 392.7 MB, free: 6.43 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005528/0.2752, allocations: 0.61 MB / 393.3 MB, free: 5.828 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00105/0.2763, allocations: 1.191 MB / 394.5 MB, free: 4.629 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.2764, allocations: 480.7 kB / 394.9 MB, free: 4.156 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/0.2774, allocations: 0.6383 MB / 395.6 MB, free: 3.516 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003582/0.281, allocations: 5.741 MB / 401.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005973/0.287, allocations: 7.054 MB / 408.4 MB, free: 2.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001098/0.2871, allocations: 36 kB / 408.4 MB, free: 2.035 MB / 362.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01155/0.2987, allocations: 6.252 MB / 414.6 MB, free: 11.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.435e-05/0.2987, allocations: 59.94 kB / 414.7 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005002/0.3037, allocations: 2.171 MB / 416.9 MB, free: 9.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005599/0.3093, allocations: 1.831 MB / 418.7 MB, free: 7.668 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002935/0.3123, allocations: 1.259 MB / 420 MB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004839/0.3171, allocations: 4.794 MB / 424.8 MB, free: 1.371 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003146/0.3202, allocations: 422.6 kB / 425.2 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007776/0.321, allocations: 340 kB / 425.5 MB, free: 0.6289 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * Number of states: 0 () * Number of discrete variables: 36 (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 (676): * Single equations (assignments): 667 * 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.001487/0.3225, allocations: 0.6152 MB / 426.1 MB, free: 16 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000683/0.3232, allocations: 333.1 kB / 426.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004152/0.3236, allocations: 323.4 kB / 426.8 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002137/0.3257, allocations: 1.129 MB / 427.9 MB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.324e-05/0.3258, allocations: 8 kB / 427.9 MB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/0.3258, allocations: 7.922 kB / 427.9 MB, free: 14.17 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009122/0.3349, allocations: 5.593 MB / 433.5 MB, free: 8.492 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.3349, allocations: 4 kB / 433.5 MB, free: 8.488 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006144/0.3355, allocations: 231.7 kB / 433.7 MB, free: 8.262 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001429/0.3369, allocations: 0.5563 MB / 434.3 MB, free: 7.688 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001149/0.3371, allocations: 39.97 kB / 434.3 MB, free: 7.648 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002789/0.3398, allocations: 4.226 MB / 438.6 MB, free: 3.184 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009263/0.3408, allocations: 1.906 MB / 440.5 MB, free: 1.145 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.142/0.4828, allocations: 2.543 MB / 443 MB, free: 124.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006834/0.4834, allocations: 279.1 kB / 443.3 MB, free: 124.8 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000245/0.4837, allocations: 30.97 kB / 443.3 MB, free: 124.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008177/0.4845, allocations: 151.5 kB / 443.4 MB, free: 124.8 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002125/0.4847, allocations: 90.28 kB / 443.5 MB, free: 124.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.212e-05/0.4848, allocations: 41.89 kB / 443.6 MB, free: 124.8 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002129/0.4869, allocations: 1.339 MB / 444.9 MB, free: 124.6 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4869, allocations: 0 / 444.9 MB, free: 124.6 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003388/0.4903, allocations: 1.002 MB / 445.9 MB, free: 124.6 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[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 (105): * Single equations (assignments): 98 * 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.0003926/0.4907, allocations: 176.9 kB / 446.1 MB, free: 124.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005505/0.4962, allocations: 3.375 MB / 449.5 MB, free: 124.1 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.4962, allocations: 1.375 kB / 449.5 MB, free: 124.1 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001894/0.4981, allocations: 1.311 MB / 450.8 MB, free: 123.6 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001593/0.4997, allocations: 375.4 kB / 451.1 MB, free: 123.6 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008478/0.5082, allocations: 6.85 MB / 458 MB, free: 120.7 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008746/0.5091, allocations: 1.061 MB / 459.1 MB, free: 120.6 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001991/0.5111, allocations: 1.451 MB / 460.5 MB, free: 120.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003977/0.5115, allocations: 201.3 kB / 460.7 MB, free: 120.4 MB / 394.7 MB Notification: Performance of SimCode: time 2.114e-06/0.5115, allocations: 0 / 460.7 MB, free: 120.4 MB / 394.7 MB Notification: Performance of Templates: time 0.03789/0.5494, allocations: 31.9 MB / 492.6 MB, free: 95.15 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.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.227736336179078]