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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001509/0.001509, allocations: 112.1 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001783/0.001783, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 55.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2129, allocations: 50.55 MB / 410 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01045/0.2234, allocations: 10.42 MB / 420.4 MB, free: 7.094 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006686/0.2301, allocations: 3.828 MB / 424.2 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001128/0.2312, allocations: 63.81 kB / 424.3 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004091/0.2353, allocations: 2.309 MB / 426.6 MB, free: 0.875 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003688/0.2391, allocations: 1.704 MB / 428.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.2404, allocations: 0.6122 MB / 428.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004062/0.2444, allocations: 3.478 MB / 432.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003132/0.2476, allocations: 3.028 MB / 435.4 MB, free: 7.988 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001518/0.2491, allocations: 1.359 MB / 436.7 MB, free: 6.625 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001913/0.251, allocations: 1.791 MB / 438.5 MB, free: 4.828 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003998/0.2515, allocations: 288 kB / 438.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001699/0.2532, allocations: 1.127 MB / 439.9 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001291/0.2545, allocations: 1.679 MB / 441.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001503/0.256, allocations: 1.942 MB / 443.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005025/0.261, allocations: 6.195 MB / 449.8 MB, free: 9.566 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.261, allocations: 0 / 449.8 MB, free: 9.566 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.261, allocations: 0 / 449.8 MB, free: 9.566 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.566e-05/0.2611, allocations: 0 / 449.8 MB, free: 9.566 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.006132/0.2672, allocations: 4.203 MB / 454 MB, free: 5.297 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.2673, allocations: 12.02 kB / 454 MB, free: 5.285 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006532/0.2738, allocations: 1.879 MB / 455.9 MB, free: 3.398 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00304/0.2769, allocations: 2.037 MB / 457.9 MB, free: 1.301 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/0.277, allocations: 209.4 kB / 458.1 MB, free: 1.094 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007657/0.2778, allocations: 375.6 kB / 458.5 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01263/0.2904, allocations: 8.893 MB / 467.4 MB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.488e-05/0.2905, allocations: 43.58 kB / 467.4 MB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003386/0.2909, allocations: 139.9 kB / 467.5 MB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002343/0.2932, allocations: 1.633 MB / 469.2 MB, free: 5.383 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01308/0.3063, allocations: 7.529 MB / 476.7 MB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03623/0.3426, allocations: 35 MB / 0.4997 GB, free: 9.797 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008535/0.3511, allocations: 3.475 MB / 0.5031 GB, free: 6.172 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001775/0.3529, allocations: 1.447 MB / 0.5045 GB, free: 4.715 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008704/0.3616, allocations: 6.89 MB / 0.5112 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.23e-05/0.3617, allocations: 47.2 kB / 0.5113 GB, free: 13.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=132): time 2.956e-06/0.3617, allocations: 0 / 0.5113 GB, free: 13.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.02497/0.3867, allocations: 10.75 MB / 0.5218 GB, free: 2.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.3868, allocations: 141.2 kB / 0.5219 GB, free: 2.352 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004144/0.3909, allocations: 3.535 MB / 0.5254 GB, free: 14.82 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001055/0.391, allocations: 45.7 kB / 0.5254 GB, free: 14.77 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00167/0.3927, allocations: 2.778 MB / 0.5281 GB, free: 11.95 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004421/0.3932, allocations: 0.5557 MB / 0.5287 GB, free: 11.39 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001251/0.3944, allocations: 1.087 MB / 0.5297 GB, free: 10.29 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.112e-05/0.3945, allocations: 305.1 kB / 0.53 GB, free: 9.988 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002525/0.3971, allocations: 1.826 MB / 0.5318 GB, free: 8.156 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004581/0.4016, allocations: 5.271 MB / 0.537 GB, free: 1.152 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1809/0.5826, allocations: 7.688 MB / 0.5445 GB, free: 114.1 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.772e-05/0.5827, allocations: 31.28 kB / 0.5445 GB, free: 114.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.01646/0.5991, allocations: 8.625 MB / 0.5529 GB, free: 111.4 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.921e-05/0.5992, allocations: 60.62 kB / 0.553 GB, free: 111.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009405/0.6086, allocations: 3.308 MB / 0.5562 GB, free: 110.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009919/0.6186, allocations: 2.323 MB / 0.5585 GB, free: 110.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003255/0.6218, allocations: 1.248 MB / 0.5597 GB, free: 108.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007983/0.6298, allocations: 7.44 MB / 0.567 GB, free: 101.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003343/0.6332, allocations: 322.9 kB / 0.5673 GB, free: 100.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003193/0.6335, allocations: 332 kB / 0.5676 GB, free: 100.5 MB / 462.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 (671): * Single equations (assignments): 664 * 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 prepare postOptimizeDAE: time 0.001805/0.6353, allocations: 1.844 MB / 0.5694 GB, free: 98.71 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003291/0.6357, allocations: 302.5 kB / 0.5697 GB, free: 98.58 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006285/0.6363, allocations: 397.7 kB / 0.5701 GB, free: 98.19 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.6363, allocations: 11.97 kB / 0.5701 GB, free: 98.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.6363, allocations: 4 kB / 0.5701 GB, free: 98.17 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002969/0.6366, allocations: 348.1 kB / 0.5704 GB, free: 97.97 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003033/0.637, allocations: 35.98 kB / 0.5704 GB, free: 97.94 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/0.6381, allocations: 103.5 kB / 0.5705 GB, free: 97.84 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001956/0.6383, allocations: 76.48 kB / 0.5706 GB, free: 97.77 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0048/0.6431, allocations: 3.162 MB / 0.5737 GB, free: 94.63 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003503/0.6466, allocations: 3.853 MB / 0.5775 GB, free: 90.78 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009372/0.6476, allocations: 1.007 MB / 0.5784 GB, free: 89.77 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002095/0.6497, allocations: 2.183 MB / 0.5806 GB, free: 87.6 MB / 462.1 MB Notification: Performance of Backend: time 3.41e-07/0.6497, allocations: 0 / 0.5806 GB, free: 87.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006844/0.6565, allocations: 4.384 MB / 0.5849 GB, free: 83.2 MB / 462.1 MB Notification: Performance of SimCode: time 0.00868/0.6652, allocations: 8.28 MB / 0.5929 GB, free: 74.91 MB / 462.1 MB Notification: Performance of Templates: time 0.05332/0.7186, allocations: 41.35 MB / 0.6333 GB, free: 33.74 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches