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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 97.77 kB / 16.95 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 183.7 kB / 17.84 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB 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.0004871/0.0004873, allocations: 12 kB / 280.8 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1137, allocations: 47.59 MB / 328.4 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.03918/0.153, allocations: 34.76 MB / 363.1 MB, free: 1.215 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01804/0.171, allocations: 8.054 MB / 371.2 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007054/0.1781, allocations: 163.6 kB / 371.3 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005443/0.1836, allocations: 1.765 MB / 373.1 MB, free: 7.203 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01334/0.197, allocations: 5.354 MB / 378.5 MB, free: 1.828 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002168/0.1992, allocations: 0.511 MB / 379 MB, free: 1.316 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1781/0.3773, allocations: 3.96 MB / 382.9 MB, free: 10.72 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006212/0.3836, allocations: 3.72 MB / 386.6 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002657/0.3863, allocations: 1.113 MB / 387.8 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003213/0.3895, allocations: 1.659 MB / 389.4 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007316/0.3903, allocations: 120.8 kB / 389.5 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002162/0.3924, allocations: 0.8844 MB / 390.4 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001684/0.3941, allocations: 1.474 MB / 391.9 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008607/0.395, allocations: 0.7363 MB / 392.6 MB, free: 10.28 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004829/0.3998, allocations: 4.77 MB / 397.4 MB, free: 9.961 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.3999, allocations: 4.859 kB / 397.4 MB, free: 9.961 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3999, allocations: 0 / 397.4 MB, free: 9.961 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000183/0.4001, allocations: 0 / 397.4 MB, free: 9.961 MB / 318.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.006546/0.4066, allocations: 3.519 MB / 400.9 MB, free: 7.805 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.4067, allocations: 11.34 kB / 400.9 MB, free: 7.805 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00596/0.4126, allocations: 1.877 MB / 402.8 MB, free: 6.906 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004341/0.417, allocations: 2.029 MB / 404.8 MB, free: 6.168 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001372/0.4172, allocations: 211.5 kB / 405 MB, free: 6.16 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008938/0.4181, allocations: 376.8 kB / 405.4 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01515/0.4332, allocations: 8.85 MB / 414.3 MB, free: 3.07 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001015/0.4334, allocations: 38.94 kB / 414.3 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003741/0.4338, allocations: 139.5 kB / 414.4 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002155/0.4359, allocations: 1.64 MB / 416.1 MB, free: 2.051 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01483/0.4508, allocations: 7.479 MB / 423.6 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05616/0.507, allocations: 35.15 MB / 458.7 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008962/0.516, allocations: 3.435 MB / 462.1 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002351/0.5184, allocations: 1.437 MB / 463.6 MB, free: 8.637 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01158/0.53, allocations: 6.816 MB / 470.4 MB, free: 1.559 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/0.5301, allocations: 43.22 kB / 470.4 MB, free: 1.508 MB / 366.1 MB Notification: Performance of pre-optimization done (n=132): time 4.899e-06/0.5301, allocations: 4 kB / 470.4 MB, free: 1.504 MB / 366.1 MB Notification: Performance of matching and sorting (n=139): time 0.03132/0.5614, allocations: 11.11 MB / 481.6 MB, free: 6.254 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001616/0.5631, allocations: 1.623 MB / 483.2 MB, free: 4.469 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0074/0.5705, allocations: 3.527 MB / 486.7 MB, free: 0.9453 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000528/0.5711, allocations: 41.7 kB / 486.7 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002773/0.5739, allocations: 2.793 MB / 489.5 MB, free: 14.12 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001134/0.575, allocations: 0.5708 MB / 490.1 MB, free: 13.56 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007377/0.5758, allocations: 109.4 kB / 490.2 MB, free: 13.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0005963/0.5764, allocations: 0.5335 MB / 490.8 MB, free: 12.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003933/0.5803, allocations: 1.896 MB / 492.6 MB, free: 11.01 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006755/0.5871, allocations: 5.345 MB / 498 MB, free: 3.996 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005645/0.5928, allocations: 3.121 MB / 0.4894 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001354/0.593, allocations: 36 kB / 0.4894 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02196/0.6149, allocations: 8.71 MB / 0.4979 GB, free: 8.434 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001623/0.6151, allocations: 59.95 kB / 0.498 GB, free: 8.375 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01078/0.6259, allocations: 3.432 MB / 0.5013 GB, free: 4.934 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01016/0.6361, allocations: 2.246 MB / 0.5035 GB, free: 2.672 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004692/0.6409, allocations: 1.255 MB / 0.5047 GB, free: 1.414 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01063/0.6515, allocations: 6.806 MB / 0.5114 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005415/0.657, allocations: 384.2 kB / 0.5117 GB, free: 9.961 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001559/0.6586, allocations: 336.7 kB / 0.5121 GB, free: 9.633 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 (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005008/0.6636, allocations: 1.865 MB / 0.5139 GB, free: 7.758 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008313/0.6645, allocations: 300.1 kB / 0.5142 GB, free: 7.461 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006998/0.6715, allocations: 2.769 MB / 0.5169 GB, free: 4.676 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004764/0.6763, allocations: 2.351 MB / 0.5192 GB, free: 2.301 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.897e-05/0.6763, allocations: 4 kB / 0.5192 GB, free: 2.297 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.406e-05/0.6764, allocations: 7.984 kB / 0.5192 GB, free: 2.289 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01675/0.6931, allocations: 7.845 MB / 0.5269 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-05/0.6932, allocations: 4 kB / 0.5269 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/0.6943, allocations: 223.6 kB / 0.5271 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003141/0.6975, allocations: 1.061 MB / 0.5281 GB, free: 9.062 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001913/0.6977, allocations: 32.53 kB / 0.5281 GB, free: 9.031 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00609/0.7038, allocations: 4.961 MB / 0.533 GB, free: 3.801 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001144/0.705, allocations: 1.471 MB / 0.5344 GB, free: 2.188 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2269/0.9319, allocations: 4.948 MB / 0.5392 GB, free: 158.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001178/0.9331, allocations: 381.5 kB / 0.5396 GB, free: 158.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005134/0.9336, allocations: 29.33 kB / 0.5396 GB, free: 158.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001393/0.935, allocations: 124.3 kB / 0.5398 GB, free: 158.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002489/0.9353, allocations: 86.88 kB / 0.5398 GB, free: 158.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001245/0.9354, allocations: 46.48 kB / 0.5399 GB, free: 158.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004476/0.9399, allocations: 2.176 MB / 0.542 GB, free: 158.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.91e-07/0.9399, allocations: 0 / 0.542 GB, free: 158.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005908/0.9458, allocations: 0.9768 MB / 0.543 GB, free: 158.5 MB / 446.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 (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005192/0.9464, allocations: 161.5 kB / 0.5431 GB, free: 158.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0123/0.9587, allocations: 5.177 MB / 0.5482 GB, free: 156.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.539e-05/0.9588, allocations: 3.469 kB / 0.5482 GB, free: 156.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003829/0.9626, allocations: 2.004 MB / 0.5501 GB, free: 155.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003068/0.9657, allocations: 390.2 kB / 0.5505 GB, free: 155.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01573/0.9814, allocations: 9.976 MB / 0.5602 GB, free: 150.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003014/0.9845, allocations: 2.906 MB / 0.5631 GB, free: 149.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004118/0.9886, allocations: 1.705 MB / 0.5648 GB, free: 149.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008106/0.9895, allocations: 221.1 kB / 0.565 GB, free: 149.1 MB / 446.1 MB Notification: Performance of SimCode: time 1.523e-06/0.9895, allocations: 0 / 0.565 GB, free: 149.1 MB / 446.1 MB Notification: Performance of Templates: time 0.0591/1.049, allocations: 33.83 MB / 0.598 GB, free: 118.8 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile (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) 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","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches