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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008299/0.0008299, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003777/0.003777, allocations: 159.7 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8843/0.8843, allocations: 177 MB / 204.9 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.PointGravityWithPointMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.837e-05/1.972e-05, allocations: 2.281 kB / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.005393/0.005412, allocations: 7.034 MB / 332.8 MB, free: 8.328 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004008/0.00942, allocations: 2.446 MB / 335.3 MB, free: 5.875 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007185/0.01014, allocations: 43.81 kB / 335.3 MB, free: 5.832 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001724/0.01186, allocations: 1.475 MB / 336.8 MB, free: 4.352 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001951/0.01381, allocations: 1.042 MB / 337.8 MB, free: 3.305 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005711/0.01438, allocations: 279.2 kB / 338.1 MB, free: 3.031 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002067/0.01645, allocations: 2.211 MB / 340.3 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001468/0.01792, allocations: 1.34 MB / 341.6 MB, free: 15.45 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001112/0.01903, allocations: 1.239 MB / 342.9 MB, free: 14.21 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001134/0.02016, allocations: 1.204 MB / 344.1 MB, free: 13 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004148/0.02058, allocations: 164 kB / 344.2 MB, free: 12.84 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006993/0.02128, allocations: 0.6083 MB / 344.9 MB, free: 12.23 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005878/0.02187, allocations: 1.223 MB / 346.1 MB, free: 11.01 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004298/0.0223, allocations: 0.7162 MB / 346.8 MB, free: 10.29 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002425/0.02472, allocations: 4.2 MB / 351 MB, free: 6.074 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.758e-06/0.02473, allocations: 3.938 kB / 351 MB, free: 6.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.02473, allocations: 4 kB / 351 MB, free: 6.066 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.219e-05/0.02475, allocations: 0 / 351 MB, free: 6.066 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: 1113 * Number of variables: 1113 Notification: Performance of Generate backend data structure: time 0.002577/0.02733, allocations: 2.895 MB / 353.9 MB, free: 3.121 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.02736, allocations: 11.98 kB / 353.9 MB, free: 3.109 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003216/0.03058, allocations: 1.816 MB / 355.7 MB, free: 1.289 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.03173, allocations: 1.113 MB / 356.8 MB, free: 148 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.551e-05/0.03182, allocations: 148.2 kB / 357 MB, free: 16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002333/0.03205, allocations: 215.7 kB / 357.2 MB, free: 15.79 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009177/0.04123, allocations: 8.648 MB / 365.8 MB, free: 6.527 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.522e-05/0.04128, allocations: 43.7 kB / 365.9 MB, free: 6.484 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001648/0.04145, allocations: 103.9 kB / 366 MB, free: 6.383 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001438/0.04288, allocations: 1.663 MB / 367.7 MB, free: 4.715 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009144/0.05203, allocations: 7.194 MB / 374.8 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01962/0.07165, allocations: 28.54 MB / 403.4 MB, free: 96 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009991/0.08164, allocations: 4.635 MB / 408 MB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001186/0.08282, allocations: 1.193 MB / 409.2 MB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00307/0.08589, allocations: 3.106 MB / 412.3 MB, free: 7.043 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.08593, allocations: 50.81 kB / 412.4 MB, free: 6.984 MB / 378.7 MB Notification: Performance of pre-optimization done (n=111): time 2.785e-06/0.08593, allocations: 4 kB / 412.4 MB, free: 6.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=111): time 0.02074/0.1067, allocations: 9.175 MB / 421.6 MB, free: 13.79 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.002e-05/0.1067, allocations: 195.9 kB / 421.7 MB, free: 13.56 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002814/0.1096, allocations: 2.969 MB / 424.7 MB, free: 10.57 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.885e-05/0.1096, allocations: 41.7 kB / 424.8 MB, free: 10.52 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009837/0.1106, allocations: 2.508 MB / 427.3 MB, free: 7.984 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002953/0.1109, allocations: 0.5121 MB / 427.8 MB, free: 7.469 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000785/0.1117, allocations: 1.08 MB / 428.9 MB, free: 6.379 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.684e-05/0.1118, allocations: 345.8 kB / 429.2 MB, free: 6.035 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00168/0.1134, allocations: 1.607 MB / 430.8 MB, free: 4.422 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002772/0.1162, allocations: 5.169 MB / 436 MB, free: 13.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005074/0.1213, allocations: 7.342 MB / 443.3 MB, free: 4.324 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.229e-05/0.1213, allocations: 36 kB / 443.3 MB, free: 4.289 MB / 410.7 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.1594/0.2807, allocations: 6.43 MB / 449.8 MB, free: 109.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.046e-05/0.2808, allocations: 60.69 kB / 449.8 MB, free: 109.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.384e-05/0.2808, allocations: 133.4 kB / 450 MB, free: 109.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.857e-05/0.2809, allocations: 169.4 kB / 450.1 MB, free: 109.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00236/0.2833, allocations: 1.456 MB / 451.6 MB, free: 109.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.504e-05/0.2834, allocations: 246.2 kB / 451.8 MB, free: 109.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001796/0.2852, allocations: 0.7373 MB / 452.6 MB, free: 109.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002116/0.2854, allocations: 346.2 kB / 452.9 MB, free: 109.6 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 580 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (681): * Single equations (assignments): 678 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001205/0.2866, allocations: 1.572 MB / 454.5 MB, free: 109.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001816/0.2868, allocations: 241 kB / 454.7 MB, free: 109.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/0.287, allocations: 298 kB / 455 MB, free: 109.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.287, allocations: 11.41 kB / 455 MB, free: 109.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.287, allocations: 3.875 kB / 455 MB, free: 109.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.287, allocations: 7.641 kB / 455 MB, free: 109.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002477/0.2895, allocations: 2.74 MB / 457.8 MB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.2895, allocations: 7.5 kB / 457.8 MB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009608/0.2905, allocations: 408.7 kB / 458.2 MB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.2905, allocations: 6.719 kB / 458.2 MB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.555e-05/0.2905, allocations: 38.77 kB / 458.2 MB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.2905, allocations: 3.531 kB / 458.2 MB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.2905, allocations: 3.406 kB / 458.2 MB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/0.2921, allocations: 2.787 MB / 461 MB, free: 106.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.2922, allocations: 209.7 kB / 461.2 MB, free: 106.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.2923, allocations: 31.7 kB / 461.2 MB, free: 106.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003969/0.2927, allocations: 39.48 kB / 461.3 MB, free: 106.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.371e-05/0.2928, allocations: 73.95 kB / 461.4 MB, free: 106.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.701e-05/0.2928, allocations: 36.48 kB / 461.4 MB, free: 106.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009927/0.2938, allocations: 1.638 MB / 463 MB, free: 105.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2938, allocations: 0 / 463 MB, free: 105.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001908/0.2957, allocations: 0.8493 MB / 463.9 MB, free: 104.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 24 (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]) * 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 (87): * Single equations (assignments): 84 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002349/0.296, allocations: 167 kB / 464 MB, free: 104.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002466/0.2984, allocations: 3.481 MB / 467.5 MB, free: 101.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2984, allocations: 5.812 kB / 467.5 MB, free: 101.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004401/0.2989, allocations: 0.6768 MB / 468.2 MB, free: 100.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007771/0.2997, allocations: 224.7 kB / 468.4 MB, free: 100.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005299/0.305, allocations: 6.963 MB / 475.4 MB, free: 93.92 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001091/0.306, allocations: 1.819 MB / 477.2 MB, free: 92.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003046/0.3064, allocations: 228.5 kB / 477.4 MB, free: 91.84 MB / 410.7 MB Notification: Performance of SimCode: time 7.51e-07/0.3064, allocations: 3.938 kB / 477.4 MB, free: 91.84 MB / 410.7 MB Notification: Performance of Templates: time 0.02983/0.3362, allocations: 41.08 MB / 0.5064 GB, free: 50.81 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravityWithPointMasses/PointGravityWithPointMasses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.9760224632918835]