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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.00158/0.00158, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009353/0.0009351, allocations: 87.17 kB / 292.1 MB, free: 5.914 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.696e-05/3.723e-05, allocations: 4 kB / 350.5 MB, free: 2.535 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1183, allocations: 51.49 MB / 402 MB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4289/0.5472, allocations: 96.14 MB / 498.2 MB, free: 9.559 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001985/0.5475, allocations: 84.89 kB / 498.2 MB, free: 9.516 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1885/0.736, allocations: 75.27 MB / 0.5601 GB, free: 15.4 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.7361, allocations: 0 / 0.5601 GB, free: 15.4 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001583/0.7363, allocations: 72 kB / 0.5601 GB, free: 15.33 MB / 442.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.01522/0.7515, allocations: 3.955 MB / 0.564 GB, free: 11.32 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.7516, allocations: 8.031 kB / 0.564 GB, free: 11.32 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0108/0.7624, allocations: 2.207 MB / 0.5662 GB, free: 9.102 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01052/0.7729, allocations: 3.816 MB / 0.5699 GB, free: 5.23 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002955/0.7732, allocations: 287.4 kB / 0.5702 GB, free: 4.949 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001362/0.7746, allocations: 379.8 kB / 0.5705 GB, free: 4.578 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2833/1.058, allocations: 9.262 MB / 0.5796 GB, free: 79.47 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001259/1.058, allocations: 54.69 kB / 0.5796 GB, free: 79.47 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005057/1.059, allocations: 184.7 kB / 0.5798 GB, free: 79.47 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001017/1.06, allocations: 0.9058 MB / 0.5807 GB, free: 79.47 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01388/1.073, allocations: 7.452 MB / 0.588 GB, free: 79.45 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04422/1.118, allocations: 43.89 MB / 0.6308 GB, free: 52.11 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009071/1.127, allocations: 3.425 MB / 0.6342 GB, free: 51.42 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002225/1.129, allocations: 1.417 MB / 0.6356 GB, free: 50.87 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01144/1.141, allocations: 6.849 MB / 0.6423 GB, free: 46.95 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/1.141, allocations: 51.05 kB / 0.6423 GB, free: 46.9 MB / 442.7 MB Notification: Performance of pre-optimization done (n=132): time 6.021e-06/1.141, allocations: 3.188 kB / 0.6423 GB, free: 46.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=139): time 0.02463/1.165, allocations: 9.292 MB / 0.6514 GB, free: 43.24 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00101/1.166, allocations: 1.606 MB / 0.6529 GB, free: 41.64 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005099/1.172, allocations: 3.122 MB / 0.656 GB, free: 40.48 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004244/1.172, allocations: 41.14 kB / 0.656 GB, free: 40.44 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001559/1.174, allocations: 2.81 MB / 0.6588 GB, free: 38.27 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000738/1.174, allocations: 0.5689 MB / 0.6593 GB, free: 37.87 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002182/1.175, allocations: 106.7 kB / 0.6594 GB, free: 37.79 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002511/1.175, allocations: 0.5333 MB / 0.66 GB, free: 37.39 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002425/1.177, allocations: 1.857 MB / 0.6618 GB, free: 36.77 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003876/1.181, allocations: 5.282 MB / 0.6669 GB, free: 31.35 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003702/1.185, allocations: 3.096 MB / 0.67 GB, free: 30.2 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-05/1.185, allocations: 35.53 kB / 0.67 GB, free: 30.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=712) (initialization): time 0.01935/1.204, allocations: 8.338 MB / 0.6781 GB, free: 27.42 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9e-05/1.204, allocations: 57.31 kB / 0.6782 GB, free: 27.42 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008789/1.213, allocations: 3.102 MB / 0.6812 GB, free: 26.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008757/1.222, allocations: 1.922 MB / 0.6831 GB, free: 26.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003957/1.226, allocations: 1.245 MB / 0.6843 GB, free: 26.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006559/1.233, allocations: 5.674 MB / 0.6898 GB, free: 22.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005407/1.238, allocations: 378 kB / 0.6902 GB, free: 22.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001102/1.239, allocations: 342.1 kB / 0.6905 GB, free: 22.53 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 559 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (674): * Single equations (assignments): 665 * 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.0009627/1.24, allocations: 0.5267 MB / 0.691 GB, free: 22.09 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007038/1.241, allocations: 300.5 kB / 0.6913 GB, free: 21.93 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005009/1.246, allocations: 2.73 MB / 0.694 GB, free: 21 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004022/1.25, allocations: 2.323 MB / 0.6963 GB, free: 20.27 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/1.25, allocations: 1.969 kB / 0.6963 GB, free: 20.27 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.267e-05/1.25, allocations: 11.44 kB / 0.6963 GB, free: 20.26 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01598/1.266, allocations: 7.819 MB / 0.7039 GB, free: 17.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.444e-05/1.266, allocations: 3.219 kB / 0.7039 GB, free: 17.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/1.267, allocations: 218.5 kB / 0.7041 GB, free: 17.31 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002744/1.27, allocations: 1.045 MB / 0.7051 GB, free: 17.08 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000186/1.27, allocations: 39.22 kB / 0.7052 GB, free: 17.06 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004494/1.275, allocations: 4.955 MB / 0.71 GB, free: 12.59 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006802/1.275, allocations: 1.474 MB / 0.7115 GB, free: 11.03 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00672/1.282, allocations: 5.038 MB / 0.7164 GB, free: 6.609 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/1.283, allocations: 376.3 kB / 0.7167 GB, free: 6.234 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003153/1.284, allocations: 28 kB / 0.7168 GB, free: 6.207 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/1.285, allocations: 124.5 kB / 0.7169 GB, free: 6.133 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002321/1.285, allocations: 88.02 kB / 0.717 GB, free: 6.082 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/1.285, allocations: 46.81 kB / 0.717 GB, free: 6.047 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00302/1.288, allocations: 2.141 MB / 0.7191 GB, free: 4.16 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.7e-07/1.288, allocations: 0 / 0.7191 GB, free: 4.16 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004731/1.293, allocations: 0.972 MB / 0.7201 GB, free: 3.199 MB / 442.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 () * 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 {(3,100.0%),(4,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.0004522/1.293, allocations: 175.2 kB / 0.7202 GB, free: 3.039 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01178/1.305, allocations: 5.357 MB / 0.7255 GB, free: 15.16 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/1.305, allocations: 0 / 0.7255 GB, free: 15.16 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004011/1.309, allocations: 1.997 MB / 0.7274 GB, free: 13.39 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002407/1.312, allocations: 372.9 kB / 0.7278 GB, free: 13.07 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01587/1.328, allocations: 6.972 MB / 0.7346 GB, free: 6.887 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003278/1.331, allocations: 2.983 MB / 0.7375 GB, free: 4.602 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004373/1.335, allocations: 1.7 MB / 0.7391 GB, free: 3.383 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006074/1.336, allocations: 215.4 kB / 0.7393 GB, free: 3.176 MB / 458.7 MB Notification: Performance of SimCode: time 1.542e-06/1.336, allocations: 0 / 0.7393 GB, free: 3.176 MB / 458.7 MB Notification: Performance of Templates: time 0.2781/1.614, allocations: 32.8 MB / 0.7714 GB, free: 85.68 MB / 458.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches