Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.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.001311/0.001311, allocations: 70.42 kB / 21.24 MB, free: 0.5391 MB / 14.72 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.001437/0.001437, allocations: 158.5 kB / 24.5 MB, free: 3.711 MB / 14.72 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.426/1.426, allocations: 177.2 MB / 204.9 MB, free: 9.004 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|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.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="Modelica_4.1.0_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.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.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 55.31 kB / 325.6 MB, free: 248 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08847/0.09005, allocations: 53.34 MB / 378.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01125/0.1013, allocations: 9.141 MB / 388 MB, free: 6.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007145/0.1084, allocations: 3.661 MB / 391.7 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008364/0.1093, allocations: 71.62 kB / 391.8 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004232/0.1135, allocations: 2.25 MB / 394 MB, free: 472 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003526/0.117, allocations: 1.704 MB / 395.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.1182, allocations: 0.6122 MB / 396.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004156/0.1224, allocations: 3.49 MB / 399.8 MB, free: 10.64 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002724/0.1251, allocations: 2.423 MB / 402.3 MB, free: 8.164 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00166/0.1268, allocations: 1.378 MB / 403.6 MB, free: 6.781 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002359/0.1291, allocations: 1.837 MB / 405.5 MB, free: 4.938 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004791/0.1296, allocations: 292 kB / 405.8 MB, free: 4.652 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001825/0.1315, allocations: 1.03 MB / 406.8 MB, free: 3.621 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001611/0.1331, allocations: 1.722 MB / 408.5 MB, free: 1.895 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001536/0.1346, allocations: 1.444 MB / 410 MB, free: 452 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006392/0.141, allocations: 6.249 MB / 416.2 MB, free: 10.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.141, allocations: 0 / 416.2 MB, free: 10.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.141, allocations: 4 kB / 416.2 MB, free: 10.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.849e-05/0.1411, allocations: 0 / 416.2 MB, free: 10.16 MB / 382.1 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.007128/0.1482, allocations: 4.242 MB / 420.4 MB, free: 5.867 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.1482, allocations: 12.02 kB / 420.5 MB, free: 5.855 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006897/0.1551, allocations: 1.96 MB / 422.4 MB, free: 3.891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003784/0.1589, allocations: 1.985 MB / 424.4 MB, free: 1.859 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001802/0.1591, allocations: 213.4 kB / 424.6 MB, free: 1.648 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007743/0.1599, allocations: 375.7 kB / 425 MB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01396/0.1738, allocations: 8.943 MB / 433.9 MB, free: 7.691 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-05/0.1739, allocations: 43.58 kB / 434 MB, free: 7.648 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003458/0.1743, allocations: 139.9 kB / 434.1 MB, free: 7.512 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002498/0.1768, allocations: 1.641 MB / 435.7 MB, free: 5.871 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01429/0.1911, allocations: 7.506 MB / 443.2 MB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2212/0.4123, allocations: 32.89 MB / 476.1 MB, free: 60.61 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008601/0.4209, allocations: 3.034 MB / 479.2 MB, free: 60.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001839/0.4227, allocations: 1.383 MB / 480.6 MB, free: 60.46 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008686/0.4314, allocations: 5.361 MB / 485.9 MB, free: 59.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.982e-05/0.4315, allocations: 48.62 kB / 486 MB, free: 59.14 MB / 430.1 MB Notification: Performance of pre-optimization done (n=132): time 4.609e-06/0.4315, allocations: 4.078 kB / 486 MB, free: 59.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=139): time 0.02362/0.4551, allocations: 11.24 MB / 497.2 MB, free: 55.03 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008904/0.456, allocations: 1.58 MB / 498.8 MB, free: 53.49 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003157/0.4591, allocations: 3.385 MB / 0.4904 GB, free: 52.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001617/0.4593, allocations: 48.89 kB / 0.4904 GB, free: 52.19 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009868/0.4603, allocations: 2.927 MB / 0.4933 GB, free: 49.72 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003769/0.4606, allocations: 0.5884 MB / 0.4939 GB, free: 49.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001039/0.4617, allocations: 1.12 MB / 0.495 GB, free: 48.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.109e-05/0.4617, allocations: 302.2 kB / 0.4953 GB, free: 48.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002052/0.4638, allocations: 1.934 MB / 0.4971 GB, free: 46.47 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002907/0.4667, allocations: 5.376 MB / 0.5024 GB, free: 39.42 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005621/0.4723, allocations: 7.843 MB / 0.5101 GB, free: 30.05 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.795e-05/0.4724, allocations: 39.94 kB / 0.5101 GB, free: 30.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01673/0.4891, allocations: 8.83 MB / 0.5187 GB, free: 21.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.105e-05/0.4891, allocations: 56 kB / 0.5188 GB, free: 21.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009995/0.4991, allocations: 3.522 MB / 0.5222 GB, free: 17.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01002/0.5092, allocations: 2.316 MB / 0.5245 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003558/0.5127, allocations: 1.259 MB / 0.5257 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008108/0.5208, allocations: 7.095 MB / 0.5326 GB, free: 6.684 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003926/0.5248, allocations: 391.5 kB / 0.533 GB, free: 6.301 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004676/0.5252, allocations: 347.8 kB / 0.5333 GB, free: 5.965 MB / 430.1 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.002078/0.5273, allocations: 1.84 MB / 0.5351 GB, free: 4.113 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004411/0.5277, allocations: 298 kB / 0.5354 GB, free: 3.82 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005273/0.5283, allocations: 387.3 kB / 0.5358 GB, free: 3.434 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004068/0.5323, allocations: 2.359 MB / 0.5381 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.5323, allocations: 4 kB / 0.5381 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.5324, allocations: 7.969 kB / 0.5381 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01298/0.5453, allocations: 6.898 MB / 0.5448 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.457e-06/0.5453, allocations: 4 kB / 0.5448 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/0.5465, allocations: 233.2 kB / 0.5451 GB, free: 9.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00326/0.5497, allocations: 1.057 MB / 0.5461 GB, free: 8.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001325/0.5499, allocations: 35.97 kB / 0.5461 GB, free: 8.734 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006275/0.5561, allocations: 5 MB / 0.551 GB, free: 3.539 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001191/0.5573, allocations: 1.446 MB / 0.5524 GB, free: 1.988 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008474/0.5658, allocations: 4.971 MB / 0.5573 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007372/0.5665, allocations: 262 kB / 0.5575 GB, free: 12.72 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002788/0.5668, allocations: 27.98 kB / 0.5576 GB, free: 12.69 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001301/0.5681, allocations: 127.8 kB / 0.5577 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002341/0.5684, allocations: 88.42 kB / 0.5578 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/0.5685, allocations: 51.97 kB / 0.5578 GB, free: 12.43 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002931/0.5714, allocations: 1.924 MB / 0.5597 GB, free: 10.51 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5714, allocations: 0 / 0.5597 GB, free: 10.51 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004261/0.5757, allocations: 0.9603 MB / 0.5606 GB, free: 9.551 MB / 462.1 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.0003696/0.576, allocations: 163.1 kB / 0.5608 GB, free: 9.383 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009617/0.5857, allocations: 4.908 MB / 0.5656 GB, free: 4.465 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.5857, allocations: 0 / 0.5656 GB, free: 4.465 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00418/0.5899, allocations: 1.799 MB / 0.5673 GB, free: 2.633 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00214/0.592, allocations: 346.3 kB / 0.5677 GB, free: 2.309 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01443/0.6064, allocations: 8.57 MB / 0.576 GB, free: 9.688 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003239/0.6097, allocations: 2.356 MB / 0.5783 GB, free: 7.297 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003877/0.6135, allocations: 1.67 MB / 0.58 GB, free: 5.621 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000567/0.6141, allocations: 200.5 kB / 0.5802 GB, free: 5.426 MB / 478.1 MB Notification: Performance of SimCode: time 7.32e-07/0.6141, allocations: 0 / 0.5802 GB, free: 5.426 MB / 478.1 MB Notification: Performance of Templates: time 0.06268/0.6768, allocations: 30.17 MB / 0.6096 GB, free: 7.695 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.030550058931112]