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.001075/0.001075, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001352/0.001352, allocations: 158 kB / 24.99 MB, free: 9.285 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.9905/0.9905, allocations: 177.1 MB / 205.3 MB, free: 5.57 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.2666/0.2666, allocations: 32.8 MB / 294.6 MB, free: 1.281 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.462e-06/1.462e-06, allocations: 0 / 376 MB, free: 4.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.473e-05/2.619e-05, allocations: 2.312 kB / 376 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.006879/0.006905, allocations: 6.586 MB / 382.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004061/0.01097, allocations: 2.379 MB / 385 MB, free: 11.97 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006003/0.01157, allocations: 31.88 kB / 385 MB, free: 11.94 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001799/0.01337, allocations: 1.117 MB / 386.1 MB, free: 10.82 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001541/0.01491, allocations: 0.89 MB / 387 MB, free: 9.926 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006369/0.01554, allocations: 327.1 kB / 387.3 MB, free: 9.605 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00199/0.01753, allocations: 1.907 MB / 389.2 MB, free: 7.691 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001802/0.01934, allocations: 1.139 MB / 390.4 MB, free: 6.531 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001485/0.02082, allocations: 1.04 MB / 391.4 MB, free: 5.488 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00146/0.02228, allocations: 0.9973 MB / 392.4 MB, free: 4.488 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002873/0.02257, allocations: 128 kB / 392.5 MB, free: 4.363 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.02378, allocations: 0.6785 MB / 393.2 MB, free: 3.684 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009664/0.02475, allocations: 0.9892 MB / 394.2 MB, free: 2.691 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008631/0.02561, allocations: 0.572 MB / 394.8 MB, free: 2.117 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003806/0.02942, allocations: 2.49 MB / 397.3 MB, free: 15.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.02943, allocations: 4 kB / 397.3 MB, free: 15.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.033e-06/0.02943, allocations: 0 / 397.3 MB, free: 15.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.089e-05/0.0295, allocations: 0 / 397.3 MB, free: 15.61 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.005923/0.03542, allocations: 2.903 MB / 400.2 MB, free: 12.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.03547, allocations: 8.031 kB / 400.2 MB, free: 12.65 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005902/0.04137, allocations: 1.871 MB / 402 MB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002188/0.04356, allocations: 0.9743 MB / 403 MB, free: 9.773 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/0.04369, allocations: 123.3 kB / 403.1 MB, free: 9.652 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003774/0.04407, allocations: 156.2 kB / 403.3 MB, free: 9.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006948/0.05101, allocations: 3.713 MB / 407 MB, free: 5.129 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.622e-05/0.05109, allocations: 31.75 kB / 407 MB, free: 5.098 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002593/0.05135, allocations: 83.89 kB / 407.1 MB, free: 5.016 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001679/0.05303, allocations: 1.437 MB / 408.6 MB, free: 3.582 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004319/0.05735, allocations: 1.981 MB / 410.5 MB, free: 1.586 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01824/0.07559, allocations: 28.49 MB / 439 MB, free: 4.113 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002051/0.07764, allocations: 0.9588 MB / 440 MB, free: 3.102 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003703/0.07801, allocations: 314.6 kB / 440.3 MB, free: 2.777 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001499/0.07816, allocations: 92.39 kB / 440.4 MB, free: 2.688 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002766/0.07844, allocations: 45.39 kB / 440.4 MB, free: 2.633 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 2.886e-06/0.07844, allocations: 0 / 440.4 MB, free: 2.633 MB / 410.7 MB Notification: Performance of matching and sorting (n=106): time 0.1589/0.2373, allocations: 6.274 MB / 446.7 MB, free: 90.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.2374, allocations: 143.9 kB / 446.8 MB, free: 89.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002301/0.2397, allocations: 2.317 MB / 449.2 MB, free: 89.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.078e-05/0.2398, allocations: 37.39 kB / 449.2 MB, free: 89.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009356/0.2407, allocations: 2.243 MB / 451.4 MB, free: 88.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003213/0.241, allocations: 474.4 kB / 451.9 MB, free: 87.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009049/0.2419, allocations: 0.938 MB / 452.8 MB, free: 87.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.453e-05/0.242, allocations: 0.5145 MB / 453.4 MB, free: 87.31 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008016/0.2428, allocations: 444.2 kB / 453.8 MB, free: 87.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001908/0.2447, allocations: 4.553 MB / 458.3 MB, free: 81.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003726/0.2484, allocations: 5.51 MB / 463.9 MB, free: 76.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.761e-05/0.2485, allocations: 32.47 kB / 463.9 MB, free: 76.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.005908/0.2544, allocations: 3.801 MB / 467.7 MB, free: 75.65 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.608e-05/0.2545, allocations: 50.16 kB / 467.7 MB, free: 75.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001026/0.2546, allocations: 103.8 kB / 467.8 MB, free: 75.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007847/0.2554, allocations: 326.5 kB / 468.2 MB, free: 75.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002038/0.2574, allocations: 0.9728 MB / 469.1 MB, free: 75.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002075/0.2595, allocations: 2.717 MB / 471.8 MB, free: 73.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0021/0.2616, allocations: 230.4 kB / 472.1 MB, free: 73.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002722/0.2618, allocations: 267 kB / 472.3 MB, free: 73.12 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 450 * 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 (527): * Single equations (assignments): 523 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007637/0.2626, allocations: 0.5132 MB / 472.8 MB, free: 72.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002891/0.2629, allocations: 228.5 kB / 473.1 MB, free: 72.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001171/0.2641, allocations: 0.7111 MB / 473.8 MB, free: 72.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/0.2641, allocations: 12.56 kB / 473.8 MB, free: 72.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.2641, allocations: 3.031 kB / 473.8 MB, free: 72.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.2641, allocations: 3.375 kB / 473.8 MB, free: 72.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004383/0.2685, allocations: 3.049 MB / 476.8 MB, free: 70.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.2685, allocations: 3.938 kB / 476.8 MB, free: 70.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004424/0.2689, allocations: 138.8 kB / 477 MB, free: 70.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005624/0.2695, allocations: 199.1 kB / 477.2 MB, free: 70.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.686e-05/0.2696, allocations: 14.03 kB / 477.2 MB, free: 70.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001515/0.2711, allocations: 2.158 MB / 479.4 MB, free: 68.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.2711, allocations: 3.25 kB / 479.4 MB, free: 68.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001977/0.273, allocations: 1.618 MB / 481 MB, free: 68.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002809/0.2733, allocations: 180.9 kB / 481.1 MB, free: 67.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001577/0.2735, allocations: 23.23 kB / 481.2 MB, free: 67.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005128/0.274, allocations: 43.28 kB / 481.2 MB, free: 67.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.2741, allocations: 65.55 kB / 481.3 MB, free: 67.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.447e-05/0.2742, allocations: 28.97 kB / 481.3 MB, free: 67.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001122/0.2753, allocations: 0.9523 MB / 482.3 MB, free: 67.53 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.2753, allocations: 0 / 482.3 MB, free: 67.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002809/0.2781, allocations: 0.5755 MB / 482.8 MB, free: 67.45 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (77): * Single equations (assignments): 73 * 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,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002765/0.2784, allocations: 140.2 kB / 483 MB, free: 67.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003217/0.2816, allocations: 2.098 MB / 485.1 MB, free: 66.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2816, allocations: 0 / 485.1 MB, free: 66.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006212/0.2822, allocations: 0.5253 MB / 485.6 MB, free: 66.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.2833, allocations: 178.5 kB / 485.8 MB, free: 66.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007799/0.291, allocations: 4.408 MB / 490.2 MB, free: 63.99 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007748/0.2918, allocations: 0.7251 MB / 490.9 MB, free: 63.73 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001936/0.2938, allocations: 1.181 MB / 492.1 MB, free: 63.63 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003778/0.2941, allocations: 149.2 kB / 492.2 MB, free: 63.61 MB / 410.7 MB Notification: Performance of SimCode: time 3.437e-06/0.2941, allocations: 0 / 492.2 MB, free: 63.61 MB / 410.7 MB Notification: Performance of Templates: time 0.02689/0.321, allocations: 16.42 MB / 0.4967 GB, free: 60.02 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.8379217630717903]