Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 75.77 kB / 22.45 MB, free: 2.094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009498/0.0009498, allocations: 164 kB / 25.75 MB, free: 8.945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9927/0.9927, allocations: 158.6 MB / 187.5 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.frame_a.r_0.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.|body2.frame_a.r_0.[0-9,]+.|body2.v_0.[0-9,]+.|body2.w_a.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.frame_a.r_0.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.|body2.frame_a.r_0.[0-9,]+.|body2.v_0.[0-9,]+.|body2.w_a.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 251.1 MB, free: 7.777 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.316e-05/2.459e-05, allocations: 2.312 kB / 251.1 MB, free: 7.773 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.006259/0.006284, allocations: 6.815 MB / 257.9 MB, free: 0.9297 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00471/0.01099, allocations: 3.026 MB / 261 MB, free: 13.89 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007908/0.01178, allocations: 35.88 kB / 261 MB, free: 13.86 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001187/0.01297, allocations: 0.7001 MB / 261.7 MB, free: 13.16 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002381/0.01535, allocations: 1.49 MB / 263.2 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007204/0.01607, allocations: 0.5496 MB / 263.7 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003313/0.01939, allocations: 3.731 MB / 267.5 MB, free: 7.371 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001139/0.02052, allocations: 0.6856 MB / 268.2 MB, free: 6.672 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001745/0.02227, allocations: 1.309 MB / 269.5 MB, free: 5.359 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001789/0.02406, allocations: 1.609 MB / 271.1 MB, free: 3.746 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004215/0.02448, allocations: 140 kB / 271.2 MB, free: 3.609 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.02574, allocations: 0.8968 MB / 272.1 MB, free: 2.711 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008648/0.02661, allocations: 1.188 MB / 273.3 MB, free: 1.52 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008633/0.02747, allocations: 0.689 MB / 274 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003372/0.03084, allocations: 2.915 MB / 276.9 MB, free: 13.9 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.03085, allocations: 0 / 276.9 MB, free: 13.9 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.03085, allocations: 7.938 kB / 276.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.548e-05/0.03094, allocations: 0 / 276.9 MB, free: 13.89 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 911 * Number of variables: 911 Notification: Performance of Generate backend data structure: time 0.005039/0.03598, allocations: 3.595 MB / 280.5 MB, free: 10.24 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.03603, allocations: 15.98 kB / 280.5 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005199/0.04123, allocations: 2.296 MB / 282.8 MB, free: 7.926 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002058/0.04328, allocations: 1.433 MB / 284.2 MB, free: 6.457 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.809e-05/0.04336, allocations: 107 kB / 284.3 MB, free: 6.352 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006366/0.044, allocations: 299.3 kB / 284.6 MB, free: 6.059 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007826/0.05182, allocations: 5.23 MB / 289.9 MB, free: 60 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-05/0.05189, allocations: 31.75 kB / 289.9 MB, free: 28 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002232/0.05211, allocations: 75.98 kB / 290 MB, free: 15.95 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001442/0.05355, allocations: 1.405 MB / 291.4 MB, free: 14.54 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008347/0.0619, allocations: 4.376 MB / 295.8 MB, free: 10.16 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02536/0.08726, allocations: 34.16 MB / 329.9 MB, free: 6.938 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006219/0.09348, allocations: 2.626 MB / 332.5 MB, free: 4.246 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0013/0.09478, allocations: 0.7804 MB / 333.3 MB, free: 3.445 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.337e-05/0.09484, allocations: 19.98 kB / 333.3 MB, free: 3.426 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.09488, allocations: 53.33 kB / 333.4 MB, free: 3.363 MB / 314.7 MB Notification: Performance of pre-optimization done (n=122): time 4.919e-06/0.09488, allocations: 0 / 333.4 MB, free: 3.363 MB / 314.7 MB Notification: Performance of matching and sorting (n=136): time 0.02383/0.1187, allocations: 12.38 MB / 345.8 MB, free: 6.84 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001874/0.1206, allocations: 3.943 MB / 349.7 MB, free: 2.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1232/0.2438, allocations: 2.681 MB / 352.4 MB, free: 100.7 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006348/0.2444, allocations: 43.23 kB / 352.4 MB, free: 100.7 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001811/0.2463, allocations: 2.304 MB / 354.8 MB, free: 99.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008849/0.2471, allocations: 0.6153 MB / 355.4 MB, free: 99.66 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001267/0.2484, allocations: 1.061 MB / 356.4 MB, free: 99.54 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.884e-05/0.2484, allocations: 479.4 kB / 356.9 MB, free: 99.07 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001373/0.2498, allocations: 0.8053 MB / 357.7 MB, free: 99.05 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002623/0.2524, allocations: 5.182 MB / 362.9 MB, free: 93.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00443/0.2569, allocations: 6.576 MB / 369.5 MB, free: 87.27 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.034e-05/0.2569, allocations: 28.25 kB / 369.5 MB, free: 87.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01641/0.2733, allocations: 7.924 MB / 377.4 MB, free: 82.64 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.858e-05/0.2734, allocations: 52 kB / 377.5 MB, free: 82.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01084/0.2842, allocations: 4.314 MB / 381.8 MB, free: 78.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01014/0.2944, allocations: 3.761 MB / 385.5 MB, free: 74.44 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00295/0.2973, allocations: 1.262 MB / 386.8 MB, free: 73.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006255/0.3036, allocations: 8.986 MB / 395.8 MB, free: 63.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004611/0.3082, allocations: 0.6921 MB / 396.5 MB, free: 63.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008045/0.309, allocations: 323.9 kB / 396.8 MB, free: 62.73 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 475 * Number of states: 0 () * Number of discrete variables: 18 (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 (592): * Single equations (assignments): 577 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001085/0.3101, allocations: 0.5449 MB / 397.3 MB, free: 62.24 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005021/0.3106, allocations: 278.3 kB / 397.6 MB, free: 61.96 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003076/0.3109, allocations: 340.7 kB / 397.9 MB, free: 61.63 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004641/0.3155, allocations: 2.503 MB / 400.4 MB, free: 59.1 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.76e-05/0.3156, allocations: 4 kB / 400.5 MB, free: 59.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.3156, allocations: 7.984 kB / 400.5 MB, free: 59.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004853/0.3204, allocations: 3.763 MB / 404.2 MB, free: 55.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.974e-06/0.3204, allocations: 0 / 404.2 MB, free: 55.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009549/0.3214, allocations: 367.4 kB / 404.6 MB, free: 54.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00378/0.3252, allocations: 1.588 MB / 406.2 MB, free: 53.32 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001405/0.3253, allocations: 47.95 kB / 406.2 MB, free: 53.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003854/0.3292, allocations: 8.248 MB / 414.5 MB, free: 44.56 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008848/0.33, allocations: 3.791 MB / 418.3 MB, free: 40.5 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006413/0.3365, allocations: 4.174 MB / 422.4 MB, free: 36.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007099/0.3372, allocations: 282.2 kB / 422.7 MB, free: 36 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002797/0.3375, allocations: 35.92 kB / 422.7 MB, free: 35.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001411/0.3389, allocations: 395.3 kB / 423.1 MB, free: 35.57 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003661/0.3392, allocations: 103.8 kB / 423.2 MB, free: 35.47 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/0.3393, allocations: 52.94 kB / 423.3 MB, free: 35.42 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001404/0.3407, allocations: 1.165 MB / 424.4 MB, free: 34.25 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3407, allocations: 0 / 424.4 MB, free: 34.25 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.004147/0.3449, allocations: 1.168 MB / 425.6 MB, free: 33.08 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[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 (92): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(3,100.0%), (4,100.0%), (3,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005067/0.3454, allocations: 196.3 kB / 425.8 MB, free: 32.89 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.006021/0.3514, allocations: 4.355 MB / 430.2 MB, free: 28.45 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.3514, allocations: 0 / 430.2 MB, free: 28.45 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002664/0.3541, allocations: 2.319 MB / 432.5 MB, free: 26.04 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001593/0.3557, allocations: 316.7 kB / 432.8 MB, free: 25.74 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007542/0.3632, allocations: 6.083 MB / 438.9 MB, free: 19.56 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006485/0.3639, allocations: 0.7894 MB / 439.7 MB, free: 18.75 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002262/0.3661, allocations: 1.326 MB / 441 MB, free: 17.41 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008914/0.367, allocations: 188.4 kB / 441.2 MB, free: 17.23 MB / 330.7 MB Notification: Performance of SimCode: time 3.126e-06/0.367, allocations: 3.938 kB / 441.2 MB, free: 17.23 MB / 330.7 MB Notification: Performance of Templates: time 0.1701/0.5372, allocations: 46.3 MB / 487.5 MB, free: 121.2 MB / 362.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravity/PointGravity.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.209833384025842]