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.00152/0.00152, allocations: 117.2 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.001927/0.001927, allocations: 206.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 60.14 kB / 359.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2089, allocations: 50.55 MB / 410 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01032/0.2192, allocations: 10.42 MB / 420.4 MB, free: 7.078 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006596/0.2259, allocations: 3.828 MB / 424.2 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001085/0.227, allocations: 59.81 kB / 424.3 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004032/0.231, allocations: 2.313 MB / 426.6 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00344/0.2345, allocations: 1.697 MB / 428.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.2358, allocations: 0.6122 MB / 428.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004086/0.2399, allocations: 3.486 MB / 432.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003374/0.2432, allocations: 3.026 MB / 435.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001877/0.2451, allocations: 1.359 MB / 436.7 MB, free: 6.613 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002126/0.2473, allocations: 1.791 MB / 438.5 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004409/0.2477, allocations: 292 kB / 438.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001778/0.2495, allocations: 1.123 MB / 439.9 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001309/0.2508, allocations: 1.679 MB / 441.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001545/0.2524, allocations: 1.942 MB / 443.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004997/0.2574, allocations: 6.19 MB / 449.8 MB, free: 9.559 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2574, allocations: 0 / 449.8 MB, free: 9.559 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2574, allocations: 0 / 449.8 MB, free: 9.559 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.876e-05/0.2575, allocations: 0 / 449.8 MB, free: 9.559 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.006307/0.2638, allocations: 4.211 MB / 454 MB, free: 5.281 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.2638, allocations: 8.031 kB / 454 MB, free: 5.273 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006655/0.2705, allocations: 1.883 MB / 455.9 MB, free: 3.383 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003653/0.2742, allocations: 2.036 MB / 457.9 MB, free: 1.285 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.2743, allocations: 213.4 kB / 458.1 MB, free: 1.074 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007385/0.2751, allocations: 367.7 kB / 458.5 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01345/0.2885, allocations: 8.901 MB / 467.4 MB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.209e-05/0.2886, allocations: 35.66 kB / 467.4 MB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003606/0.289, allocations: 139.9 kB / 467.5 MB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002487/0.2915, allocations: 1.633 MB / 469.2 MB, free: 5.371 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01349/0.305, allocations: 7.533 MB / 476.7 MB, free: 13.83 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03686/0.3419, allocations: 35.01 MB / 0.4997 GB, free: 9.777 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008715/0.3506, allocations: 3.475 MB / 0.5031 GB, free: 6.152 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001739/0.3524, allocations: 1.447 MB / 0.5045 GB, free: 4.695 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008883/0.3613, allocations: 6.887 MB / 0.5112 GB, free: 13.47 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.3613, allocations: 51.16 kB / 0.5113 GB, free: 13.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=132): time 3.236e-06/0.3613, allocations: 0 / 0.5113 GB, free: 13.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.02534/0.3867, allocations: 10.76 MB / 0.5218 GB, free: 2.496 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.248e-05/0.3867, allocations: 153.1 kB / 0.5219 GB, free: 2.316 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004138/0.3909, allocations: 3.527 MB / 0.5254 GB, free: 14.79 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001127/0.391, allocations: 41.7 kB / 0.5254 GB, free: 14.74 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001706/0.3927, allocations: 2.778 MB / 0.5281 GB, free: 11.93 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004481/0.3932, allocations: 0.5557 MB / 0.5287 GB, free: 11.36 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001232/0.3944, allocations: 1.083 MB / 0.5297 GB, free: 10.27 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.443e-05/0.3945, allocations: 305.1 kB / 0.53 GB, free: 9.969 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002496/0.397, allocations: 1.826 MB / 0.5318 GB, free: 8.137 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004901/0.4019, allocations: 5.271 MB / 0.537 GB, free: 1.133 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.184/0.586, allocations: 7.689 MB / 0.5445 GB, free: 114 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.606e-05/0.5861, allocations: 35.41 kB / 0.5445 GB, free: 114 MB / 462.1 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.01788/0.604, allocations: 8.612 MB / 0.5529 GB, free: 111.3 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.423e-05/0.6041, allocations: 57.84 kB / 0.553 GB, free: 111.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009704/0.6138, allocations: 3.313 MB / 0.5562 GB, free: 110.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01031/0.6241, allocations: 2.322 MB / 0.5585 GB, free: 110.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003261/0.6274, allocations: 1.24 MB / 0.5597 GB, free: 108.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008225/0.6356, allocations: 7.441 MB / 0.567 GB, free: 101.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003447/0.6391, allocations: 317 kB / 0.5673 GB, free: 100.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003206/0.6394, allocations: 336 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.001949/0.6414, allocations: 1.856 MB / 0.5694 GB, free: 98.69 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003655/0.6417, allocations: 298.5 kB / 0.5697 GB, free: 98.55 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00063/0.6424, allocations: 409.7 kB / 0.5701 GB, free: 98.15 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.6424, allocations: 7.969 kB / 0.5701 GB, free: 98.14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.6424, allocations: 4 kB / 0.5701 GB, free: 98.14 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003977/0.6428, allocations: 352.7 kB / 0.5704 GB, free: 97.94 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003293/0.6431, allocations: 35.97 kB / 0.5704 GB, free: 97.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/0.6443, allocations: 103.8 kB / 0.5705 GB, free: 97.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001888/0.6445, allocations: 68.55 kB / 0.5706 GB, free: 97.74 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004913/0.6494, allocations: 3.155 MB / 0.5737 GB, free: 94.61 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003457/0.6529, allocations: 3.863 MB / 0.5775 GB, free: 90.74 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009341/0.6538, allocations: 0.9994 MB / 0.5784 GB, free: 89.74 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002145/0.656, allocations: 2.183 MB / 0.5806 GB, free: 87.57 MB / 462.1 MB Notification: Performance of Backend: time 3.01e-07/0.656, allocations: 0 / 0.5806 GB, free: 87.57 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00729/0.6633, allocations: 4.391 MB / 0.5849 GB, free: 83.17 MB / 462.1 MB Notification: Performance of SimCode: time 0.008923/0.6722, allocations: 8.273 MB / 0.5929 GB, free: 74.88 MB / 462.1 MB Notification: Performance of Templates: time 0.05632/0.7286, allocations: 41.36 MB / 0.6333 GB, free: 33.71 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