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.0009801/0.0009801, allocations: 84.31 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.001085/0.001085, allocations: 172.4 kB / 25.61 MB, free: 8.914 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.8927/0.8927, allocations: 177.2 MB / 206.1 MB, free: 4.5 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.1491/0.1491, allocations: 34.26 MB / 296.9 MB, free: 13.93 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.423e-06/1.423e-06, allocations: 0 / 379.3 MB, free: 23.45 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.137e-05/2.279e-05, allocations: 2.312 kB / 379.3 MB, free: 23.45 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.004545/0.004567, allocations: 6.462 MB / 385.7 MB, free: 16.95 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003379/0.007947, allocations: 2.365 MB / 388.1 MB, free: 14.58 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006832/0.00863, allocations: 35.88 kB / 388.1 MB, free: 14.55 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001331/0.009961, allocations: 1.109 MB / 389.2 MB, free: 13.43 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001488/0.01145, allocations: 0.8979 MB / 390.1 MB, free: 12.53 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005558/0.012, allocations: 323 kB / 390.5 MB, free: 12.21 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00152/0.01352, allocations: 1.911 MB / 392.4 MB, free: 10.3 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009596/0.01448, allocations: 1.135 MB / 393.5 MB, free: 9.141 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001114/0.0156, allocations: 1.083 MB / 394.6 MB, free: 8.055 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009011/0.0165, allocations: 0.9739 MB / 395.6 MB, free: 7.078 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002083/0.01671, allocations: 128 kB / 395.7 MB, free: 6.953 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000783/0.01749, allocations: 0.6784 MB / 396.4 MB, free: 6.273 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005015/0.01799, allocations: 0.9853 MB / 397.3 MB, free: 5.285 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004829/0.01847, allocations: 0.5681 MB / 397.9 MB, free: 4.715 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002022/0.0205, allocations: 2.474 MB / 400.4 MB, free: 2.23 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.0205, allocations: 0 / 400.4 MB, free: 2.23 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.0205, allocations: 0 / 400.4 MB, free: 2.23 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.037e-05/0.02058, allocations: 4 kB / 400.4 MB, free: 2.227 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.003018/0.0236, allocations: 2.883 MB / 403.3 MB, free: 15.29 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.02364, allocations: 8.031 kB / 403.3 MB, free: 15.28 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00233/0.02597, allocations: 0.9707 MB / 404.3 MB, free: 14.31 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.02711, allocations: 0.9117 MB / 405.2 MB, free: 13.37 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.754e-05/0.02718, allocations: 127.3 kB / 405.3 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002436/0.02742, allocations: 156.2 kB / 405.4 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005214/0.03264, allocations: 3.42 MB / 408.9 MB, free: 9.008 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.336e-05/0.03271, allocations: 31.73 kB / 408.9 MB, free: 8.977 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002236/0.03293, allocations: 79.89 kB / 409 MB, free: 8.898 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00166/0.03459, allocations: 1.238 MB / 410.2 MB, free: 7.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004046/0.03864, allocations: 1.516 MB / 411.7 MB, free: 6.145 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02034/0.05898, allocations: 28.51 MB / 440.2 MB, free: 8.598 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/0.06065, allocations: 0.8008 MB / 441 MB, free: 7.746 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002118/0.06086, allocations: 190.7 kB / 441.2 MB, free: 7.543 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001923/0.06278, allocations: 1.837 MB / 443.1 MB, free: 5.676 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.06281, allocations: 49.27 kB / 443.1 MB, free: 5.617 MB / 362.7 MB Notification: Performance of pre-optimization done (n=77): time 3.576e-06/0.06282, allocations: 0 / 443.1 MB, free: 5.617 MB / 362.7 MB Notification: Performance of matching and sorting (n=84): time 0.005972/0.06879, allocations: 2.643 MB / 445.7 MB, free: 2.914 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.06884, allocations: 144.5 kB / 445.9 MB, free: 2.742 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001903/0.07074, allocations: 2.399 MB / 448.3 MB, free: 304 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.451e-05/0.07078, allocations: 41.7 kB / 448.3 MB, free: 256 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001074/0.07185, allocations: 2.34 MB / 450.7 MB, free: 13.88 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002399/0.07209, allocations: 397.2 kB / 451.1 MB, free: 13.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008219/0.07291, allocations: 0.9639 MB / 452 MB, free: 12.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.07305, allocations: 0.512 MB / 452.5 MB, free: 11.99 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003746/0.07342, allocations: 308.3 kB / 452.8 MB, free: 11.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002495/0.07592, allocations: 4.675 MB / 457.5 MB, free: 4.973 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004395/0.08031, allocations: 5.578 MB / 463.1 MB, free: 13.39 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.805e-05/0.08037, allocations: 28 kB / 463.1 MB, free: 13.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=562) (initialization): time 0.005081/0.08545, allocations: 3.448 MB / 466.6 MB, free: 9.906 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.615e-05/0.08551, allocations: 48 kB / 466.6 MB, free: 9.859 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001028/0.08561, allocations: 108 kB / 466.7 MB, free: 9.754 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000309/0.08592, allocations: 180.3 kB / 466.9 MB, free: 9.574 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002077/0.088, allocations: 0.9707 MB / 467.9 MB, free: 8.602 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/0.08913, allocations: 1.963 MB / 469.8 MB, free: 6.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002028/0.09116, allocations: 199.7 kB / 470 MB, free: 6.324 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000277/0.09144, allocations: 248 kB / 470.3 MB, free: 6.082 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.001112/0.09255, allocations: 0.524 MB / 470.8 MB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003212/0.09287, allocations: 218.6 kB / 471 MB, free: 5.328 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005307/0.0934, allocations: 367.5 kB / 471.4 MB, free: 4.961 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/0.09342, allocations: 8 kB / 471.4 MB, free: 4.953 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.09343, allocations: 4 kB / 471.4 MB, free: 4.949 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.09343, allocations: 7.922 kB / 471.4 MB, free: 4.941 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003658/0.09709, allocations: 2.455 MB / 473.8 MB, free: 2.352 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.0971, allocations: 8 kB / 473.8 MB, free: 2.344 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003123/0.09741, allocations: 103.8 kB / 473.9 MB, free: 2.242 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001459/0.09756, allocations: 51.58 kB / 474 MB, free: 2.188 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.73e-05/0.0976, allocations: 23.92 kB / 474 MB, free: 2.164 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008524/0.09845, allocations: 1.764 MB / 475.8 MB, free: 288 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/0.09846, allocations: 4 kB / 475.8 MB, free: 284 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/0.09968, allocations: 1.368 MB / 477.2 MB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002599/0.09994, allocations: 182.5 kB / 477.3 MB, free: 14.63 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001625/0.1001, allocations: 20 kB / 477.3 MB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004422/0.1005, allocations: 16.06 kB / 477.4 MB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.725e-05/0.1006, allocations: 63.73 kB / 477.4 MB, free: 14.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.703e-05/0.1007, allocations: 27.98 kB / 477.5 MB, free: 14.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001205/0.1019, allocations: 0.9305 MB / 478.4 MB, free: 13.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1019, allocations: 0 / 478.4 MB, free: 13.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002669/0.1046, allocations: 0.535 MB / 478.9 MB, free: 13.02 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.000268/0.1048, allocations: 147 kB / 479.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002763/0.1076, allocations: 1.887 MB / 481 MB, free: 10.97 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.1076, allocations: 4 kB / 481 MB, free: 10.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003864/0.108, allocations: 383.2 kB / 481.3 MB, free: 10.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.1091, allocations: 187.4 kB / 481.5 MB, free: 10.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006625/0.1157, allocations: 4.257 MB / 485.8 MB, free: 5.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008157/0.1165, allocations: 0.7109 MB / 486.5 MB, free: 5.242 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009753/0.1175, allocations: 329.4 kB / 486.8 MB, free: 4.918 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004028/0.1179, allocations: 346.2 kB / 487.1 MB, free: 4.578 MB / 410.7 MB Notification: Performance of SimCode: time 1.373e-06/0.1179, allocations: 0 / 487.1 MB, free: 4.578 MB / 410.7 MB Notification: Performance of Templates: time 0.02844/0.1463, allocations: 13.42 MB / 0.4888 GB, free: 7.434 MB / 426.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.732895591761917]