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.001377/0.001377, allocations: 77.88 kB / 21.42 MB, free: 3.051 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.001559/0.001559, allocations: 167.4 kB / 24.82 MB, free: 9.266 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 1.138/1.138, allocations: 177.1 MB / 205.3 MB, free: 5.523 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.383/0.383, allocations: 34.27 MB / 296.1 MB, free: 0.7344 MB / 266.7 MB " [Timeout remaining time 179] 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 2.104e-06/2.104e-06, allocations: 0 / 378.5 MB, free: 2.422 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.961e-05/3.171e-05, allocations: 2.312 kB / 378.5 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.007035/0.007066, allocations: 6.457 MB / 384.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005335/0.0124, allocations: 2.372 MB / 387.3 MB, free: 9.543 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001523/0.01392, allocations: 39.81 kB / 387.3 MB, free: 9.504 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002296/0.01622, allocations: 1.105 MB / 388.5 MB, free: 8.395 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002817/0.01904, allocations: 0.8978 MB / 389.4 MB, free: 7.492 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.02037, allocations: 323 kB / 389.7 MB, free: 7.176 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003443/0.02382, allocations: 1.914 MB / 391.6 MB, free: 5.258 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002239/0.02606, allocations: 1.135 MB / 392.7 MB, free: 4.102 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002488/0.02854, allocations: 1.083 MB / 393.8 MB, free: 3.016 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001853/0.0304, allocations: 0.9739 MB / 394.8 MB, free: 2.039 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005305/0.03093, allocations: 128 kB / 394.9 MB, free: 1.914 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001481/0.03241, allocations: 0.6785 MB / 395.6 MB, free: 1.234 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001022/0.03343, allocations: 0.9814 MB / 396.6 MB, free: 256 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00164/0.03507, allocations: 0.5759 MB / 397.1 MB, free: 15.67 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003743/0.03881, allocations: 2.474 MB / 399.6 MB, free: 13.19 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.002e-05/0.03882, allocations: 3.984 kB / 399.6 MB, free: 13.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.564e-06/0.03883, allocations: 0 / 399.6 MB, free: 13.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.00019/0.03902, allocations: 4 kB / 399.6 MB, free: 13.18 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.00553/0.04455, allocations: 2.883 MB / 402.5 MB, free: 10.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/0.0446, allocations: 8.031 kB / 402.5 MB, free: 10.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003185/0.04779, allocations: 0.9746 MB / 403.5 MB, free: 9.262 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00192/0.04971, allocations: 0.9079 MB / 404.4 MB, free: 8.324 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.04981, allocations: 123.3 kB / 404.5 MB, free: 8.203 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003014/0.05011, allocations: 156.2 kB / 404.7 MB, free: 8.051 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005303/0.05542, allocations: 3.424 MB / 408.1 MB, free: 3.969 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.326e-05/0.05548, allocations: 23.75 kB / 408.1 MB, free: 3.945 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001922/0.05567, allocations: 79.89 kB / 408.2 MB, free: 3.867 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001482/0.05715, allocations: 1.238 MB / 409.4 MB, free: 2.633 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004475/0.06163, allocations: 1.516 MB / 410.9 MB, free: 1.109 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02427/0.0859, allocations: 28.52 MB / 439.5 MB, free: 3.555 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002512/0.08841, allocations: 0.7776 MB / 440.2 MB, free: 2.727 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003037/0.08872, allocations: 198.6 kB / 440.4 MB, free: 2.516 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002886/0.0916, allocations: 1.837 MB / 442.3 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/0.09164, allocations: 53.2 kB / 442.3 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of pre-optimization done (n=77): time 3.446e-06/0.09165, allocations: 0 / 442.3 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of matching and sorting (n=84): time 0.2215/0.3131, allocations: 2.637 MB / 445 MB, free: 96.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.537e-05/0.3132, allocations: 141.1 kB / 445.1 MB, free: 95.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00271/0.3159, allocations: 2.412 MB / 447.5 MB, free: 95.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.807e-05/0.316, allocations: 34.39 kB / 447.5 MB, free: 95.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001138/0.3172, allocations: 2.335 MB / 449.9 MB, free: 94.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002972/0.3174, allocations: 399.2 kB / 450.3 MB, free: 93.92 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000802/0.3183, allocations: 0.9645 MB / 451.2 MB, free: 93.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.924e-05/0.3183, allocations: 0.5123 MB / 451.7 MB, free: 93.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004195/0.3188, allocations: 309.8 kB / 452 MB, free: 93.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001986/0.3207, allocations: 4.672 MB / 456.7 MB, free: 87.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004142/0.3249, allocations: 5.574 MB / 462.3 MB, free: 81.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000112/0.325, allocations: 29.91 kB / 462.3 MB, free: 81.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=562) (initialization): time 0.005461/0.3305, allocations: 3.442 MB / 465.8 MB, free: 80.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.444e-05/0.3305, allocations: 49.03 kB / 465.8 MB, free: 80.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001294/0.3307, allocations: 109.3 kB / 465.9 MB, free: 80.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003875/0.331, allocations: 189.4 kB / 466.1 MB, free: 80.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00184/0.3329, allocations: 0.9659 MB / 467.1 MB, free: 80.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001216/0.3341, allocations: 1.955 MB / 469 MB, free: 78.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002325/0.3364, allocations: 202.2 kB / 469.2 MB, free: 78.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002263/0.3366, allocations: 239.4 kB / 469.5 MB, free: 78.73 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.0008026/0.3375, allocations: 0.5278 MB / 470 MB, free: 78.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001886/0.3376, allocations: 226.2 kB / 470.2 MB, free: 78.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004161/0.3381, allocations: 364.1 kB / 470.6 MB, free: 78.01 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.3381, allocations: 9.594 kB / 470.6 MB, free: 78.01 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.3381, allocations: 7.344 kB / 470.6 MB, free: 78 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.3381, allocations: 3.375 kB / 470.6 MB, free: 78 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00268/0.3408, allocations: 2.469 MB / 473 MB, free: 76.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.3408, allocations: 6.344 kB / 473 MB, free: 76.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/0.341, allocations: 109.3 kB / 473.2 MB, free: 76.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001344/0.3411, allocations: 54.88 kB / 473.2 MB, free: 76.63 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/0.3412, allocations: 17.72 kB / 473.2 MB, free: 76.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005578/0.3417, allocations: 1.761 MB / 475 MB, free: 74.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.3417, allocations: 10.28 kB / 475 MB, free: 74.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008639/0.3426, allocations: 1.369 MB / 476.4 MB, free: 73.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/0.3427, allocations: 182.6 kB / 476.5 MB, free: 73.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.014e-05/0.3428, allocations: 27.59 kB / 476.6 MB, free: 73.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002795/0.3431, allocations: 14.47 kB / 476.6 MB, free: 73.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.844e-05/0.3432, allocations: 61.02 kB / 476.6 MB, free: 73.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.973e-05/0.3432, allocations: 30.27 kB / 476.7 MB, free: 73.69 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006202/0.3438, allocations: 0.9182 MB / 477.6 MB, free: 73.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3438, allocations: 0 / 477.6 MB, free: 73.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00285/0.3467, allocations: 0.5378 MB / 478.1 MB, free: 73.25 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.0003685/0.347, allocations: 148.5 kB / 478.3 MB, free: 73.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003443/0.3505, allocations: 1.873 MB / 480.1 MB, free: 72.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/0.3505, allocations: 2.875 kB / 480.2 MB, free: 72.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003712/0.3508, allocations: 398.8 kB / 480.5 MB, free: 72.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.3521, allocations: 178 kB / 480.7 MB, free: 72.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004988/0.3571, allocations: 4.257 MB / 485 MB, free: 69.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007002/0.3578, allocations: 0.7144 MB / 485.7 MB, free: 69.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007045/0.3585, allocations: 328.3 kB / 486 MB, free: 69.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004214/0.3589, allocations: 347.2 kB / 486.3 MB, free: 69.29 MB / 410.7 MB Notification: Performance of SimCode: time 1.463e-06/0.3589, allocations: 4 kB / 486.3 MB, free: 69.28 MB / 410.7 MB Notification: Performance of Templates: time 0.02589/0.3848, allocations: 13.12 MB / 499.5 MB, free: 67.43 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: 4.456202550791204]