Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.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.PointGravityWithPointMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.r_0.1.|body1.r_0.2.|body1.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body2.r_0.1.|body2.r_0.2.|body2.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body3.r_0.1.|body3.r_0.2.|body3.r_0.3.|body3.v_0.1.|body3.v_0.2.|body3.v_0.3.|body4.r_0.1.|body4.r_0.2.|body4.r_0.3.|body4.v_0.1.|body4.v_0.2.|body4.v_0.3.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.r_0.1.|body1.r_0.2.|body1.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body2.r_0.1.|body2.r_0.2.|body2.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body3.r_0.1.|body3.r_0.2.|body3.r_0.3.|body3.v_0.1.|body3.v_0.2.|body3.v_0.3.|body4.r_0.1.|body4.r_0.2.|body4.r_0.3.|body4.v_0.1.|body4.v_0.2.|body4.v_0.3.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001245/0.001245, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 225.6 MB / 234.8 MB, free: 3.301 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008965/0.0008966, allocations: 100.5 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.03e-05/1.032e-05, allocations: 4 kB / 343.7 MB, free: 8.285 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1121, allocations: 51.47 MB / 395.2 MB, free: 4.773 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3939/0.5059, allocations: 89.93 MB / 485.1 MB, free: 3.375 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002279/0.5062, allocations: 87.14 kB / 485.2 MB, free: 3.332 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1359/0.6422, allocations: 52.34 MB / 0.5249 GB, free: 3.785 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6422, allocations: 0 / 0.5249 GB, free: 3.785 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000134/0.6423, allocations: 52 kB / 0.525 GB, free: 3.734 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1113 * Number of variables: 1113 Notification: Performance of Generate backend data structure: time 0.007898/0.6503, allocations: 2.458 MB / 0.5274 GB, free: 1.219 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.6503, allocations: 12.03 kB / 0.5274 GB, free: 1.207 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009248/0.6596, allocations: 1.954 MB / 0.5293 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004258/0.6639, allocations: 1.422 MB / 0.5307 GB, free: 13.78 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002333/0.6641, allocations: 99.61 kB / 0.5308 GB, free: 13.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001471/0.6656, allocations: 179.9 kB / 0.531 GB, free: 13.51 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008379/0.674, allocations: 4.216 MB / 0.5351 GB, free: 9.285 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01339/0.6875, allocations: 6.926 MB / 0.5418 GB, free: 1.457 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001969/0.6877, allocations: 63.45 kB / 0.5419 GB, free: 1.395 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009293/0.6886, allocations: 24 kB / 0.5419 GB, free: 1.371 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001582/0.6902, allocations: 0.8016 MB / 0.5427 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3435/1.034, allocations: 36.01 MB / 0.5779 GB, free: 74.46 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002556/1.036, allocations: 1.967 MB / 0.5798 GB, free: 73.73 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00104/1.037, allocations: 0.8979 MB / 0.5807 GB, free: 73.67 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003686/1.038, allocations: 348.3 kB / 0.581 GB, free: 73.39 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.267e-05/1.038, allocations: 55.3 kB / 0.581 GB, free: 73.35 MB / 442.7 MB Notification: Performance of pre-optimization done (n=119): time 4.649e-06/1.038, allocations: 0 / 0.581 GB, free: 73.35 MB / 442.7 MB Notification: Performance of matching and sorting (n=119): time 0.02124/1.059, allocations: 5.258 MB / 0.5862 GB, free: 73.29 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.382e-05/1.059, allocations: 224.8 kB / 0.5864 GB, free: 73.04 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003674/1.063, allocations: 2.398 MB / 0.5887 GB, free: 72.74 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00021/1.063, allocations: 25.7 kB / 0.5888 GB, free: 72.71 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001344/1.065, allocations: 2.457 MB / 0.5912 GB, free: 71.44 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005052/1.065, allocations: 0.502 MB / 0.5916 GB, free: 71.17 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/1.065, allocations: 6.781 kB / 0.5917 GB, free: 71.17 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003005/1.066, allocations: 0.578 MB / 0.5922 GB, free: 70.84 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001704/1.067, allocations: 1.419 MB / 0.5936 GB, free: 70.82 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003071/1.07, allocations: 5.055 MB / 0.5985 GB, free: 66.05 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00342/1.074, allocations: 2.693 MB / 0.6012 GB, free: 66.03 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001136/1.074, allocations: 36.53 kB / 0.6012 GB, free: 66.03 MB / 442.7 MB Notification: Performance of matching and sorting (n=732) (initialization): time 0.009378/1.083, allocations: 5.56 MB / 0.6066 GB, free: 65.53 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.124e-05/1.083, allocations: 61.31 kB / 0.6067 GB, free: 65.53 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000152/1.084, allocations: 133.8 kB / 0.6068 GB, free: 65.53 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001835/1.084, allocations: 194 kB / 0.607 GB, free: 65.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00526/1.089, allocations: 1.567 MB / 0.6085 GB, free: 65.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001871/1.089, allocations: 257.2 kB / 0.6088 GB, free: 65.35 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004211/1.093, allocations: 0.6432 MB / 0.6094 GB, free: 64.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006871/1.094, allocations: 362.2 kB / 0.6098 GB, free: 64.96 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 601 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body4.sphereColor[3],body4.sphereColor[2],body4.sphereColor[1],body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (708): * Single equations (assignments): 705 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007106/1.095, allocations: 436.1 kB / 0.6102 GB, free: 64.64 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004314/1.095, allocations: 232.4 kB / 0.6104 GB, free: 64.52 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001294/1.097, allocations: 0.7159 MB / 0.6111 GB, free: 64.43 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.322e-05/1.097, allocations: 13.09 kB / 0.6111 GB, free: 64.43 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.687e-05/1.097, allocations: 3.312 kB / 0.6111 GB, free: 64.43 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/1.097, allocations: 10.95 kB / 0.6111 GB, free: 64.43 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006145/1.103, allocations: 3.088 MB / 0.6141 GB, free: 63.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/1.103, allocations: 7.125 kB / 0.6141 GB, free: 63.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002158/1.105, allocations: 388.8 kB / 0.6145 GB, free: 63.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005909/1.106, allocations: 137.6 kB / 0.6146 GB, free: 63.87 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001172/1.106, allocations: 32.08 kB / 0.6147 GB, free: 63.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001724/1.107, allocations: 2.66 MB / 0.6173 GB, free: 61.46 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/1.107, allocations: 2.625 kB / 0.6173 GB, free: 61.46 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003601/1.111, allocations: 2.685 MB / 0.6199 GB, free: 60.62 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006379/1.112, allocations: 294.4 kB / 0.6202 GB, free: 60.38 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002382/1.112, allocations: 16.78 kB / 0.6202 GB, free: 60.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009019/1.113, allocations: 41.84 kB / 0.6202 GB, free: 60.38 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/1.113, allocations: 60.17 kB / 0.6203 GB, free: 60.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.985e-05/1.113, allocations: 43.17 kB / 0.6203 GB, free: 60.38 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002665/1.116, allocations: 1.54 MB / 0.6218 GB, free: 60.23 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.116, allocations: 4 kB / 0.6218 GB, free: 60.23 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004845/1.121, allocations: 0.7553 MB / 0.6226 GB, free: 60.11 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 24 (body3.r_0[1],body3.r_0[2],body3.r_0[3],body3.v_0[1],body3.v_0[2],body3.v_0[3],body4.r_0[1],body4.r_0[2],body4.r_0[3],body4.v_0[1],body4.v_0[2],body4.v_0[3],body2.r_0[1],body2.r_0[2],body2.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body1.r_0[1],body1.r_0[2],body1.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 87 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004383/1.121, allocations: 165.5 kB / 0.6227 GB, free: 60 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005854/1.127, allocations: 3.201 MB / 0.6259 GB, free: 59.13 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/1.127, allocations: 1.469 kB / 0.6259 GB, free: 59.13 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001676/1.129, allocations: 0.9084 MB / 0.6267 GB, free: 58.71 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/1.13, allocations: 185.5 kB / 0.6269 GB, free: 58.62 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01269/1.143, allocations: 6.253 MB / 0.633 GB, free: 55.94 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002744/1.146, allocations: 2.455 MB / 0.6354 GB, free: 54.87 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004955/1.151, allocations: 1.708 MB / 0.6371 GB, free: 54.73 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004982/1.151, allocations: 183.6 kB / 0.6373 GB, free: 54.71 MB / 442.7 MB Notification: Performance of SimCode: time 1.483e-06/1.151, allocations: 1.969 kB / 0.6373 GB, free: 54.71 MB / 442.7 MB Notification: Performance of Templates: time 0.03845/1.19, allocations: 19.18 MB / 0.656 GB, free: 53.66 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravityWithPointMasses/PointGravityWithPointMasses.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches