Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008013/0.0008013, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001167/0.001968, allocations: 447.8 kB / 10.35 MB, free: 348 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.0008512/0.0008512, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001084/0.001935, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9119/0.9119, allocations: 158.6 MB / 171 MB, free: 2.18 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1698/1.082, allocations: 49.49 MB / 220.5 MB, free: 5.273 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1208/0.1208, allocations: 32.34 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02066/0.1415, allocations: 12.29 MB / 265.9 MB, free: 7.832 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 3.938 kB / 267.2 MB, free: 6.555 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.811e-05/1.956e-05, allocations: 6.25 kB / 267.2 MB, free: 6.547 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.005755/0.005774, allocations: 6.578 MB / 273.8 MB, free: 15.93 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00383/0.009604, allocations: 2.43 MB / 276.2 MB, free: 13.49 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006476/0.01025, allocations: 35.88 kB / 276.2 MB, free: 13.45 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001225/0.01148, allocations: 1.062 MB / 277.3 MB, free: 12.39 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001716/0.01319, allocations: 0.9133 MB / 278.2 MB, free: 11.47 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000562/0.01376, allocations: 299.1 kB / 278.5 MB, free: 11.18 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001752/0.01551, allocations: 1.938 MB / 280.4 MB, free: 9.23 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001056/0.01656, allocations: 1.108 MB / 281.6 MB, free: 8.094 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001082/0.01764, allocations: 1.136 MB / 282.7 MB, free: 6.957 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008369/0.01848, allocations: 0.9193 MB / 283.6 MB, free: 6.035 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001447/0.01863, allocations: 124 kB / 283.7 MB, free: 5.914 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000824/0.01945, allocations: 0.6747 MB / 284.4 MB, free: 5.238 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007808/0.02023, allocations: 0.9193 MB / 285.3 MB, free: 4.316 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003958/0.02063, allocations: 0.4943 MB / 285.8 MB, free: 3.82 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001932/0.02256, allocations: 2.342 MB / 288.2 MB, free: 1.469 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.531e-05/0.02257, allocations: 0 / 288.2 MB, free: 1.469 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.02258, allocations: 0 / 288.2 MB, free: 1.469 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.617e-05/0.02261, allocations: 0 / 288.2 MB, free: 1.469 MB / 282.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.002682/0.02529, allocations: 3.021 MB / 291.2 MB, free: 14.39 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.02533, allocations: 8.031 kB / 291.2 MB, free: 14.38 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001989/0.02732, allocations: 0.7498 MB / 291.9 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008534/0.02817, allocations: 0.8206 MB / 292.8 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.114e-05/0.02823, allocations: 123.3 kB / 292.9 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001782/0.02841, allocations: 156.3 kB / 293 MB, free: 12.51 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002565/0.03097, allocations: 3.014 MB / 296 MB, free: 9.008 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.774e-05/0.03102, allocations: 31.7 kB / 296.1 MB, free: 8.977 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001364/0.03116, allocations: 79.89 kB / 296.2 MB, free: 8.898 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001027/0.03218, allocations: 1.242 MB / 297.4 MB, free: 7.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00242/0.0346, allocations: 1.564 MB / 299 MB, free: 6.086 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01324/0.04784, allocations: 20.3 MB / 319.3 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/0.0493, allocations: 0.742 MB / 320 MB, free: 156 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000225/0.04953, allocations: 203.2 kB / 320.2 MB, free: 15.94 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002072/0.0516, allocations: 1.686 MB / 321.9 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.05163, allocations: 50.64 kB / 321.9 MB, free: 14.17 MB / 330.7 MB Notification: Performance of pre-optimization done (n=77): time 4.368e-06/0.05163, allocations: 0 / 321.9 MB, free: 14.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=84): time 0.004687/0.05632, allocations: 2.362 MB / 324.3 MB, free: 11.74 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.05637, allocations: 140.5 kB / 324.4 MB, free: 11.57 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.05755, allocations: 1.891 MB / 326.3 MB, free: 9.641 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.05758, allocations: 33.7 kB / 326.4 MB, free: 9.602 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001026/0.0586, allocations: 2.123 MB / 328.5 MB, free: 7.453 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001775/0.05878, allocations: 381.2 kB / 328.9 MB, free: 7.078 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005403/0.05932, allocations: 0.8184 MB / 329.7 MB, free: 6.246 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.126e-05/0.0594, allocations: 341.9 kB / 330 MB, free: 5.906 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004103/0.05981, allocations: 442.5 kB / 330.4 MB, free: 5.465 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001853/0.06167, allocations: 3.241 MB / 333.7 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1616/0.2233, allocations: 4.188 MB / 337.9 MB, free: 48.48 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.983e-05/0.2233, allocations: 34.12 kB / 337.9 MB, free: 48.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=562) (initialization): time 0.003124/0.2265, allocations: 2.911 MB / 340.8 MB, free: 47.7 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.782e-05/0.2265, allocations: 52.66 kB / 340.9 MB, free: 47.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.763e-05/0.2266, allocations: 108.8 kB / 341 MB, free: 47.69 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002975/0.2269, allocations: 187.1 kB / 341.2 MB, free: 47.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/0.2284, allocations: 1.064 MB / 342.2 MB, free: 47.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006482/0.229, allocations: 1.432 MB / 343.7 MB, free: 46.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/0.2301, allocations: 202.7 kB / 343.8 MB, free: 46.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001664/0.2303, allocations: 242.6 kB / 344.1 MB, free: 46.37 MB / 330.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.000529/0.2308, allocations: 489 kB / 344.6 MB, free: 46.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.231, allocations: 126.8 kB / 344.7 MB, free: 46.16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003799/0.2313, allocations: 341 kB / 345 MB, free: 46.09 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.2314, allocations: 7.594 kB / 345 MB, free: 46.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.2314, allocations: 8.297 kB / 345 MB, free: 46.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.2314, allocations: 2.484 kB / 345 MB, free: 46.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002191/0.2336, allocations: 2.01 MB / 347 MB, free: 45.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.2336, allocations: 9.094 kB / 347.1 MB, free: 45.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002409/0.2338, allocations: 118.4 kB / 347.2 MB, free: 45.57 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001976/0.234, allocations: 226 kB / 347.4 MB, free: 45.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002331/0.2342, allocations: 175.1 kB / 347.6 MB, free: 45.54 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/0.2343, allocations: 21.8 kB / 347.6 MB, free: 45.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004063/0.2347, allocations: 1.229 MB / 348.8 MB, free: 44.37 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.2347, allocations: 7.812 kB / 348.8 MB, free: 44.37 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006091/0.2353, allocations: 1.115 MB / 349.9 MB, free: 43.67 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.482e-05/0.2354, allocations: 21.16 kB / 350 MB, free: 43.67 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002718/0.2356, allocations: 14.91 kB / 350 MB, free: 43.67 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/0.2357, allocations: 62.03 kB / 350 MB, free: 43.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-05/0.2357, allocations: 29.17 kB / 350.1 MB, free: 43.66 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004509/0.2362, allocations: 0.7121 MB / 350.8 MB, free: 43.57 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.2362, allocations: 0 / 350.8 MB, free: 43.57 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001509/0.2377, allocations: 0.5458 MB / 351.3 MB, free: 43.57 MB / 330.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.000207/0.2379, allocations: 131 kB / 351.4 MB, free: 43.49 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001184/0.2391, allocations: 1.71 MB / 353.2 MB, free: 42.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.109e-05/0.2392, allocations: 61.91 kB / 353.2 MB, free: 42.16 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002024/0.2394, allocations: 302.6 kB / 353.5 MB, free: 41.9 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007132/0.2401, allocations: 329.3 kB / 353.8 MB, free: 41.69 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004424/0.2445, allocations: 4.397 MB / 358.2 MB, free: 37.97 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004757/0.245, allocations: 0.7173 MB / 358.9 MB, free: 37.57 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005632/0.2456, allocations: 323.3 kB / 359.3 MB, free: 37.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000242/0.2458, allocations: 322.4 kB / 359.6 MB, free: 37.04 MB / 330.7 MB Notification: Performance of SimCode: time 1.372e-06/0.2458, allocations: 0 / 359.6 MB, free: 37.04 MB / 330.7 MB Notification: Performance of Templates: time 0.01935/0.2651, allocations: 13.27 MB / 372.9 MB, free: 24.16 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.488853900693357]