Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002479/0.002488, allocations: 186.9 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.709/3.709, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002052/0.002052, allocations: 94.86 kB / 270.9 MB, free: 13.39 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006897/0.0006899, allocations: 16 kB / 327 MB, free: 15.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2419, allocations: 47.57 MB / 374.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.5044/0.7464, allocations: 32.84 MB / 407.4 MB, free: 4.07 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.04067/0.7871, allocations: 8.372 MB / 415.8 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01348/0.8007, allocations: 168 kB / 415.9 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01059/0.8114, allocations: 1.598 MB / 417.5 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03483/0.8463, allocations: 4.797 MB / 422.3 MB, free: 10.49 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005227/0.8516, allocations: 0.4977 MB / 422.8 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.008467/0.8601, allocations: 1.965 MB / 424.8 MB, free: 8.984 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01262/0.8728, allocations: 3.697 MB / 428.5 MB, free: 6.371 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004061/0.877, allocations: 0.911 MB / 429.4 MB, free: 5.457 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004493/0.8815, allocations: 1.16 MB / 430.5 MB, free: 4.293 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001354/0.883, allocations: 120 kB / 430.7 MB, free: 4.176 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004747/0.8878, allocations: 0.8582 MB / 431.5 MB, free: 3.316 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004017/0.8919, allocations: 1.375 MB / 432.9 MB, free: 1.938 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002576/0.8945, allocations: 0.7376 MB / 433.6 MB, free: 1.191 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01317/0.9078, allocations: 4.783 MB / 438.4 MB, free: 12.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.9079, allocations: 0 / 438.4 MB, free: 12.39 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.629e-06/0.9079, allocations: 0 / 438.4 MB, free: 12.39 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002418/0.9081, allocations: 0 / 438.4 MB, free: 12.39 MB / 314.7 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.01896/0.9271, allocations: 3.544 MB / 442 MB, free: 8.785 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.628e-05/0.9272, allocations: 8.031 kB / 442 MB, free: 8.777 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02354/0.9508, allocations: 2.187 MB / 444.2 MB, free: 6.582 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01127/0.9621, allocations: 2.252 MB / 446.4 MB, free: 4.273 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005052/0.9627, allocations: 213.4 kB / 446.6 MB, free: 4.062 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003435/0.9662, allocations: 367.7 kB / 447 MB, free: 3.703 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04335/1.01, allocations: 8.944 MB / 455.9 MB, free: 10.13 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003152/1.01, allocations: 35.69 kB / 456 MB, free: 10.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002069/1.012, allocations: 135.9 kB / 456.1 MB, free: 9.961 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007761/1.02, allocations: 1.63 MB / 457.7 MB, free: 8.324 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04587/1.066, allocations: 7.58 MB / 465.3 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.114/1.18, allocations: 35.26 MB / 0.4888 GB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02546/1.205, allocations: 3.463 MB / 0.4922 GB, free: 8.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03079/1.236, allocations: 6.847 MB / 0.4989 GB, free: 1.656 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001066/1.237, allocations: 59.14 kB / 0.499 GB, free: 1.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=132): time 9.669e-06/1.237, allocations: 0 / 0.499 GB, free: 1.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=139): time 0.08162/1.318, allocations: 11.47 MB / 0.5102 GB, free: 5.887 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00293/1.321, allocations: 1.628 MB / 0.5117 GB, free: 4.09 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01449/1.336, allocations: 3.669 MB / 0.5153 GB, free: 432 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005821/1.336, allocations: 45.64 kB / 0.5154 GB, free: 380 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004843/1.341, allocations: 2.74 MB / 0.5181 GB, free: 13.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001718/1.343, allocations: 0.5749 MB / 0.5186 GB, free: 13.01 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001117/1.344, allocations: 112 kB / 0.5187 GB, free: 12.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0009877/1.345, allocations: 0.5303 MB / 0.5192 GB, free: 12.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009206/1.355, allocations: 1.927 MB / 0.5211 GB, free: 10.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01453/1.369, allocations: 5.349 MB / 0.5263 GB, free: 3.348 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01313/1.382, allocations: 3.133 MB / 0.5294 GB, free: 212 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001805/1.383, allocations: 36 kB / 0.5294 GB, free: 176 kB / 410.7 MB Notification: Performance of matching and sorting (n=710) (initialization): time 0.05749/1.44, allocations: 8.657 MB / 0.5379 GB, free: 7.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001969/1.44, allocations: 67.95 kB / 0.538 GB, free: 7.434 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03403/1.475, allocations: 3.472 MB / 0.5413 GB, free: 3.941 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03023/1.505, allocations: 2.258 MB / 0.5436 GB, free: 1.668 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01113/1.516, allocations: 1.248 MB / 0.5448 GB, free: 428 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4344/1.951, allocations: 7.226 MB / 0.5518 GB, free: 136.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0107/1.961, allocations: 377.2 kB / 0.5522 GB, free: 136.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00197/1.963, allocations: 342.2 kB / 0.5525 GB, free: 136.2 MB / 426.7 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 (672): * Single equations (assignments): 663 * 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.008461/1.972, allocations: 1.848 MB / 0.5543 GB, free: 135.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001359/1.973, allocations: 303.1 kB / 0.5546 GB, free: 135.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01704/1.99, allocations: 2.772 MB / 0.5573 GB, free: 134.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01375/2.004, allocations: 2.357 MB / 0.5596 GB, free: 133.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.852e-05/2.004, allocations: 3.156 kB / 0.5596 GB, free: 133.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.023e-05/2.004, allocations: 7.234 kB / 0.5596 GB, free: 133.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03814/2.043, allocations: 7.857 MB / 0.5673 GB, free: 130.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.453e-05/2.043, allocations: 0 / 0.5673 GB, free: 130.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003515/2.046, allocations: 225.9 kB / 0.5675 GB, free: 130.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009202/2.055, allocations: 1.054 MB / 0.5685 GB, free: 130.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005211/2.056, allocations: 35.39 kB / 0.5686 GB, free: 130.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01363/2.07, allocations: 5.064 MB / 0.5735 GB, free: 127.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001992/2.072, allocations: 1.493 MB / 0.575 GB, free: 125.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02092/2.093, allocations: 5.094 MB / 0.58 GB, free: 123.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00185/2.095, allocations: 376 kB / 0.5803 GB, free: 123.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001527/2.096, allocations: 32.8 kB / 0.5803 GB, free: 123.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004854/2.101, allocations: 124.6 kB / 0.5805 GB, free: 123.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000866/2.102, allocations: 85.52 kB / 0.5805 GB, free: 123.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003041/2.102, allocations: 47.61 kB / 0.5806 GB, free: 123.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008081/2.111, allocations: 2.29 MB / 0.5828 GB, free: 122.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.32e-07/2.111, allocations: 0 / 0.5828 GB, free: 122.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01068/2.121, allocations: 0.9838 MB / 0.5838 GB, free: 122.1 MB / 426.7 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.001226/2.123, allocations: 184.1 kB / 0.584 GB, free: 122 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02309/2.146, allocations: 5.238 MB / 0.5891 GB, free: 117.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-05/2.146, allocations: 4 kB / 0.5891 GB, free: 117.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.025/2.171, allocations: 2.007 MB / 0.591 GB, free: 115 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005/2.176, allocations: 373.1 kB / 0.5914 GB, free: 114.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03493/2.211, allocations: 10.36 MB / 0.6015 GB, free: 104.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009034/2.22, allocations: 2.983 MB / 0.6044 GB, free: 101.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002164/2.222, allocations: 259.4 kB / 0.6047 GB, free: 101 MB / 426.7 MB Notification: Performance of SimCode: time 2.554e-06/2.222, allocations: 0 / 0.6047 GB, free: 101 MB / 426.7 MB Notification: Performance of Templates: time 0.7297/2.952, allocations: 111.8 MB / 0.7139 GB, free: 133.6 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches