Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001329/0.001329, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001391/0.001391, allocations: 165 kB / 24.56 MB, free: 16 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.9214/0.9214, allocations: 177.1 MB / 205 MB, free: 5.289 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.251/0.251, allocations: 34.26 MB / 295.7 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Parts.PointMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 378 MB, free: 2.707 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.857e-05/2.015e-05, allocations: 8.641 kB / 378 MB, free: 2.699 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.01599/0.01602, allocations: 6.602 MB / 384.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00684/0.02285, allocations: 2.387 MB / 387 MB, free: 9.664 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005526/0.02341, allocations: 35.88 kB / 387 MB, free: 9.629 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001753/0.02516, allocations: 1.125 MB / 388.2 MB, free: 8.5 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001441/0.0266, allocations: 0.9017 MB / 389.1 MB, free: 7.594 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006621/0.02726, allocations: 331 kB / 389.4 MB, free: 7.27 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001823/0.02909, allocations: 1.907 MB / 391.3 MB, free: 5.355 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001094/0.03018, allocations: 1.123 MB / 392.4 MB, free: 4.211 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001065/0.03125, allocations: 1.079 MB / 393.5 MB, free: 3.129 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001058/0.0323, allocations: 0.9739 MB / 394.5 MB, free: 2.152 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004795/0.03278, allocations: 128 kB / 394.6 MB, free: 2.027 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008348/0.03362, allocations: 0.6745 MB / 395.3 MB, free: 1.352 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006273/0.03424, allocations: 0.9853 MB / 396.3 MB, free: 372 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005428/0.03479, allocations: 0.576 MB / 396.8 MB, free: 15.78 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002204/0.03699, allocations: 2.478 MB / 399.3 MB, free: 13.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.037, allocations: 0 / 399.3 MB, free: 13.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.037, allocations: 4 kB / 399.3 MB, free: 13.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.933e-05/0.03708, allocations: 0 / 399.3 MB, free: 13.29 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.00336/0.04044, allocations: 2.903 MB / 402.2 MB, free: 10.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.04047, allocations: 11.97 kB / 402.2 MB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002923/0.04339, allocations: 1.871 MB / 404.1 MB, free: 8.453 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009666/0.04436, allocations: 1.013 MB / 405.1 MB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.385e-05/0.04441, allocations: 115.3 kB / 405.2 MB, free: 7.297 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/0.04458, allocations: 156.2 kB / 405.4 MB, free: 7.145 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003532/0.04812, allocations: 3.701 MB / 409.1 MB, free: 2.785 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.831e-05/0.04815, allocations: 23.81 kB / 409.1 MB, free: 2.762 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001376/0.04829, allocations: 83.88 kB / 409.2 MB, free: 2.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001138/0.04943, allocations: 1.382 MB / 410.6 MB, free: 1.301 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002792/0.05222, allocations: 1.876 MB / 412.5 MB, free: 15.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01521/0.06743, allocations: 28.61 MB / 441.1 MB, free: 1.766 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/0.06918, allocations: 0.8464 MB / 441.9 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000273/0.06945, allocations: 230.6 kB / 442.1 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1402/0.2096, allocations: 1.895 MB / 444 MB, free: 94.81 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.2096, allocations: 50.08 kB / 444.1 MB, free: 94.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=77): time 3.456e-06/0.2096, allocations: 0 / 444.1 MB, free: 94.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=84): time 0.006299/0.2159, allocations: 4.281 MB / 448.4 MB, free: 93.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.216, allocations: 148.4 kB / 448.5 MB, free: 93.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00188/0.2178, allocations: 2.394 MB / 450.9 MB, free: 92.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.167e-05/0.2179, allocations: 35.64 kB / 450.9 MB, free: 92.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007309/0.2186, allocations: 2.325 MB / 453.3 MB, free: 91.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/0.2188, allocations: 391.4 kB / 453.6 MB, free: 91.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006148/0.2194, allocations: 0.9509 MB / 454.6 MB, free: 90.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.484e-05/0.2195, allocations: 0.509 MB / 455.1 MB, free: 90.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005523/0.22, allocations: 393.6 kB / 455.5 MB, free: 90.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001644/0.2217, allocations: 4.727 MB / 460.2 MB, free: 84.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002817/0.2245, allocations: 5.654 MB / 465.9 MB, free: 78.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.719e-05/0.2245, allocations: 30.56 kB / 465.9 MB, free: 78.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=562) (initialization): time 0.003523/0.2281, allocations: 3.671 MB / 469.6 MB, free: 77.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.396e-05/0.2281, allocations: 55.53 kB / 469.6 MB, free: 77.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.098e-05/0.2282, allocations: 104.9 kB / 469.7 MB, free: 77.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002642/0.2284, allocations: 189.5 kB / 469.9 MB, free: 77.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/0.2298, allocations: 0.9775 MB / 470.9 MB, free: 77.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007877/0.2306, allocations: 1.997 MB / 472.9 MB, free: 75.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/0.2318, allocations: 222.1 kB / 473.1 MB, free: 75.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000184/0.232, allocations: 273.1 kB / 473.4 MB, free: 75.08 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.0005613/0.2326, allocations: 0.5314 MB / 473.9 MB, free: 74.65 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001735/0.2327, allocations: 217.2 kB / 474.1 MB, free: 74.53 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004161/0.2332, allocations: 392.8 kB / 474.5 MB, free: 74.35 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/0.2332, allocations: 11.66 kB / 474.5 MB, free: 74.35 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.2332, allocations: 3.938 kB / 474.5 MB, free: 74.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.2332, allocations: 6.328 kB / 474.5 MB, free: 74.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002536/0.2357, allocations: 2.498 MB / 477 MB, free: 73.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.2357, allocations: 6.031 kB / 477 MB, free: 73.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002462/0.236, allocations: 116 kB / 477.1 MB, free: 73.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001274/0.2361, allocations: 56.72 kB / 477.2 MB, free: 72.99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.239e-05/0.2361, allocations: 23.2 kB / 477.2 MB, free: 72.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005812/0.2367, allocations: 1.782 MB / 479 MB, free: 71.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.2367, allocations: 10 kB / 479 MB, free: 71.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009823/0.2377, allocations: 1.442 MB / 480.4 MB, free: 70.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.2378, allocations: 180.2 kB / 480.6 MB, free: 70.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.716e-05/0.2379, allocations: 21 kB / 480.6 MB, free: 70.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002867/0.2382, allocations: 28.7 kB / 480.7 MB, free: 70.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.688e-05/0.2383, allocations: 66.31 kB / 480.7 MB, free: 70 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.298e-05/0.2383, allocations: 32.25 kB / 480.8 MB, free: 70 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008114/0.2391, allocations: 0.9816 MB / 481.7 MB, free: 69.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2391, allocations: 4.031 kB / 481.7 MB, free: 69.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001701/0.2408, allocations: 0.5362 MB / 482.3 MB, free: 69.53 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.0002301/0.2411, allocations: 137 kB / 482.4 MB, free: 69.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002/0.2431, allocations: 1.984 MB / 484.4 MB, free: 68.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.2431, allocations: 1.062 kB / 484.4 MB, free: 68.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002897/0.2434, allocations: 413.1 kB / 484.8 MB, free: 68.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007203/0.2441, allocations: 189.5 kB / 485 MB, free: 68.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004651/0.2487, allocations: 4.269 MB / 489.3 MB, free: 65.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005792/0.2493, allocations: 0.7168 MB / 490 MB, free: 65.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001571/0.2509, allocations: 1.177 MB / 491.2 MB, free: 65.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002044/0.2511, allocations: 135.1 kB / 491.3 MB, free: 65.59 MB / 410.7 MB Notification: Performance of SimCode: time 1.012e-06/0.2511, allocations: 0 / 491.3 MB, free: 65.59 MB / 410.7 MB Notification: Performance of Templates: time 0.02142/0.2725, allocations: 11.9 MB / 0.4914 GB, free: 64.09 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.617340291850269]