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.0009872/0.0009872, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001403/0.00239, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007715/0.0007715, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009029/0.001674, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 1.114/1.114, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1417/1.256, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.3743/0.3743, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03797/0.4123, allocations: 12.53 MB / 289.3 MB, free: 8.684 MB / 282.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 2.264e-06/2.264e-06, allocations: 0 / 290.6 MB, free: 7.676 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.695e-05/2.922e-05, allocations: 4.203 kB / 290.6 MB, free: 7.672 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.009609/0.009638, allocations: 6.558 MB / 297.1 MB, free: 1.738 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004951/0.01459, allocations: 2.462 MB / 299.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004867/0.01508, allocations: 35.88 kB / 299.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001386/0.01646, allocations: 1.09 MB / 300.7 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001356/0.01782, allocations: 0.8939 MB / 301.6 MB, free: 13.24 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005335/0.01835, allocations: 307.1 kB / 301.9 MB, free: 12.94 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001618/0.01997, allocations: 1.905 MB / 303.8 MB, free: 11.04 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001091/0.02106, allocations: 1.104 MB / 304.9 MB, free: 9.898 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001159/0.02222, allocations: 1.124 MB / 306.1 MB, free: 8.773 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000976/0.02319, allocations: 0.9115 MB / 307 MB, free: 7.859 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001625/0.02336, allocations: 132 kB / 307.1 MB, free: 7.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009542/0.02431, allocations: 0.6863 MB / 307.8 MB, free: 7.043 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006255/0.02494, allocations: 0.8959 MB / 308.7 MB, free: 6.145 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004492/0.02539, allocations: 498.1 kB / 309.2 MB, free: 5.656 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002027/0.02741, allocations: 2.319 MB / 311.5 MB, free: 3.328 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.135e-05/0.02743, allocations: 0 / 311.5 MB, free: 3.328 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.02744, allocations: 0 / 311.5 MB, free: 3.328 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.522e-05/0.02749, allocations: 0 / 311.5 MB, free: 3.328 MB / 298.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.003077/0.03057, allocations: 2.999 MB / 314.5 MB, free: 276 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.03061, allocations: 8.031 kB / 314.5 MB, free: 268 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001817/0.03243, allocations: 0.7458 MB / 315.2 MB, free: 15.52 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009254/0.03335, allocations: 0.8245 MB / 316.1 MB, free: 14.66 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.223e-05/0.03342, allocations: 115.3 kB / 316.2 MB, free: 14.55 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000199/0.03362, allocations: 156.2 kB / 316.3 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0029/0.03652, allocations: 3.021 MB / 319.4 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.82e-05/0.03657, allocations: 31.73 kB / 319.4 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001346/0.03671, allocations: 75.89 kB / 319.5 MB, free: 10.78 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00111/0.03782, allocations: 1.25 MB / 320.7 MB, free: 9.535 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002221/0.04004, allocations: 1.545 MB / 322.3 MB, free: 7.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01531/0.05535, allocations: 20.31 MB / 342.6 MB, free: 2.824 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/0.05692, allocations: 0.7433 MB / 343.3 MB, free: 2.039 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002011/0.05712, allocations: 193 kB / 343.5 MB, free: 1.84 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001908/0.05903, allocations: 1.689 MB / 345.2 MB, free: 128 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.103e-05/0.05907, allocations: 50.44 kB / 345.2 MB, free: 68 kB / 330.7 MB Notification: Performance of pre-optimization done (n=77): time 2.605e-06/0.05907, allocations: 3.938 kB / 345.2 MB, free: 64 kB / 330.7 MB Notification: Performance of matching and sorting (n=84): time 0.005058/0.06413, allocations: 2.369 MB / 347.6 MB, free: 13.64 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/0.0642, allocations: 140.5 kB / 347.7 MB, free: 13.47 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00166/0.06586, allocations: 1.886 MB / 349.6 MB, free: 11.54 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/0.06589, allocations: 33.7 kB / 349.7 MB, free: 11.5 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009134/0.0668, allocations: 2.119 MB / 351.8 MB, free: 9.359 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002/0.067, allocations: 389.2 kB / 352.2 MB, free: 8.977 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000594/0.0676, allocations: 0.8106 MB / 353 MB, free: 8.152 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.0677, allocations: 337.9 kB / 353.3 MB, free: 7.816 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004547/0.06816, allocations: 450.5 kB / 353.7 MB, free: 7.367 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00224/0.0704, allocations: 3.241 MB / 357 MB, free: 2.641 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003286/0.07368, allocations: 4.185 MB / 361.2 MB, free: 12.99 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.057e-05/0.07371, allocations: 32 kB / 361.2 MB, free: 12.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=562) (initialization): time 0.002881/0.07659, allocations: 2.923 MB / 364.1 MB, free: 10.03 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.708e-05/0.07665, allocations: 55.94 kB / 364.2 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-05/0.07672, allocations: 104 kB / 364.3 MB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002753/0.077, allocations: 183.6 kB / 364.5 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/0.07855, allocations: 1.069 MB / 365.5 MB, free: 8.617 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009246/0.07948, allocations: 1.432 MB / 367 MB, free: 7.082 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/0.0806, allocations: 199.7 kB / 367.1 MB, free: 6.887 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000204/0.0808, allocations: 244 kB / 367.4 MB, free: 6.648 MB / 362.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.001026/0.08183, allocations: 488.8 kB / 367.9 MB, free: 6.156 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/0.08199, allocations: 131.9 kB / 368 MB, free: 6.027 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003888/0.08238, allocations: 335.5 kB / 368.3 MB, free: 5.691 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.08239, allocations: 12 kB / 368.3 MB, free: 5.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.0824, allocations: 0 / 368.3 MB, free: 5.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.08241, allocations: 7.984 kB / 368.3 MB, free: 5.672 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002231/0.08464, allocations: 2.009 MB / 370.3 MB, free: 3.559 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.08464, allocations: 4 kB / 370.4 MB, free: 3.555 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002453/0.08489, allocations: 123.9 kB / 370.5 MB, free: 3.434 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001628/0.08505, allocations: 174.5 kB / 370.6 MB, free: 3.262 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002521/0.0853, allocations: 174 kB / 370.8 MB, free: 3.086 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.999e-05/0.08533, allocations: 20 kB / 370.8 MB, free: 3.066 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006967/0.08603, allocations: 1.234 MB / 372.1 MB, free: 1.738 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/0.08604, allocations: 8 kB / 372.1 MB, free: 1.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.08706, allocations: 1.111 MB / 373.2 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/0.0872, allocations: 19.98 kB / 373.2 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004032/0.0876, allocations: 16 kB / 373.2 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.765e-05/0.08769, allocations: 59.73 kB / 373.3 MB, free: 448 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-05/0.08774, allocations: 24.06 kB / 373.3 MB, free: 424 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007526/0.08849, allocations: 0.7156 MB / 374 MB, free: 15.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.08849, allocations: 0 / 374 MB, free: 15.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002276/0.09076, allocations: 0.5312 MB / 374.6 MB, free: 15.14 MB / 378.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.0005743/0.09134, allocations: 132.1 kB / 374.7 MB, free: 15.01 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001973/0.09331, allocations: 1.71 MB / 376.4 MB, free: 13.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001261/0.09344, allocations: 63.94 kB / 376.5 MB, free: 13.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000292/0.09373, allocations: 302 kB / 376.7 MB, free: 12.92 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009871/0.09472, allocations: 309.4 kB / 377 MB, free: 12.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007284/0.102, allocations: 4.4 MB / 381.4 MB, free: 8.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001139/0.1031, allocations: 0.7079 MB / 382.2 MB, free: 7.355 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009169/0.1041, allocations: 324.4 kB / 382.5 MB, free: 7.035 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004482/0.1045, allocations: 327.3 kB / 382.8 MB, free: 6.715 MB / 378.7 MB Notification: Performance of SimCode: time 8.32e-07/0.1045, allocations: 4 kB / 382.8 MB, free: 6.711 MB / 378.7 MB Notification: Performance of Templates: time 0.0303/0.1348, allocations: 13.3 MB / 396.1 MB, free: 9.559 MB / 394.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 -ignoreHideResult -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: 4.086899376474321]