Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001399/0.001399, allocations: 116.9 kB / 18.41 MB, free: 4.625 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.001369/0.001369, allocations: 190.9 kB / 21.34 MB, free: 1.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 222.9 MB / 247 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 51.92 kB / 358.7 MB, free: 8.293 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1185, allocations: 49.43 MB / 408.1 MB, free: 6.812 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01195/0.1305, allocations: 10.46 MB / 418.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007719/0.1382, allocations: 3.832 MB / 422.4 MB, free: 8.469 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001891/0.1402, allocations: 63.81 kB / 422.5 MB, free: 8.406 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004861/0.1451, allocations: 2.309 MB / 424.8 MB, free: 6.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00452/0.1496, allocations: 1.685 MB / 426.4 MB, free: 4.398 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001524/0.1512, allocations: 0.6122 MB / 427.1 MB, free: 3.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005584/0.1568, allocations: 3.454 MB / 430.5 MB, free: 332 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2183/0.3751, allocations: 3.021 MB / 433.5 MB, free: 5.004 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002568/0.3778, allocations: 1.368 MB / 434.9 MB, free: 4.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003303/0.3811, allocations: 1.797 MB / 436.7 MB, free: 4.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001075/0.3822, allocations: 292 kB / 437 MB, free: 4.715 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002791/0.385, allocations: 1.143 MB / 438.1 MB, free: 4.711 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002404/0.3874, allocations: 1.671 MB / 439.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003096/0.3905, allocations: 1.965 MB / 441.8 MB, free: 3.848 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009821/0.4004, allocations: 6.255 MB / 448 MB, free: 2.867 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.4004, allocations: 1.594 kB / 448 MB, free: 2.867 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4004, allocations: 0 / 448 MB, free: 2.867 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002505/0.4007, allocations: 0 / 448 MB, free: 2.867 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.01123/0.4119, allocations: 4.334 MB / 452.4 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.412, allocations: 9.594 kB / 452.4 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007141/0.4191, allocations: 1.86 MB / 454.2 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005511/0.4247, allocations: 2.063 MB / 456.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002585/0.425, allocations: 222.7 kB / 456.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001465/0.4264, allocations: 363.4 kB / 456.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01898/0.4454, allocations: 8.873 MB / 465.7 MB, free: 11.06 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001333/0.4456, allocations: 45.98 kB / 465.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006284/0.4463, allocations: 136.7 kB / 465.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00251/0.4488, allocations: 1.641 MB / 467.6 MB, free: 10.37 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01734/0.4661, allocations: 7.503 MB / 475.1 MB, free: 3.359 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05218/0.5184, allocations: 35.07 MB / 0.4982 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009085/0.5275, allocations: 3.447 MB / 0.5015 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002305/0.5298, allocations: 1.44 MB / 0.5029 GB, free: 10.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01119/0.541, allocations: 6.817 MB / 0.5096 GB, free: 3.602 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.328e-05/0.5411, allocations: 53.31 kB / 0.5096 GB, free: 3.543 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 4.458e-06/0.5411, allocations: 0 / 0.5096 GB, free: 3.543 MB / 414.1 MB Notification: Performance of matching and sorting (n=139): time 0.03015/0.5713, allocations: 11.3 MB / 0.5207 GB, free: 8.129 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001723/0.5731, allocations: 1.713 MB / 0.5224 GB, free: 6.242 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006139/0.5792, allocations: 3.536 MB / 0.5258 GB, free: 2.707 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004142/0.5797, allocations: 45.38 kB / 0.5259 GB, free: 2.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002635/0.5823, allocations: 2.911 MB / 0.5287 GB, free: 15.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009652/0.5833, allocations: 0.5895 MB / 0.5293 GB, free: 15.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001872/0.5852, allocations: 1.12 MB / 0.5304 GB, free: 14.06 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.5853, allocations: 305.2 kB / 0.5307 GB, free: 13.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003134/0.5885, allocations: 1.916 MB / 0.5325 GB, free: 11.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006458/0.5949, allocations: 5.369 MB / 0.5378 GB, free: 4.797 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01036/0.6053, allocations: 7.828 MB / 0.5454 GB, free: 11.64 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001/0.6054, allocations: 36 kB / 0.5454 GB, free: 11.61 MB / 462.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02278/0.6282, allocations: 8.775 MB / 0.554 GB, free: 2.816 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.817e-05/0.6283, allocations: 62.97 kB / 0.5541 GB, free: 2.758 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01115/0.6395, allocations: 3.44 MB / 0.5574 GB, free: 15.31 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01069/0.6502, allocations: 2.234 MB / 0.5596 GB, free: 13.06 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004295/0.6546, allocations: 1.251 MB / 0.5608 GB, free: 11.81 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01113/0.6657, allocations: 7.421 MB / 0.5681 GB, free: 4.102 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004977/0.6707, allocations: 386.8 kB / 0.5685 GB, free: 3.727 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001024/0.6718, allocations: 340 kB / 0.5688 GB, free: 3.395 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.004142/0.6759, allocations: 1.842 MB / 0.5706 GB, free: 1.539 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007535/0.6767, allocations: 317.9 kB / 0.5709 GB, free: 1.227 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006001/0.6827, allocations: 2.768 MB / 0.5736 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004883/0.6876, allocations: 2.363 MB / 0.5759 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.506e-05/0.6876, allocations: 4 kB / 0.5759 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.958e-05/0.6877, allocations: 3.984 kB / 0.5759 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0163/0.704, allocations: 7.846 MB / 0.5836 GB, free: 4.117 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.835e-05/0.704, allocations: 4 kB / 0.5836 GB, free: 4.113 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001176/0.7052, allocations: 219.7 kB / 0.5838 GB, free: 3.898 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003245/0.7085, allocations: 1.061 MB / 0.5848 GB, free: 2.824 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002182/0.7087, allocations: 35.97 kB / 0.5848 GB, free: 2.789 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006403/0.7151, allocations: 5.289 MB / 0.59 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001246/0.7164, allocations: 1.557 MB / 0.5915 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008519/0.7249, allocations: 4.976 MB / 0.5964 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/0.726, allocations: 382.8 kB / 0.5968 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003935/0.7264, allocations: 31.98 kB / 0.5968 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001363/0.7277, allocations: 126.8 kB / 0.5969 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002765/0.728, allocations: 88.47 kB / 0.597 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001243/0.7282, allocations: 43.92 kB / 0.597 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003902/0.7321, allocations: 2.183 MB / 0.5992 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.41e-07/0.7321, allocations: 0 / 0.5992 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005532/0.7376, allocations: 0.9648 MB / 0.6001 GB, free: 2.688 MB / 0.4981 GB 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.0005739/0.7382, allocations: 170 kB / 0.6003 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01059/0.7488, allocations: 5.254 MB / 0.6054 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.455e-06/0.7489, allocations: 0 / 0.6054 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004064/0.7529, allocations: 2.027 MB / 0.6074 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002716/0.7557, allocations: 396.8 kB / 0.6078 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01696/0.7726, allocations: 8.942 MB / 0.6165 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1971/0.9698, allocations: 2.892 MB / 0.6193 GB, free: 176.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000927/0.9708, allocations: 256.8 kB / 0.6196 GB, free: 176.3 MB / 0.5137 GB Notification: Performance of SimCode: time 7.81e-07/0.9708, allocations: 0 / 0.6196 GB, free: 176.3 MB / 0.5137 GB Notification: Performance of Templates: time 0.1126/1.083, allocations: 118.1 MB / 0.7349 GB, free: 79.65 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 13.388508044998161]