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.001385/0.001385, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001695/0.001695, allocations: 173.9 kB / 24.91 MB, free: 8.723 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.9903/0.9903, allocations: 177.1 MB / 205.3 MB, free: 5.094 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.2515/0.2515, allocations: 32.81 MB / 294.6 MB, free: 1.188 MB / 266.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.704e-06/1.704e-06, allocations: 0 / 323.2 MB, free: 9.707 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.487e-05/2.657e-05, allocations: 5.359 kB / 323.3 MB, free: 9.703 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.00986/0.009887, allocations: 6.502 MB / 329.8 MB, free: 3.164 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00424/0.01413, allocations: 2.45 MB / 332.2 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008027/0.01493, allocations: 39.81 kB / 332.2 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001492/0.01642, allocations: 1.101 MB / 333.3 MB, free: 15.56 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002002/0.01842, allocations: 0.89 MB / 334.2 MB, free: 14.66 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006278/0.01905, allocations: 335 kB / 334.6 MB, free: 14.34 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001761/0.02081, allocations: 1.911 MB / 336.5 MB, free: 12.42 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/0.02183, allocations: 1.181 MB / 337.7 MB, free: 11.21 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.02286, allocations: 1.072 MB / 338.7 MB, free: 10.13 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008988/0.02376, allocations: 0.9232 MB / 339.6 MB, free: 9.207 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001935/0.02395, allocations: 124 kB / 339.8 MB, free: 9.086 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008978/0.02485, allocations: 0.6824 MB / 340.5 MB, free: 8.402 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005725/0.02542, allocations: 0.9892 MB / 341.4 MB, free: 7.41 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004592/0.02588, allocations: 0.5759 MB / 342 MB, free: 6.832 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002228/0.02811, allocations: 2.478 MB / 344.5 MB, free: 4.344 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.02812, allocations: 0 / 344.5 MB, free: 4.344 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.02812, allocations: 0 / 344.5 MB, free: 4.344 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.323e-05/0.02816, allocations: 0 / 344.5 MB, free: 4.344 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.002542/0.0307, allocations: 2.471 MB / 347 MB, free: 1.836 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.03074, allocations: 16.03 kB / 347 MB, free: 1.82 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00189/0.03263, allocations: 0.7343 MB / 347.7 MB, free: 1.086 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.03367, allocations: 0.8244 MB / 348.5 MB, free: 240 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.933e-05/0.03373, allocations: 119.3 kB / 348.7 MB, free: 120 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002023/0.03393, allocations: 152.3 kB / 348.8 MB, free: 15.96 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003093/0.03702, allocations: 3.021 MB / 351.8 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.766e-05/0.03707, allocations: 27.75 kB / 351.9 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001382/0.03721, allocations: 83.89 kB / 351.9 MB, free: 12.35 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001118/0.03833, allocations: 1.234 MB / 353.2 MB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0026/0.04093, allocations: 1.548 MB / 354.7 MB, free: 9.562 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01547/0.0564, allocations: 20.33 MB / 375 MB, free: 4.391 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/0.05791, allocations: 0.744 MB / 375.8 MB, free: 3.605 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/0.05809, allocations: 206.5 kB / 376 MB, free: 3.395 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001751/0.05985, allocations: 1.697 MB / 377.7 MB, free: 1.672 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.05988, allocations: 50.44 kB / 377.7 MB, free: 1.613 MB / 346.7 MB Notification: Performance of pre-optimization done (n=77): time 3.206e-06/0.05988, allocations: 0 / 377.7 MB, free: 1.613 MB / 346.7 MB Notification: Performance of matching and sorting (n=84): time 0.005026/0.06491, allocations: 2.413 MB / 380.2 MB, free: 15.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.06496, allocations: 144.4 kB / 380.3 MB, free: 14.97 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/0.06644, allocations: 1.882 MB / 382.2 MB, free: 13.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.06647, allocations: 29.7 kB / 382.2 MB, free: 13.01 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008148/0.06729, allocations: 2.131 MB / 384.3 MB, free: 10.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001885/0.06748, allocations: 373.2 kB / 384.7 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000571/0.06805, allocations: 0.8145 MB / 385.5 MB, free: 9.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.227e-05/0.06814, allocations: 345.9 kB / 385.9 MB, free: 9.316 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004487/0.06859, allocations: 442.6 kB / 386.3 MB, free: 8.875 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001838/0.07043, allocations: 3.249 MB / 389.5 MB, free: 4.141 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002963/0.07339, allocations: 4.182 MB / 393.7 MB, free: 14.49 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.57e-05/0.07342, allocations: 32 kB / 393.7 MB, free: 14.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=562) (initialization): time 0.003057/0.07648, allocations: 2.921 MB / 396.7 MB, free: 11.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.056e-05/0.07653, allocations: 51.94 kB / 396.7 MB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.05e-05/0.0766, allocations: 104 kB / 396.8 MB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002743/0.07688, allocations: 191.7 kB / 397 MB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001528/0.0784, allocations: 1.002 MB / 398 MB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001067/0.07947, allocations: 1.432 MB / 399.4 MB, free: 8.652 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/0.08084, allocations: 203.8 kB / 399.6 MB, free: 8.453 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000194/0.08103, allocations: 244.1 kB / 399.9 MB, free: 8.215 MB / 378.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.0006679/0.0817, allocations: 496.6 kB / 400.4 MB, free: 7.715 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001738/0.08187, allocations: 119.9 kB / 400.5 MB, free: 7.598 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004024/0.08228, allocations: 339.5 kB / 400.8 MB, free: 7.254 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.08229, allocations: 12 kB / 400.8 MB, free: 7.242 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.08229, allocations: 0 / 400.8 MB, free: 7.242 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.0823, allocations: 8 kB / 400.8 MB, free: 7.234 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002316/0.08462, allocations: 2.008 MB / 402.8 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.08462, allocations: 4 kB / 402.8 MB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002568/0.08488, allocations: 111.8 kB / 403 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000252/0.08513, allocations: 166.6 kB / 403.1 MB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.109e-05/0.08516, allocations: 20 kB / 403.1 MB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000655/0.08582, allocations: 1.233 MB / 404.4 MB, free: 3.492 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.289e-06/0.08582, allocations: 8 kB / 404.4 MB, free: 3.484 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008772/0.0867, allocations: 1.113 MB / 405.5 MB, free: 2.285 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002468/0.08695, allocations: 178.5 kB / 405.7 MB, free: 2.109 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.08705, allocations: 16 kB / 405.7 MB, free: 2.094 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003038/0.08736, allocations: 23.97 kB / 405.7 MB, free: 2.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.928e-05/0.08745, allocations: 55.8 kB / 405.8 MB, free: 2.016 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-05/0.08749, allocations: 24 kB / 405.8 MB, free: 1.992 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009987/0.08849, allocations: 0.7116 MB / 406.5 MB, free: 1.258 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08849, allocations: 0 / 406.5 MB, free: 1.258 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002045/0.09054, allocations: 0.5389 MB / 407 MB, free: 0.7188 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.000224/0.09076, allocations: 128.2 kB / 407.2 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001752/0.09251, allocations: 1.71 MB / 408.9 MB, free: 14.88 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.76e-05/0.0926, allocations: 55.94 kB / 408.9 MB, free: 14.82 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002651/0.09287, allocations: 302 kB / 409.2 MB, free: 14.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000682/0.09355, allocations: 191.3 kB / 409.4 MB, free: 14.32 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004833/0.09838, allocations: 4.304 MB / 413.7 MB, free: 9.883 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005631/0.09894, allocations: 0.7112 MB / 414.4 MB, free: 9.141 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000691/0.09963, allocations: 316.5 kB / 414.7 MB, free: 8.828 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003206/0.09995, allocations: 331.3 kB / 415 MB, free: 8.504 MB / 394.7 MB Notification: Performance of SimCode: time 1.553e-06/0.09996, allocations: 4 kB / 415.1 MB, free: 8.5 MB / 394.7 MB Notification: Performance of Templates: time 0.0234/0.1234, allocations: 13.08 MB / 428.1 MB, free: 11.56 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 -s gbode -gbm=radauIIA3 -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.528364224359393]