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.001262/0.001262, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001473/0.001473, allocations: 169 kB / 24.82 MB, free: 9.266 MB / 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.9636/0.9636, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2603/0.2603, allocations: 32.8 MB / 294.6 MB, free: 1.242 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 2.165e-06/2.165e-06, allocations: 0 / 376.5 MB, free: 4.441 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.841e-05/2.058e-05, allocations: 2.312 kB / 376.5 MB, free: 4.438 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.005785/0.005806, allocations: 6.472 MB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002957/0.008763, allocations: 2.364 MB / 385.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003656/0.009128, allocations: 35.88 kB / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001343/0.01047, allocations: 1.101 MB / 386.4 MB, free: 10.42 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001189/0.01166, allocations: 0.8939 MB / 387.3 MB, free: 9.52 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005037/0.01216, allocations: 327 kB / 387.6 MB, free: 9.199 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001625/0.01379, allocations: 1.911 MB / 389.6 MB, free: 7.281 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008113/0.0146, allocations: 1.139 MB / 390.7 MB, free: 6.121 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008326/0.01543, allocations: 1.079 MB / 391.8 MB, free: 5.039 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007674/0.0162, allocations: 0.9739 MB / 392.7 MB, free: 4.062 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001377/0.01634, allocations: 124 kB / 392.9 MB, free: 3.941 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006742/0.01701, allocations: 0.6745 MB / 393.5 MB, free: 3.266 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005184/0.01753, allocations: 0.9892 MB / 394.5 MB, free: 2.273 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003785/0.01791, allocations: 0.5759 MB / 395.1 MB, free: 1.695 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001999/0.01991, allocations: 2.478 MB / 397.6 MB, free: 15.21 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.01991, allocations: 0 / 397.6 MB, free: 15.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01991, allocations: 0 / 397.6 MB, free: 15.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.958e-05/0.01993, allocations: 0 / 397.6 MB, free: 15.21 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.002577/0.02251, allocations: 2.887 MB / 400.5 MB, free: 12.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.02255, allocations: 12.02 kB / 400.5 MB, free: 12.26 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002013/0.02456, allocations: 0.9707 MB / 401.5 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008623/0.02542, allocations: 0.9118 MB / 402.4 MB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.977e-05/0.02548, allocations: 115.3 kB / 402.5 MB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001807/0.02566, allocations: 160.2 kB / 402.6 MB, free: 10.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003274/0.02894, allocations: 3.423 MB / 406.1 MB, free: 5.992 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.523e-05/0.02898, allocations: 23.81 kB / 406.1 MB, free: 5.969 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001319/0.02911, allocations: 83.89 kB / 406.2 MB, free: 5.887 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001061/0.03018, allocations: 1.238 MB / 407.4 MB, free: 4.652 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002193/0.03237, allocations: 1.524 MB / 408.9 MB, free: 3.121 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01843/0.05079, allocations: 28.5 MB / 437.4 MB, free: 5.578 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001855/0.05265, allocations: 0.7815 MB / 438.2 MB, free: 4.746 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/0.05285, allocations: 194.6 kB / 438.4 MB, free: 4.539 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001924/0.05478, allocations: 1.841 MB / 440.2 MB, free: 2.668 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.05481, allocations: 49.31 kB / 440.3 MB, free: 2.609 MB / 410.7 MB Notification: Performance of pre-optimization done (n=77): time 1.864e-06/0.05481, allocations: 0 / 440.3 MB, free: 2.609 MB / 410.7 MB Notification: Performance of matching and sorting (n=84): time 0.1571/0.2119, allocations: 2.645 MB / 442.9 MB, free: 98.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.2119, allocations: 145.5 kB / 443.1 MB, free: 97.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0019/0.2138, allocations: 2.397 MB / 445.5 MB, free: 97.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.648e-05/0.2139, allocations: 35.73 kB / 445.5 MB, free: 97.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007465/0.2146, allocations: 2.336 MB / 447.8 MB, free: 96.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002204/0.2149, allocations: 396.1 kB / 448.2 MB, free: 96.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006211/0.2155, allocations: 0.9683 MB / 449.2 MB, free: 96.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.121e-05/0.2156, allocations: 0.5091 MB / 449.7 MB, free: 95.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003389/0.2159, allocations: 312.5 kB / 450 MB, free: 95.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001613/0.2175, allocations: 4.678 MB / 454.7 MB, free: 89.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00291/0.2204, allocations: 5.575 MB / 460.3 MB, free: 84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-05/0.2205, allocations: 31.59 kB / 460.3 MB, free: 84 MB / 410.7 MB Notification: Performance of matching and sorting (n=562) (initialization): time 0.003438/0.2239, allocations: 3.432 MB / 463.7 MB, free: 83.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.901e-05/0.224, allocations: 55.78 kB / 463.8 MB, free: 83.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.948e-05/0.224, allocations: 105.9 kB / 463.9 MB, free: 83.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002819/0.2243, allocations: 184 kB / 464.1 MB, free: 83.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/0.2256, allocations: 0.9708 MB / 465 MB, free: 82.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007886/0.2264, allocations: 1.965 MB / 467 MB, free: 81.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.2277, allocations: 201.3 kB / 467.2 MB, free: 81.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001704/0.2279, allocations: 244.2 kB / 467.4 MB, free: 81.16 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.0005875/0.2285, allocations: 0.5156 MB / 468 MB, free: 80.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001726/0.2287, allocations: 228.1 kB / 468.2 MB, free: 80.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003492/0.229, allocations: 367.7 kB / 468.5 MB, free: 80.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.229, allocations: 10.28 kB / 468.6 MB, free: 80.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.229, allocations: 3.219 kB / 468.6 MB, free: 80.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.229, allocations: 3.281 kB / 468.6 MB, free: 80.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002444/0.2315, allocations: 2.466 MB / 471 MB, free: 79.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.2315, allocations: 6.312 kB / 471 MB, free: 79.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002178/0.2317, allocations: 107.3 kB / 471.1 MB, free: 79.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001287/0.2318, allocations: 47.27 kB / 471.2 MB, free: 79.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/0.2319, allocations: 21.91 kB / 471.2 MB, free: 79.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004862/0.2323, allocations: 1.763 MB / 473 MB, free: 77.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.2323, allocations: 3.031 kB / 473 MB, free: 77.33 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007706/0.2331, allocations: 1.375 MB / 474.3 MB, free: 76.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.2332, allocations: 181.1 kB / 474.5 MB, free: 76.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.745e-05/0.2333, allocations: 19.44 kB / 474.5 MB, free: 76.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002824/0.2336, allocations: 18.41 kB / 474.6 MB, free: 76.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.669e-05/0.2337, allocations: 68.5 kB / 474.6 MB, free: 76.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.873e-05/0.2337, allocations: 23.91 kB / 474.6 MB, free: 76.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005971/0.2343, allocations: 0.9236 MB / 475.6 MB, free: 75.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2343, allocations: 0 / 475.6 MB, free: 75.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001594/0.2359, allocations: 0.5321 MB / 476.1 MB, free: 75.7 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.000225/0.2361, allocations: 155.3 kB / 476.3 MB, free: 75.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001514/0.2376, allocations: 1.873 MB / 478.1 MB, free: 74.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.2376, allocations: 3.875 kB / 478.1 MB, free: 74.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002185/0.2379, allocations: 392.2 kB / 478.5 MB, free: 74.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007067/0.2386, allocations: 193.2 kB / 478.7 MB, free: 74.49 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004218/0.2428, allocations: 4.25 MB / 483 MB, free: 72.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005822/0.2434, allocations: 0.7207 MB / 483.7 MB, free: 71.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006436/0.244, allocations: 322.2 kB / 484 MB, free: 71.81 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003931/0.2444, allocations: 350.2 kB / 484.3 MB, free: 71.74 MB / 410.7 MB Notification: Performance of SimCode: time 1.323e-06/0.2444, allocations: 1.156 kB / 484.3 MB, free: 71.74 MB / 410.7 MB Notification: Performance of Templates: time 0.02541/0.2698, allocations: 13.11 MB / 497.4 MB, free: 69.9 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.7981841219589114]