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.002028/0.002028, allocations: 114.6 kB / 18.5 MB, free: 4.562 MB / 14.72 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.002629/0.002629, allocations: 198.6 kB / 21.45 MB, free: 1.613 MB / 14.72 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.565/1.565, allocations: 230.2 MB / 254.5 MB, free: 15.45 MB / 206.1 MB " [Timeout remaining time 178] 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.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_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.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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 63.89 kB / 373.8 MB, free: 9.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1073, allocations: 53.33 MB / 427.2 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01208/0.1194, allocations: 10.46 MB / 437.6 MB, free: 10.02 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00773/0.1271, allocations: 3.863 MB / 441.5 MB, free: 6.141 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00124/0.1284, allocations: 67.69 kB / 441.6 MB, free: 6.074 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00422/0.1326, allocations: 2.332 MB / 443.9 MB, free: 3.734 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003749/0.1363, allocations: 1.697 MB / 445.6 MB, free: 2.031 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001268/0.1376, allocations: 0.6044 MB / 446.2 MB, free: 1.426 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.213/0.3506, allocations: 3.485 MB / 449.7 MB, free: 8.766 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00372/0.3543, allocations: 2.559 MB / 452.2 MB, free: 8.582 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002966/0.3573, allocations: 1.361 MB / 453.6 MB, free: 8.465 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003198/0.3605, allocations: 1.945 MB / 455.5 MB, free: 8.254 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009765/0.3615, allocations: 291.7 kB / 455.8 MB, free: 8.254 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002513/0.364, allocations: 1.164 MB / 457 MB, free: 8.254 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002123/0.3661, allocations: 1.725 MB / 458.7 MB, free: 8.047 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002252/0.3683, allocations: 1.939 MB / 460.7 MB, free: 7.113 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008645/0.377, allocations: 6.217 MB / 466.9 MB, free: 5.012 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.377, allocations: 0 / 466.9 MB, free: 5.012 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.377, allocations: 1.375 kB / 466.9 MB, free: 5.012 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002689/0.3773, allocations: 4 kB / 466.9 MB, free: 5.008 MB / 366.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.01235/0.3896, allocations: 4.31 MB / 471.2 MB, free: 2.582 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.3897, allocations: 13.59 kB / 471.2 MB, free: 2.578 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00754/0.3972, allocations: 1.912 MB / 473.1 MB, free: 1.828 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004841/0.402, allocations: 2.03 MB / 475.1 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001999/0.4022, allocations: 216.8 kB / 475.4 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001405/0.4037, allocations: 371.3 kB / 475.7 MB, free: 436 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02136/0.425, allocations: 8.896 MB / 484.6 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001799/0.4252, allocations: 37 kB / 484.6 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001257/0.4264, allocations: 138.1 kB / 484.8 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002645/0.4291, allocations: 1.641 MB / 486.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01696/0.446, allocations: 7.522 MB / 493.9 MB, free: 4.352 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06052/0.5066, allocations: 35.08 MB / 0.5166 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01017/0.5167, allocations: 3.379 MB / 0.5199 GB, free: 13.22 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002609/0.5193, allocations: 1.38 MB / 0.5213 GB, free: 11.83 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01499/0.5343, allocations: 6.902 MB / 0.528 GB, free: 4.652 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.595e-05/0.5344, allocations: 48.09 kB / 0.5281 GB, free: 4.598 MB / 430.1 MB Notification: Performance of pre-optimization done (n=132): time 6.142e-06/0.5344, allocations: 0 / 0.5281 GB, free: 4.598 MB / 430.1 MB Notification: Performance of matching and sorting (n=139): time 0.03504/0.5695, allocations: 11.36 MB / 0.5392 GB, free: 9.129 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001784/0.5712, allocations: 1.709 MB / 0.5408 GB, free: 7.254 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007959/0.5792, allocations: 3.536 MB / 0.5443 GB, free: 3.723 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004606/0.5797, allocations: 49.14 kB / 0.5443 GB, free: 3.672 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002821/0.5825, allocations: 2.9 MB / 0.5472 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001216/0.5837, allocations: 0.5915 MB / 0.5477 GB, free: 208 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003694/0.5874, allocations: 1.121 MB / 0.5488 GB, free: 15.09 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.5875, allocations: 301.1 kB / 0.5491 GB, free: 14.79 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004351/0.5919, allocations: 1.935 MB / 0.551 GB, free: 12.85 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00712/0.599, allocations: 5.367 MB / 0.5562 GB, free: 5.809 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01139/0.6104, allocations: 7.847 MB / 0.5639 GB, free: 12.27 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001876/0.6106, allocations: 40 kB / 0.5639 GB, free: 12.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02532/0.6359, allocations: 8.851 MB / 0.5726 GB, free: 3.363 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001581/0.636, allocations: 60.22 kB / 0.5726 GB, free: 3.305 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01162/0.6477, allocations: 3.517 MB / 0.5761 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01081/0.6585, allocations: 2.324 MB / 0.5784 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004533/0.663, allocations: 1.255 MB / 0.5796 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01187/0.6749, allocations: 7.439 MB / 0.5868 GB, free: 4.457 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005167/0.68, allocations: 393.5 kB / 0.5872 GB, free: 4.074 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001108/0.6812, allocations: 340 kB / 0.5875 GB, free: 3.742 MB / 494.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.004693/0.6858, allocations: 1.852 MB / 0.5894 GB, free: 1.883 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008756/0.6867, allocations: 313.9 kB / 0.5897 GB, free: 1.574 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/0.6879, allocations: 413.6 kB / 0.59 GB, free: 1.168 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005301/0.6932, allocations: 2.373 MB / 0.5924 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-05/0.6932, allocations: 4 kB / 0.5924 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-05/0.6932, allocations: 3.984 kB / 0.5924 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01731/0.7105, allocations: 7.852 MB / 0.6 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.583e-05/0.7105, allocations: 4 kB / 0.6 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001174/0.7117, allocations: 227.7 kB / 0.6003 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003434/0.7151, allocations: 1.064 MB / 0.6013 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000195/0.7153, allocations: 27.98 kB / 0.6013 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006821/0.7222, allocations: 5.285 MB / 0.6065 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001334/0.7235, allocations: 1.563 MB / 0.608 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009533/0.733, allocations: 5.001 MB / 0.6129 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00129/0.7343, allocations: 378.8 kB / 0.6133 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009029/0.7352, allocations: 31.92 kB / 0.6133 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002113/0.7373, allocations: 127.8 kB / 0.6134 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000363/0.7377, allocations: 89.42 kB / 0.6135 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001532/0.7378, allocations: 35.98 kB / 0.6135 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005373/0.7432, allocations: 2.179 MB / 0.6157 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.7432, allocations: 0 / 0.6157 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006414/0.7496, allocations: 0.9591 MB / 0.6166 GB, free: 5.398 MB / 0.5137 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.0007027/0.7503, allocations: 170.2 kB / 0.6168 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01109/0.7614, allocations: 5.042 MB / 0.6217 GB, free: 148 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/0.7614, allocations: 4.188 kB / 0.6217 GB, free: 144 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00448/0.7659, allocations: 1.948 MB / 0.6236 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003527/0.7694, allocations: 405.9 kB / 0.624 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01836/0.7878, allocations: 8.537 MB / 0.6323 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004744/0.7925, allocations: 2.893 MB / 0.6351 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004495/0.797, allocations: 1.703 MB / 0.6368 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008471/0.7979, allocations: 211.4 kB / 0.637 GB, free: 308 kB / 0.5294 GB Notification: Performance of SimCode: time 8.91e-07/0.7979, allocations: 0 / 0.637 GB, free: 308 kB / 0.5294 GB Notification: Performance of Templates: time 0.2615/1.059, allocations: 33.42 MB / 0.6696 GB, free: 167.5 MB / 0.5294 GB " [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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.656199770979583]