Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.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.001475/0.001475, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.0017/0.0017, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9863/0.9863, allocations: 177.1 MB / 205 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2825/0.2825, allocations: 32.81 MB / 294.3 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 376 MB, free: 4.668 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.888e-05/3.088e-05, allocations: 6.25 kB / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.01162/0.01165, allocations: 6.61 MB / 382.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00539/0.01704, allocations: 2.387 MB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001122/0.01816, allocations: 35.88 kB / 385 MB, free: 11.58 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001933/0.0201, allocations: 1.117 MB / 386.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002014/0.02211, allocations: 0.9017 MB / 387.1 MB, free: 9.555 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006264/0.02274, allocations: 319 kB / 387.4 MB, free: 9.242 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001948/0.02468, allocations: 1.914 MB / 389.3 MB, free: 7.324 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001335/0.02602, allocations: 1.131 MB / 390.4 MB, free: 6.172 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001257/0.02728, allocations: 1.075 MB / 391.5 MB, free: 5.094 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001144/0.02842, allocations: 0.9739 MB / 392.5 MB, free: 4.117 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002963/0.02872, allocations: 124 kB / 392.6 MB, free: 3.996 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.02974, allocations: 0.6746 MB / 393.3 MB, free: 3.32 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007171/0.03045, allocations: 0.9892 MB / 394.2 MB, free: 2.328 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006217/0.03108, allocations: 0.572 MB / 394.8 MB, free: 1.754 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002736/0.03381, allocations: 2.482 MB / 397.3 MB, free: 15.26 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.03382, allocations: 0 / 397.3 MB, free: 15.26 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.03382, allocations: 0 / 397.3 MB, free: 15.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001372/0.03396, allocations: 0 / 397.3 MB, free: 15.26 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.004305/0.03826, allocations: 2.903 MB / 400.2 MB, free: 12.31 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.03832, allocations: 12.03 kB / 400.2 MB, free: 12.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00341/0.04173, allocations: 1.875 MB / 402.1 MB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001738/0.04346, allocations: 1.002 MB / 403.1 MB, free: 9.387 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.703e-05/0.04355, allocations: 119.3 kB / 403.2 MB, free: 9.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002999/0.04385, allocations: 156.2 kB / 403.4 MB, free: 9.117 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005928/0.04978, allocations: 3.705 MB / 407.1 MB, free: 4.754 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.491e-05/0.04985, allocations: 23.81 kB / 407.1 MB, free: 4.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002257/0.05008, allocations: 83.89 kB / 407.2 MB, free: 4.648 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001483/0.05156, allocations: 1.386 MB / 408.6 MB, free: 3.266 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006067/0.05763, allocations: 1.876 MB / 410.4 MB, free: 1.375 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02133/0.07896, allocations: 28.6 MB / 439 MB, free: 3.738 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001999/0.08096, allocations: 0.8401 MB / 439.9 MB, free: 2.848 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000349/0.08131, allocations: 229.8 kB / 440.1 MB, free: 2.609 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00254/0.08385, allocations: 1.908 MB / 442 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.08389, allocations: 45.33 kB / 442 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of pre-optimization done (n=77): time 5.981e-06/0.0839, allocations: 0 / 442 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of matching and sorting (n=84): time 0.1685/0.2524, allocations: 4.279 MB / 446.3 MB, free: 96.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.2525, allocations: 139.8 kB / 446.5 MB, free: 96.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001952/0.2544, allocations: 2.404 MB / 448.9 MB, free: 95.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.082e-05/0.2545, allocations: 34.14 kB / 448.9 MB, free: 95.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008217/0.2553, allocations: 2.316 MB / 451.2 MB, free: 94.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002214/0.2555, allocations: 397.2 kB / 451.6 MB, free: 94.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006884/0.2562, allocations: 0.949 MB / 452.6 MB, free: 94.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.62e-05/0.2563, allocations: 0.5099 MB / 453.1 MB, free: 93.56 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006253/0.2569, allocations: 392 kB / 453.4 MB, free: 93.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00189/0.2588, allocations: 4.733 MB / 458.2 MB, free: 87.87 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003285/0.2621, allocations: 5.653 MB / 463.8 MB, free: 81.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-05/0.2621, allocations: 30.62 kB / 463.9 MB, free: 81.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=562) (initialization): time 0.003897/0.266, allocations: 3.678 MB / 467.5 MB, free: 80.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.783e-05/0.2661, allocations: 55.27 kB / 467.6 MB, free: 80.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.372e-05/0.2662, allocations: 101.8 kB / 467.7 MB, free: 80.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003349/0.2665, allocations: 185.7 kB / 467.9 MB, free: 80.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/0.2679, allocations: 0.9842 MB / 468.9 MB, free: 80.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009701/0.2689, allocations: 1.996 MB / 470.9 MB, free: 78.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/0.2703, allocations: 218.5 kB / 471.1 MB, free: 78.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002067/0.2705, allocations: 282.4 kB / 471.3 MB, free: 78.26 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 477 * Number of states: 0 () * Number of discrete variables: 21 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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 (536): * Single equations (assignments): 532 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000642/0.2712, allocations: 0.5221 MB / 471.9 MB, free: 77.83 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002197/0.2714, allocations: 226.6 kB / 472.1 MB, free: 77.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004551/0.2718, allocations: 388.2 kB / 472.5 MB, free: 77.53 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.718e-05/0.2719, allocations: 16.09 kB / 472.5 MB, free: 77.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.2719, allocations: 0 / 472.5 MB, free: 77.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.2719, allocations: 6.141 kB / 472.5 MB, free: 77.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003367/0.2752, allocations: 2.492 MB / 475 MB, free: 76.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.2753, allocations: 3.219 kB / 475 MB, free: 76.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002837/0.2755, allocations: 125.7 kB / 475.1 MB, free: 76.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001793/0.2757, allocations: 52.94 kB / 475.2 MB, free: 76.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.129e-05/0.2757, allocations: 16.78 kB / 475.2 MB, free: 76.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007123/0.2765, allocations: 1.789 MB / 477 MB, free: 74.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.2765, allocations: 10.28 kB / 477 MB, free: 74.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/0.2778, allocations: 1.44 MB / 478.4 MB, free: 73.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003645/0.2782, allocations: 181 kB / 478.6 MB, free: 73.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/0.2783, allocations: 24.17 kB / 478.6 MB, free: 73.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000336/0.2786, allocations: 37.67 kB / 478.7 MB, free: 73.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.36e-05/0.2787, allocations: 52.53 kB / 478.7 MB, free: 73.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-05/0.2787, allocations: 31.66 kB / 478.7 MB, free: 73.19 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001103/0.2798, allocations: 0.9834 MB / 479.7 MB, free: 72.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2798, allocations: 4.031 kB / 479.7 MB, free: 72.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002733/0.2826, allocations: 0.5392 MB / 480.3 MB, free: 72.71 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 2 (rev.phi,rev.w) * 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 (65): * Single equations (assignments): 61 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003541/0.2829, allocations: 146 kB / 480.4 MB, free: 72.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003171/0.2861, allocations: 1.981 MB / 482.4 MB, free: 71.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/0.2861, allocations: 3.062 kB / 482.4 MB, free: 71.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003996/0.2865, allocations: 411.6 kB / 482.8 MB, free: 71.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.2877, allocations: 188.9 kB / 483 MB, free: 71.47 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006284/0.2939, allocations: 4.265 MB / 487.2 MB, free: 69.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006321/0.2946, allocations: 0.7142 MB / 488 MB, free: 68.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001765/0.2963, allocations: 1.178 MB / 489.1 MB, free: 68.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002518/0.2966, allocations: 142.5 kB / 489.3 MB, free: 68.77 MB / 410.7 MB Notification: Performance of SimCode: time 2.425e-06/0.2966, allocations: 1.25 kB / 489.3 MB, free: 68.77 MB / 410.7 MB Notification: Performance of Templates: time 0.02546/0.3221, allocations: 11.89 MB / 0.4894 GB, free: 67.28 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.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: 3.9119293349795043]