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.001375/0.001375, allocations: 76.41 kB / 22.21 MB, free: 2.285 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.001071/0.001071, allocations: 168.5 kB / 25.61 MB, free: 8.578 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.96/0.96, allocations: 177.1 MB / 206.1 MB, free: 4.484 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.1406/0.1406, allocations: 32.8 MB / 295.4 MB, free: 15.38 MB / 282.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.703e-06/1.703e-06, allocations: 0 / 377.2 MB, free: 25.62 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.705e-05, allocations: 2.312 kB / 377.2 MB, free: 25.62 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.005824/0.005851, allocations: 6.453 MB / 383.7 MB, free: 19.13 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003611/0.009462, allocations: 2.366 MB / 386.1 MB, free: 16.76 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007021/0.01016, allocations: 35.88 kB / 386.1 MB, free: 16.72 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.01144, allocations: 1.109 MB / 387.2 MB, free: 15.61 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001329/0.01277, allocations: 0.8902 MB / 388.1 MB, free: 14.71 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005513/0.01332, allocations: 327 kB / 388.4 MB, free: 14.39 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001532/0.01485, allocations: 1.918 MB / 390.3 MB, free: 12.47 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001065/0.01592, allocations: 1.127 MB / 391.5 MB, free: 11.32 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00112/0.01704, allocations: 1.087 MB / 392.5 MB, free: 10.23 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009879/0.01802, allocations: 0.9739 MB / 393.5 MB, free: 9.258 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002049/0.01823, allocations: 128 kB / 393.6 MB, free: 9.133 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008205/0.01905, allocations: 0.6745 MB / 394.3 MB, free: 8.457 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000485/0.01953, allocations: 0.9892 MB / 395.3 MB, free: 7.465 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000446/0.01998, allocations: 0.5681 MB / 395.9 MB, free: 6.895 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001696/0.02168, allocations: 2.474 MB / 398.4 MB, free: 4.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.02168, allocations: 0 / 398.4 MB, free: 4.41 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.02168, allocations: 0 / 398.4 MB, free: 4.41 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.534e-05/0.02176, allocations: 4 kB / 398.4 MB, free: 4.406 MB / 314.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.002805/0.02456, allocations: 2.883 MB / 401.2 MB, free: 1.473 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.0246, allocations: 11.98 kB / 401.3 MB, free: 1.461 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002251/0.02685, allocations: 0.9745 MB / 402.2 MB, free: 496 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.02798, allocations: 0.9119 MB / 403.1 MB, free: 15.54 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.536e-05/0.02804, allocations: 119.3 kB / 403.3 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002113/0.02825, allocations: 160.2 kB / 403.4 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003807/0.03206, allocations: 3.416 MB / 406.8 MB, free: 11.19 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.786e-05/0.03211, allocations: 27.75 kB / 406.9 MB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000145/0.03225, allocations: 83.89 kB / 406.9 MB, free: 11.08 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001089/0.03334, allocations: 1.242 MB / 408.2 MB, free: 9.836 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002802/0.03614, allocations: 1.531 MB / 409.7 MB, free: 8.309 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01997/0.05611, allocations: 28.5 MB / 438.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001923/0.05803, allocations: 0.7937 MB / 439 MB, free: 9.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002482/0.05828, allocations: 194.6 kB / 439.2 MB, free: 9.723 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002269/0.06055, allocations: 1.837 MB / 441 MB, free: 7.855 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.06059, allocations: 53.27 kB / 441.1 MB, free: 7.793 MB / 362.7 MB Notification: Performance of pre-optimization done (n=77): time 3.607e-06/0.06059, allocations: 0 / 441.1 MB, free: 7.793 MB / 362.7 MB Notification: Performance of matching and sorting (n=84): time 0.006047/0.06664, allocations: 2.638 MB / 443.7 MB, free: 5.094 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/0.06669, allocations: 148.4 kB / 443.9 MB, free: 4.918 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002195/0.06889, allocations: 2.407 MB / 446.3 MB, free: 2.465 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.826e-05/0.06893, allocations: 37.7 kB / 446.3 MB, free: 2.422 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001157/0.07008, allocations: 2.34 MB / 448.6 MB, free: 56 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003056/0.07039, allocations: 397.3 kB / 449 MB, free: 15.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000767/0.07116, allocations: 0.96 MB / 450 MB, free: 14.69 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.0713, allocations: 0.5081 MB / 450.5 MB, free: 14.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004263/0.07173, allocations: 320.3 kB / 450.8 MB, free: 13.85 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002393/0.07412, allocations: 4.672 MB / 455.5 MB, free: 7.148 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003739/0.07786, allocations: 5.578 MB / 461.1 MB, free: 15.56 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.475e-05/0.07795, allocations: 28 kB / 461.1 MB, free: 15.53 MB / 394.7 MB Notification: Performance of matching and sorting (n=562) (initialization): time 0.004341/0.08229, allocations: 3.444 MB / 464.5 MB, free: 12.08 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.496e-05/0.08234, allocations: 52 kB / 464.6 MB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.54e-05/0.08243, allocations: 104 kB / 464.7 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003706/0.0828, allocations: 184.2 kB / 464.9 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001641/0.08444, allocations: 0.9708 MB / 465.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001067/0.08551, allocations: 1.951 MB / 467.8 MB, free: 8.703 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/0.08705, allocations: 203.7 kB / 468 MB, free: 8.504 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002142/0.08727, allocations: 243.9 kB / 468.2 MB, free: 8.266 MB / 394.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.0006984/0.08796, allocations: 0.5318 MB / 468.8 MB, free: 7.719 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000272/0.08824, allocations: 214.6 kB / 469 MB, free: 7.508 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004691/0.08871, allocations: 367.6 kB / 469.3 MB, free: 7.141 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/0.08872, allocations: 11.94 kB / 469.3 MB, free: 7.129 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.08873, allocations: 4 kB / 469.3 MB, free: 7.125 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.08873, allocations: 3.938 kB / 469.3 MB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003071/0.09181, allocations: 2.459 MB / 471.8 MB, free: 4.527 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/0.09181, allocations: 8 kB / 471.8 MB, free: 4.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002487/0.09206, allocations: 99.84 kB / 471.9 MB, free: 4.422 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001362/0.0922, allocations: 51.64 kB / 472 MB, free: 4.367 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.225e-05/0.09223, allocations: 19.94 kB / 472 MB, free: 4.348 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008265/0.09306, allocations: 1.764 MB / 473.7 MB, free: 2.465 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.09306, allocations: 7.938 kB / 473.8 MB, free: 2.457 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.09429, allocations: 1.37 MB / 475.1 MB, free: 0.9883 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002581/0.09455, allocations: 186.5 kB / 475.3 MB, free: 0.8047 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.09467, allocations: 23.98 kB / 475.3 MB, free: 0.7812 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003016/0.09497, allocations: 12 kB / 475.3 MB, free: 0.7695 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.927e-05/0.09504, allocations: 63.86 kB / 475.4 MB, free: 0.707 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.574e-05/0.09507, allocations: 24 kB / 475.4 MB, free: 0.6836 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008069/0.09588, allocations: 0.9267 MB / 476.4 MB, free: 15.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.09588, allocations: 0 / 476.4 MB, free: 15.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002264/0.09814, allocations: 0.5428 MB / 476.9 MB, free: 15.19 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.0002621/0.09841, allocations: 146.9 kB / 477 MB, free: 15.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00265/0.1011, allocations: 1.874 MB / 478.9 MB, free: 13.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.1011, allocations: 4 kB / 478.9 MB, free: 13.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000337/0.1014, allocations: 392.9 kB / 479.3 MB, free: 12.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008904/0.1023, allocations: 179.8 kB / 479.5 MB, free: 12.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005537/0.1078, allocations: 4.264 MB / 483.7 MB, free: 8.156 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007051/0.1085, allocations: 0.7109 MB / 484.5 MB, free: 7.418 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007635/0.1093, allocations: 324.5 kB / 484.8 MB, free: 7.098 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005842/0.1099, allocations: 350.1 kB / 485.1 MB, free: 6.754 MB / 410.7 MB Notification: Performance of SimCode: time 1.473e-06/0.1099, allocations: 0 / 485.1 MB, free: 6.754 MB / 410.7 MB Notification: Performance of Templates: time 0.02558/0.1355, allocations: 13.41 MB / 498.5 MB, free: 9.613 MB / 426.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.921475453302264]