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.0007402/0.0007402, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009825/0.001723, allocations: 449.7 kB / 10.37 MB, free: 328 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.000683/0.000683, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008491/0.001532, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9274/0.9274, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08049/1.008, allocations: 53.64 MB / 243.3 MB, free: 15.6 MB / 250.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.2467/0.2467, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02445/0.2711, allocations: 13.1 MB / 291.3 MB, free: 7.371 MB / 282.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.243e-06/1.243e-06, allocations: 0 / 292.6 MB, free: 6.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.213e-05/1.338e-05, allocations: 4.203 kB / 292.6 MB, free: 6.324 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.01265/0.01266, allocations: 6.559 MB / 299.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006986/0.01965, allocations: 2.47 MB / 301.6 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008057/0.02045, allocations: 35.88 kB / 301.7 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001516/0.02197, allocations: 1.074 MB / 302.7 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002313/0.02428, allocations: 0.8978 MB / 303.6 MB, free: 11.24 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006075/0.02489, allocations: 311.1 kB / 303.9 MB, free: 10.94 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002128/0.02702, allocations: 1.909 MB / 305.9 MB, free: 9.023 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00123/0.02825, allocations: 1.1 MB / 307 MB, free: 7.891 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001344/0.02959, allocations: 1.124 MB / 308.1 MB, free: 6.766 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001052/0.03064, allocations: 0.9154 MB / 309 MB, free: 5.848 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002334/0.03088, allocations: 124 kB / 309.1 MB, free: 5.727 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.03193, allocations: 0.6941 MB / 309.8 MB, free: 5.031 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005818/0.03251, allocations: 0.892 MB / 310.7 MB, free: 4.137 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004731/0.03298, allocations: 494.2 kB / 311.2 MB, free: 3.652 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002281/0.03526, allocations: 2.315 MB / 313.5 MB, free: 1.324 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.279e-05/0.03528, allocations: 0 / 313.5 MB, free: 1.324 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.03528, allocations: 0 / 313.5 MB, free: 1.324 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.067e-05/0.03536, allocations: 7.875 kB / 313.5 MB, free: 1.316 MB / 298.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.002953/0.03831, allocations: 2.995 MB / 316.5 MB, free: 14.26 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.03835, allocations: 8.031 kB / 316.5 MB, free: 14.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001793/0.04014, allocations: 0.7459 MB / 317.3 MB, free: 13.51 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009726/0.04111, allocations: 0.8245 MB / 318.1 MB, free: 12.65 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.25e-05/0.04117, allocations: 119.3 kB / 318.2 MB, free: 12.54 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001787/0.04135, allocations: 156.2 kB / 318.4 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002973/0.04433, allocations: 3.014 MB / 321.4 MB, free: 8.887 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.659e-05/0.04437, allocations: 27.75 kB / 321.4 MB, free: 8.859 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/0.04451, allocations: 87.83 kB / 321.5 MB, free: 8.773 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001036/0.04554, allocations: 1.238 MB / 322.7 MB, free: 7.539 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002164/0.04771, allocations: 1.556 MB / 324.3 MB, free: 5.973 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01403/0.06174, allocations: 20.31 MB / 344.6 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.06318, allocations: 0.7389 MB / 345.3 MB, free: 32 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/0.06338, allocations: 200.1 kB / 345.5 MB, free: 15.83 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001772/0.06515, allocations: 1.678 MB / 347.2 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.06519, allocations: 50.48 kB / 347.2 MB, free: 14.07 MB / 346.7 MB Notification: Performance of pre-optimization done (n=77): time 5.15e-06/0.06519, allocations: 0 / 347.2 MB, free: 14.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=84): time 0.004932/0.07012, allocations: 2.366 MB / 349.6 MB, free: 11.64 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/0.07018, allocations: 148.4 kB / 349.8 MB, free: 11.46 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/0.07142, allocations: 1.875 MB / 351.6 MB, free: 9.551 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.07145, allocations: 41.62 kB / 351.7 MB, free: 9.504 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007824/0.07224, allocations: 2.127 MB / 353.8 MB, free: 7.352 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/0.07241, allocations: 373.3 kB / 354.2 MB, free: 6.984 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005206/0.07293, allocations: 0.8184 MB / 355 MB, free: 6.152 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.137e-05/0.07301, allocations: 341.9 kB / 355.3 MB, free: 5.812 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006617/0.07367, allocations: 442.6 kB / 355.7 MB, free: 5.371 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001502/0.07518, allocations: 3.237 MB / 359 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002835/0.07801, allocations: 4.2 MB / 363.2 MB, free: 10.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.264e-05/0.07804, allocations: 32 kB / 363.2 MB, free: 10.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=562) (initialization): time 0.002915/0.08096, allocations: 2.917 MB / 366.1 MB, free: 8.027 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.792e-05/0.08101, allocations: 60.19 kB / 366.2 MB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.348e-05/0.08107, allocations: 104 kB / 366.3 MB, free: 7.867 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002991/0.08137, allocations: 187.6 kB / 366.5 MB, free: 7.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001778/0.08315, allocations: 1.065 MB / 367.5 MB, free: 6.613 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008582/0.08401, allocations: 1.429 MB / 369 MB, free: 5.082 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/0.08538, allocations: 203.8 kB / 369.2 MB, free: 4.883 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001917/0.08558, allocations: 240 kB / 369.4 MB, free: 4.648 MB / 362.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.0006268/0.0862, allocations: 496.6 kB / 369.9 MB, free: 4.148 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.08635, allocations: 120 kB / 370 MB, free: 4.031 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003975/0.08675, allocations: 339.6 kB / 370.3 MB, free: 3.691 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.08676, allocations: 12 kB / 370.3 MB, free: 3.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.08677, allocations: 4 kB / 370.4 MB, free: 3.676 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.08677, allocations: 3.984 kB / 370.4 MB, free: 3.672 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002296/0.08907, allocations: 2.004 MB / 372.4 MB, free: 1.562 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/0.08908, allocations: 8 kB / 372.4 MB, free: 1.555 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002572/0.08933, allocations: 115.8 kB / 372.5 MB, free: 1.441 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/0.08948, allocations: 182.5 kB / 372.7 MB, free: 1.262 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002453/0.08973, allocations: 178.5 kB / 372.8 MB, free: 1.082 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.675e-05/0.08976, allocations: 16 kB / 372.8 MB, free: 1.066 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006707/0.09043, allocations: 1.234 MB / 374.1 MB, free: 15.74 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.09043, allocations: 7.938 kB / 374.1 MB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.09146, allocations: 1.111 MB / 375.2 MB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.09156, allocations: 20 kB / 375.2 MB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004115/0.09197, allocations: 16 kB / 375.2 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.474e-05/0.09206, allocations: 63.73 kB / 375.3 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.673e-05/0.0921, allocations: 31.97 kB / 375.3 MB, free: 14.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007418/0.09285, allocations: 0.7 MB / 376 MB, free: 13.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.09285, allocations: 0 / 376 MB, free: 13.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002504/0.09535, allocations: 0.5429 MB / 376.6 MB, free: 13.14 MB / 378.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.0002593/0.09561, allocations: 128.2 kB / 376.7 MB, free: 13 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002138/0.09775, allocations: 1.712 MB / 378.4 MB, free: 11.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001299/0.09788, allocations: 59.94 kB / 378.5 MB, free: 11.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003112/0.09819, allocations: 306.4 kB / 378.8 MB, free: 10.92 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.09919, allocations: 310.2 kB / 379.1 MB, free: 10.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007032/0.1062, allocations: 4.393 MB / 383.5 MB, free: 6.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007276/0.107, allocations: 0.7115 MB / 384.2 MB, free: 5.352 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009012/0.1079, allocations: 324.4 kB / 384.5 MB, free: 5.031 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003954/0.1082, allocations: 327.3 kB / 384.8 MB, free: 4.711 MB / 378.7 MB Notification: Performance of SimCode: time 1.322e-06/0.1083, allocations: 0 / 384.8 MB, free: 4.711 MB / 378.7 MB Notification: Performance of Templates: time 0.02733/0.1356, allocations: 13.29 MB / 398.1 MB, free: 7.562 MB / 394.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 -ignoreHideResult -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.232997019775212]