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.0009993/0.0009993, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.001039/0.001039, allocations: 161 kB / 24.56 MB, free: 12 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.9706/0.9706, allocations: 177.1 MB / 205 MB, free: 5.59 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.2692/0.2692, allocations: 34.27 MB / 295.7 MB, free: 0.7656 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.312e-06/1.312e-06, allocations: 0 / 378 MB, free: 2.664 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.835e-05/1.967e-05, allocations: 9.688 kB / 378 MB, free: 2.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.005544/0.005564, allocations: 6.598 MB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003381/0.008945, allocations: 2.399 MB / 387 MB, free: 9.613 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003719/0.009317, allocations: 31.88 kB / 387.1 MB, free: 9.582 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001744/0.01106, allocations: 1.125 MB / 388.2 MB, free: 8.453 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001824/0.01289, allocations: 0.8862 MB / 389.1 MB, free: 7.562 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006806/0.01357, allocations: 335 kB / 389.4 MB, free: 7.234 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002809/0.01638, allocations: 1.907 MB / 391.3 MB, free: 5.32 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001416/0.01779, allocations: 1.127 MB / 392.4 MB, free: 4.172 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001486/0.01928, allocations: 1.044 MB / 393.5 MB, free: 3.125 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001311/0.02059, allocations: 0.9934 MB / 394.5 MB, free: 2.129 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003278/0.02092, allocations: 128 kB / 394.6 MB, free: 2.004 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009908/0.02191, allocations: 0.6745 MB / 395.3 MB, free: 1.328 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007267/0.02263, allocations: 0.9931 MB / 396.3 MB, free: 340 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007455/0.02338, allocations: 0.5798 MB / 396.8 MB, free: 15.75 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002827/0.02621, allocations: 2.49 MB / 399.3 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.02621, allocations: 0 / 399.3 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.02621, allocations: 0 / 399.3 MB, free: 13.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001108/0.02632, allocations: 0 / 399.3 MB, free: 13.25 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.003963/0.03029, allocations: 2.899 MB / 402.2 MB, free: 10.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.03033, allocations: 8.031 kB / 402.2 MB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003336/0.03367, allocations: 1.879 MB / 404.1 MB, free: 8.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001431/0.0351, allocations: 0.9782 MB / 405.1 MB, free: 7.402 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.545e-05/0.03516, allocations: 115.3 kB / 405.2 MB, free: 7.289 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002406/0.0354, allocations: 160.2 kB / 405.4 MB, free: 7.133 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004383/0.03979, allocations: 3.717 MB / 409.1 MB, free: 2.758 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.81e-05/0.03984, allocations: 27.81 kB / 409.1 MB, free: 2.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/0.03998, allocations: 75.89 kB / 409.2 MB, free: 2.656 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001483/0.04146, allocations: 1.445 MB / 410.6 MB, free: 1.215 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003994/0.04546, allocations: 1.982 MB / 412.6 MB, free: 15.22 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01895/0.06441, allocations: 28.49 MB / 441.1 MB, free: 1.746 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002224/0.06663, allocations: 0.955 MB / 442.1 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004747/0.06711, allocations: 314.6 kB / 442.4 MB, free: 424 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001952/0.0673, allocations: 100.3 kB / 442.5 MB, free: 324 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.06733, allocations: 45.39 kB / 442.5 MB, free: 268 kB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 4.618e-06/0.06734, allocations: 4 kB / 442.5 MB, free: 264 kB / 410.7 MB Notification: Performance of matching and sorting (n=106): time 0.1756/0.243, allocations: 6.262 MB / 448.8 MB, free: 94.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.243, allocations: 142.6 kB / 448.9 MB, free: 94.01 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002553/0.2456, allocations: 2.321 MB / 451.2 MB, free: 93.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.819e-05/0.2457, allocations: 39.33 kB / 451.3 MB, free: 93.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009828/0.2467, allocations: 2.242 MB / 453.5 MB, free: 92.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003577/0.247, allocations: 472.7 kB / 454 MB, free: 91.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009288/0.2479, allocations: 0.9358 MB / 454.9 MB, free: 91.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.861e-05/0.248, allocations: 0.5072 MB / 455.4 MB, free: 91.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000878/0.2489, allocations: 441.9 kB / 455.8 MB, free: 91.35 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002138/0.251, allocations: 4.555 MB / 460.4 MB, free: 86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00385/0.2549, allocations: 5.516 MB / 465.9 MB, free: 80.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.212e-05/0.255, allocations: 28.34 kB / 465.9 MB, free: 80.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.005924/0.2609, allocations: 3.803 MB / 469.7 MB, free: 78.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.693e-05/0.261, allocations: 48.81 kB / 469.8 MB, free: 78.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001107/0.2611, allocations: 100.2 kB / 469.9 MB, free: 78.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000792/0.2619, allocations: 327.9 kB / 470.2 MB, free: 78.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002106/0.264, allocations: 0.9754 MB / 471.2 MB, free: 78.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002171/0.2661, allocations: 2.71 MB / 473.9 MB, free: 76.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002167/0.2683, allocations: 231.1 kB / 474.1 MB, free: 76.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000289/0.2686, allocations: 273.8 kB / 474.4 MB, free: 76.16 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.0008399/0.2694, allocations: 0.5181 MB / 474.9 MB, free: 75.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002941/0.2697, allocations: 229.1 kB / 475.1 MB, free: 75.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001221/0.271, allocations: 0.706 MB / 475.8 MB, free: 75.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.432e-05/0.271, allocations: 12.28 kB / 475.8 MB, free: 75.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.271, allocations: 7.125 kB / 475.9 MB, free: 75.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.271, allocations: 6.109 kB / 475.9 MB, free: 75.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004699/0.2757, allocations: 3.049 MB / 478.9 MB, free: 73.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.2757, allocations: 0 / 478.9 MB, free: 73.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00037/0.2761, allocations: 138.2 kB / 479 MB, free: 73.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000504/0.2766, allocations: 186.6 kB / 479.2 MB, free: 73.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.02e-05/0.2766, allocations: 17.56 kB / 479.2 MB, free: 73.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001577/0.2782, allocations: 2.17 MB / 481.4 MB, free: 71.99 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.2782, allocations: 7 kB / 481.4 MB, free: 71.99 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001986/0.2802, allocations: 1.625 MB / 483 MB, free: 71.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003286/0.2805, allocations: 173.8 kB / 483.2 MB, free: 70.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.2807, allocations: 19.73 kB / 483.2 MB, free: 70.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003773/0.281, allocations: 43.28 kB / 483.3 MB, free: 70.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.2811, allocations: 61.3 kB / 483.3 MB, free: 70.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.377e-05/0.2812, allocations: 25.84 kB / 483.4 MB, free: 70.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001218/0.2824, allocations: 0.9469 MB / 484.3 MB, free: 70.56 MB / 410.7 MB Notification: Performance of sort global known variables: time 3e-07/0.2824, allocations: 0 / 484.3 MB, free: 70.56 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002653/0.2851, allocations: 0.5863 MB / 484.9 MB, free: 70.47 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.0003264/0.2854, allocations: 142 kB / 485 MB, free: 70.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003404/0.2888, allocations: 2.101 MB / 487.1 MB, free: 69.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.2888, allocations: 0 / 487.1 MB, free: 69.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005992/0.2894, allocations: 0.5216 MB / 487.7 MB, free: 69.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009644/0.2904, allocations: 176.8 kB / 487.8 MB, free: 69.19 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006979/0.2973, allocations: 4.412 MB / 492.2 MB, free: 67.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000741/0.2981, allocations: 0.7293 MB / 493 MB, free: 66.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001809/0.2999, allocations: 1.187 MB / 494.2 MB, free: 66.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002928/0.3002, allocations: 136.9 kB / 494.3 MB, free: 66.64 MB / 410.7 MB Notification: Performance of SimCode: time 2.024e-06/0.3002, allocations: 3.531 kB / 494.3 MB, free: 66.64 MB / 410.7 MB Notification: Performance of Templates: time 0.02614/0.3263, allocations: 16.41 MB / 0.4987 GB, free: 59.32 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.9151658322662115]