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.001895/0.001895, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002085/0.002085, allocations: 165.3 kB / 24.28 MB, free: 152 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 1.547/1.547, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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.387/0.387, allocations: 32.8 MB / 293.9 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 179] 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.533e-06/1.533e-06, allocations: 0 / 375.2 MB, free: 5.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.106e-05/3.259e-05, allocations: 6.25 kB / 375.2 MB, free: 5.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.01008/0.01011, allocations: 6.551 MB / 381.8 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005662/0.01577, allocations: 2.38 MB / 384.2 MB, free: 12.03 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000848/0.01662, allocations: 39.88 kB / 384.2 MB, free: 11.99 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002567/0.01919, allocations: 1.101 MB / 385.3 MB, free: 10.88 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002305/0.02149, allocations: 0.8901 MB / 386.2 MB, free: 9.988 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008962/0.02239, allocations: 335 kB / 386.5 MB, free: 9.66 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002717/0.02511, allocations: 1.907 MB / 388.4 MB, free: 7.75 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001934/0.02704, allocations: 1.131 MB / 389.6 MB, free: 6.598 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00176/0.0288, allocations: 1.048 MB / 390.6 MB, free: 5.547 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001807/0.03061, allocations: 0.9895 MB / 391.6 MB, free: 4.555 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003595/0.03097, allocations: 128 kB / 391.7 MB, free: 4.43 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001504/0.03247, allocations: 0.6785 MB / 392.4 MB, free: 3.75 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001197/0.03367, allocations: 0.9853 MB / 393.4 MB, free: 2.762 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009384/0.03461, allocations: 0.5798 MB / 394 MB, free: 2.18 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005542/0.04015, allocations: 3.671 MB / 397.7 MB, free: 14.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.04016, allocations: 4 kB / 397.7 MB, free: 14.49 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.04016, allocations: 0 / 397.7 MB, free: 14.49 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.731e-05/0.04026, allocations: 0 / 397.7 MB, free: 14.49 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.006297/0.04655, allocations: 3.145 MB / 400.8 MB, free: 11.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.04659, allocations: 8.031 kB / 400.8 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006415/0.05301, allocations: 1.879 MB / 402.7 MB, free: 9.406 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002979/0.05599, allocations: 0.9899 MB / 403.7 MB, free: 8.387 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001316/0.05612, allocations: 123.3 kB / 403.8 MB, free: 8.266 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003407/0.05646, allocations: 152.2 kB / 403.9 MB, free: 8.117 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007483/0.06394, allocations: 3.979 MB / 407.9 MB, free: 3.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.888e-05/0.06401, allocations: 31.75 kB / 408 MB, free: 3.449 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002286/0.06424, allocations: 79.89 kB / 408 MB, free: 3.371 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002755/0.06699, allocations: 1.441 MB / 409.5 MB, free: 1.934 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006766/0.07376, allocations: 2.234 MB / 411.7 MB, free: 15.69 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03543/0.1092, allocations: 30.48 MB / 442.2 MB, free: 228 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1364/0.2456, allocations: 1.003 MB / 443.2 MB, free: 100 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005303/0.2461, allocations: 328.2 kB / 443.5 MB, free: 99.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002199/0.2463, allocations: 96.56 kB / 443.6 MB, free: 99.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.2463, allocations: 45.77 kB / 443.7 MB, free: 99.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 2.706e-06/0.2463, allocations: 1.031 kB / 443.7 MB, free: 99.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=106): time 0.01799/0.2643, allocations: 6.339 MB / 450 MB, free: 98.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.2644, allocations: 143.8 kB / 450.1 MB, free: 98.26 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002762/0.2671, allocations: 2.882 MB / 453 MB, free: 97.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001033/0.2672, allocations: 42.38 kB / 453.1 MB, free: 97.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009998/0.2682, allocations: 2.367 MB / 455.4 MB, free: 96.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003434/0.2686, allocations: 496.8 kB / 455.9 MB, free: 95.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001036/0.2696, allocations: 1.112 MB / 457 MB, free: 95.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.2697, allocations: 0.5245 MB / 457.5 MB, free: 94.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008617/0.2706, allocations: 476.5 kB / 458 MB, free: 94.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002168/0.2727, allocations: 4.725 MB / 462.7 MB, free: 88.97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003656/0.2764, allocations: 5.719 MB / 468.5 MB, free: 82.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.265e-05/0.2765, allocations: 30.66 kB / 468.5 MB, free: 82.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.006045/0.2825, allocations: 3.892 MB / 472.4 MB, free: 81.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.876e-05/0.2826, allocations: 45.69 kB / 472.4 MB, free: 81.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.848e-05/0.2826, allocations: 98.25 kB / 472.5 MB, free: 81.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009495/0.2836, allocations: 332.5 kB / 472.8 MB, free: 81.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002324/0.2859, allocations: 0.9715 MB / 473.8 MB, free: 80.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002377/0.2883, allocations: 2.773 MB / 476.6 MB, free: 78.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002379/0.2907, allocations: 231.8 kB / 476.8 MB, free: 78.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002958/0.291, allocations: 272.4 kB / 477.1 MB, free: 78.57 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.0009541/0.2919, allocations: 0.5832 MB / 477.7 MB, free: 78.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003287/0.2923, allocations: 227.2 kB / 477.9 MB, free: 77.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001645/0.2939, allocations: 0.7265 MB / 478.6 MB, free: 77.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-05/0.2939, allocations: 15.67 kB / 478.6 MB, free: 77.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.2939, allocations: 2.938 kB / 478.6 MB, free: 77.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.2939, allocations: 7.234 kB / 478.6 MB, free: 77.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006754/0.3007, allocations: 3.583 MB / 482.2 MB, free: 76.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.3007, allocations: 1 kB / 482.2 MB, free: 76.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006301/0.3013, allocations: 134.8 kB / 482.3 MB, free: 76.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008184/0.3021, allocations: 196.7 kB / 482.5 MB, free: 76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.736e-05/0.3022, allocations: 13.97 kB / 482.6 MB, free: 76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002004/0.3042, allocations: 2.22 MB / 484.8 MB, free: 74.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3042, allocations: 1.312 kB / 484.8 MB, free: 74.06 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002842/0.3071, allocations: 1.696 MB / 486.5 MB, free: 73.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005234/0.3076, allocations: 173.8 kB / 486.6 MB, free: 73.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002006/0.3078, allocations: 16.22 kB / 486.7 MB, free: 73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006734/0.3085, allocations: 46.75 kB / 486.7 MB, free: 73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/0.3086, allocations: 55.75 kB / 486.8 MB, free: 72.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.019e-05/0.3087, allocations: 30.02 kB / 486.8 MB, free: 72.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001841/0.3105, allocations: 1.127 MB / 487.9 MB, free: 72.51 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3105, allocations: 1.219 kB / 487.9 MB, free: 72.51 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004614/0.3151, allocations: 0.5853 MB / 488.5 MB, free: 72.43 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.0004016/0.3155, allocations: 142.8 kB / 488.6 MB, free: 72.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004743/0.3203, allocations: 2.323 MB / 491 MB, free: 71.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.3203, allocations: 1.375 kB / 491 MB, free: 71.42 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008506/0.3211, allocations: 0.5637 MB / 491.5 MB, free: 71.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/0.3225, allocations: 174.6 kB / 491.7 MB, free: 71.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007139/0.3297, allocations: 4.453 MB / 496.2 MB, free: 68.81 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00133/0.331, allocations: 1.429 MB / 497.6 MB, free: 68.36 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002186/0.3332, allocations: 1.191 MB / 498.8 MB, free: 68.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003273/0.3335, allocations: 143.2 kB / 498.9 MB, free: 68.24 MB / 410.7 MB Notification: Performance of SimCode: time 1.793e-06/0.3335, allocations: 0 / 498.9 MB, free: 68.24 MB / 410.7 MB Notification: Performance of Templates: time 0.03082/0.3643, allocations: 16.42 MB / 0.5033 GB, free: 56.93 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.0004187759477645]