Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 104.6 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001991/0.001991, allocations: 181.2 kB / 24.46 MB, free: 4.059 MB / 14.72 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 1.538/1.538, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001764/0.001764, allocations: 51.92 kB / 347.7 MB, free: 9.559 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3072, allocations: 49.16 MB / 396.8 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.009692/0.3169, allocations: 10.52 MB / 407.3 MB, free: 2.066 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008189/0.3251, allocations: 3.874 MB / 411.2 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003049/0.3281, allocations: 74.5 kB / 411.3 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00556/0.3337, allocations: 2.351 MB / 413.6 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005142/0.3388, allocations: 1.728 MB / 415.4 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001873/0.3407, allocations: 0.6198 MB / 416 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00546/0.3462, allocations: 3.461 MB / 419.4 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003388/0.3495, allocations: 2.238 MB / 421.7 MB, free: 9.277 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003376/0.3529, allocations: 1.401 MB / 423.1 MB, free: 8.488 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004366/0.3573, allocations: 1.951 MB / 425 MB, free: 7.113 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007925/0.3581, allocations: 292 kB / 425.3 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002785/0.3609, allocations: 1.178 MB / 426.5 MB, free: 5.648 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002097/0.363, allocations: 1.745 MB / 428.2 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003079/0.366, allocations: 1.965 MB / 430.2 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009815/0.3759, allocations: 6.268 MB / 436.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.3759, allocations: 0 / 436.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3759, allocations: 0 / 436.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002131/0.3761, allocations: 4 kB / 436.5 MB, free: 11.63 MB / 350.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.009968/0.386, allocations: 4.277 MB / 440.8 MB, free: 7.297 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.3861, allocations: 11.98 kB / 440.8 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007078/0.3932, allocations: 1.847 MB / 442.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005736/0.3989, allocations: 2.055 MB / 444.7 MB, free: 3.332 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002194/0.3991, allocations: 213.4 kB / 444.9 MB, free: 3.121 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001245/0.4004, allocations: 371.7 kB / 445.2 MB, free: 2.758 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01741/0.4178, allocations: 8.862 MB / 454.1 MB, free: 9.266 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001016/0.4179, allocations: 39.64 kB / 454.1 MB, free: 9.227 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004013/0.4183, allocations: 139.9 kB / 454.3 MB, free: 9.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002766/0.4211, allocations: 1.641 MB / 455.9 MB, free: 7.445 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01613/0.4372, allocations: 7.494 MB / 463.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05216/0.4894, allocations: 34.96 MB / 498.4 MB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00936/0.4987, allocations: 2.895 MB / 0.4895 GB, free: 8.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002214/0.5009, allocations: 1.386 MB / 0.4909 GB, free: 7.582 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01086/0.5118, allocations: 5.678 MB / 0.4964 GB, free: 1.871 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.092e-05/0.5118, allocations: 51.22 kB / 0.4965 GB, free: 1.812 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 4.268e-06/0.5118, allocations: 0 / 0.4965 GB, free: 1.812 MB / 414.1 MB Notification: Performance of matching and sorting (n=139): time 0.0291/0.5409, allocations: 11.01 MB / 0.5072 GB, free: 6.723 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001668/0.5426, allocations: 1.615 MB / 0.5088 GB, free: 4.953 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005508/0.5481, allocations: 3.556 MB / 0.5123 GB, free: 1.398 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005043/0.5486, allocations: 41.98 kB / 0.5123 GB, free: 1.352 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003575/0.5522, allocations: 2.904 MB / 0.5152 GB, free: 14.42 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001515/0.5537, allocations: 0.5972 MB / 0.5157 GB, free: 13.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002088/0.5558, allocations: 1.115 MB / 0.5168 GB, free: 12.69 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.5559, allocations: 305.1 kB / 0.5171 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003505/0.5594, allocations: 1.92 MB / 0.519 GB, free: 10.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007076/0.5665, allocations: 5.365 MB / 0.5242 GB, free: 3.367 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01203/0.5785, allocations: 7.837 MB / 0.5319 GB, free: 9.812 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001105/0.5786, allocations: 32 kB / 0.5319 GB, free: 9.781 MB / 462.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02344/0.6021, allocations: 8.763 MB / 0.5405 GB, free: 1 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001393/0.6022, allocations: 60 kB / 0.5405 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01182/0.6141, allocations: 3.424 MB / 0.5439 GB, free: 13.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01183/0.6259, allocations: 2.242 MB / 0.5461 GB, free: 11.25 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004675/0.6306, allocations: 1.248 MB / 0.5473 GB, free: 9.996 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01197/0.6425, allocations: 7.21 MB / 0.5543 GB, free: 2.551 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004542/0.6471, allocations: 383.5 kB / 0.5547 GB, free: 2.176 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001024/0.6481, allocations: 344 kB / 0.555 GB, free: 1.84 MB / 478.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.2088/0.8569, allocations: 1.841 MB / 0.5568 GB, free: 144.1 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000937/0.8579, allocations: 321.3 kB / 0.5571 GB, free: 144.1 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00676/0.8646, allocations: 2.757 MB / 0.5598 GB, free: 143.8 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005002/0.8696, allocations: 2.344 MB / 0.5621 GB, free: 143.1 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.702e-05/0.8696, allocations: 3.609 kB / 0.5621 GB, free: 143.1 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.36e-05/0.8697, allocations: 7.25 kB / 0.5621 GB, free: 143.1 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01457/0.8842, allocations: 7.722 MB / 0.5697 GB, free: 140.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.37e-05/0.8843, allocations: 2.219 kB / 0.5697 GB, free: 140.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/0.8853, allocations: 221.8 kB / 0.5699 GB, free: 140.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003113/0.8884, allocations: 1.062 MB / 0.5709 GB, free: 139.9 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001409/0.8886, allocations: 35.17 kB / 0.5709 GB, free: 139.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005179/0.8938, allocations: 5.07 MB / 0.5759 GB, free: 136.6 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008102/0.8946, allocations: 1.466 MB / 0.5773 GB, free: 135.2 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007511/0.9021, allocations: 4.968 MB / 0.5822 GB, free: 133.4 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008657/0.903, allocations: 308 kB / 0.5825 GB, free: 133.3 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003264/0.9033, allocations: 27.78 kB / 0.5825 GB, free: 133.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001321/0.9046, allocations: 127 kB / 0.5826 GB, free: 133.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002365/0.9048, allocations: 88.16 kB / 0.5827 GB, free: 133.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.9049, allocations: 49.36 kB / 0.5827 GB, free: 133.3 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002629/0.9076, allocations: 2.199 MB / 0.5849 GB, free: 132.2 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.9076, allocations: 3.875 kB / 0.5849 GB, free: 132.2 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004744/0.9123, allocations: 0.9687 MB / 0.5858 GB, free: 132.1 MB / 478.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.000518/0.9128, allocations: 167.1 kB / 0.586 GB, free: 132 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007816/0.9206, allocations: 4.881 MB / 0.5908 GB, free: 129.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/0.9207, allocations: 0 / 0.5908 GB, free: 129.6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003413/0.9241, allocations: 1.79 MB / 0.5925 GB, free: 127.8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002863/0.9269, allocations: 391.8 kB / 0.5929 GB, free: 127.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01162/0.9385, allocations: 8.623 MB / 0.6013 GB, free: 118.9 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002164/0.9407, allocations: 2.912 MB / 0.6042 GB, free: 115.9 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003208/0.9439, allocations: 1.703 MB / 0.6058 GB, free: 114.2 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005442/0.9445, allocations: 211.4 kB / 0.606 GB, free: 114 MB / 478.1 MB Notification: Performance of SimCode: time 1.273e-06/0.9445, allocations: 4 kB / 0.606 GB, free: 114 MB / 478.1 MB Notification: Performance of Templates: time 0.05772/1.002, allocations: 37.33 MB / 0.6425 GB, free: 76.78 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.743197733536363]