Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.00102/0.00102, allocations: 81.95 kB / 21.44 MB, free: 3.059 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.001224/0.001224, allocations: 173.3 kB / 24.84 MB, free: 8.922 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9073/0.9073, allocations: 158.6 MB / 186.7 MB, free: 2.816 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1388/0.1388, allocations: 32.37 MB / 271.5 MB, free: 2.453 MB / 250.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.22e-07/9.22e-07, allocations: 0 / 348.9 MB, free: 4.828 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.136e-05/1.228e-05, allocations: 6.312 kB / 348.9 MB, free: 4.82 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.1219/0.122, allocations: 6.48 MB / 355.4 MB, free: 63.97 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00341/0.1254, allocations: 2.333 MB / 357.7 MB, free: 63.46 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004965/0.1259, allocations: 36.12 kB / 357.8 MB, free: 63.45 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001594/0.1275, allocations: 1.082 MB / 358.8 MB, free: 63.05 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001493/0.129, allocations: 0.9117 MB / 359.8 MB, free: 62.62 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000566/0.1295, allocations: 326.8 kB / 360.1 MB, free: 62.48 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001991/0.1315, allocations: 1.944 MB / 362 MB, free: 61.69 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001223/0.1327, allocations: 1.141 MB / 363.2 MB, free: 61.05 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001323/0.1341, allocations: 1.099 MB / 364.3 MB, free: 60.62 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001179/0.1352, allocations: 0.9791 MB / 365.2 MB, free: 60.32 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002424/0.1355, allocations: 126 kB / 365.4 MB, free: 60.32 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009373/0.1364, allocations: 0.6665 MB / 366 MB, free: 60.04 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006895/0.1371, allocations: 1.001 MB / 367 MB, free: 59.47 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006687/0.1378, allocations: 0.5889 MB / 367.6 MB, free: 59.15 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00218/0.14, allocations: 2.497 MB / 370.1 MB, free: 57.68 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.14, allocations: 0 / 370.1 MB, free: 57.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.14, allocations: 0 / 370.1 MB, free: 57.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.776e-05/0.14, allocations: 0 / 370.1 MB, free: 57.68 MB / 330.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.0026/0.1426, allocations: 2.906 MB / 373 MB, free: 55.49 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.1426, allocations: 13.91 kB / 373 MB, free: 55.48 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002026/0.1447, allocations: 0.9783 MB / 374 MB, free: 54.59 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007853/0.1454, allocations: 0.9165 MB / 374.9 MB, free: 53.64 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.174e-05/0.1455, allocations: 115.3 kB / 375 MB, free: 53.53 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/0.1456, allocations: 156.3 kB / 375.2 MB, free: 53.38 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002379/0.148, allocations: 3.413 MB / 378.6 MB, free: 49.3 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.101e-05/0.1481, allocations: 39.69 kB / 378.6 MB, free: 49.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/0.1482, allocations: 75.89 kB / 378.7 MB, free: 49.19 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008468/0.149, allocations: 1.239 MB / 380 MB, free: 47.95 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00167/0.1507, allocations: 1.523 MB / 381.5 MB, free: 46.45 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009333/0.16, allocations: 28.51 MB / 410 MB, free: 16.92 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/0.1614, allocations: 0.7821 MB / 410.8 MB, free: 16.09 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.1615, allocations: 190.5 kB / 411 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001239/0.1628, allocations: 1.837 MB / 412.8 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.1628, allocations: 53.2 kB / 412.9 MB, free: 13.96 MB / 330.7 MB Notification: Performance of pre-optimization done (n=77): time 1.924e-06/0.1628, allocations: 0 / 412.9 MB, free: 13.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=84): time 0.004778/0.1676, allocations: 2.638 MB / 415.5 MB, free: 11.26 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.1676, allocations: 140.5 kB / 415.6 MB, free: 11.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001294/0.1689, allocations: 2.416 MB / 418 MB, free: 8.633 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.1689, allocations: 33.7 kB / 418.1 MB, free: 8.594 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006624/0.1696, allocations: 2.34 MB / 420.4 MB, free: 6.227 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/0.1697, allocations: 389.3 kB / 420.8 MB, free: 5.844 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005772/0.1703, allocations: 0.9717 MB / 421.8 MB, free: 4.855 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.916e-05/0.1704, allocations: 0.512 MB / 422.3 MB, free: 4.336 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002944/0.1707, allocations: 312.3 kB / 422.6 MB, free: 4.023 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/0.1723, allocations: 4.672 MB / 427.3 MB, free: 13.32 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003448/0.1758, allocations: 5.575 MB / 432.8 MB, free: 5.734 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-05/0.1758, allocations: 28 kB / 432.9 MB, free: 5.707 MB / 346.7 MB Notification: Performance of matching and sorting (n=562) (initialization): time 0.003322/0.1791, allocations: 3.441 MB / 436.3 MB, free: 2.262 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.583e-05/0.1792, allocations: 51.94 kB / 436.3 MB, free: 2.211 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.99e-05/0.1793, allocations: 104 kB / 436.5 MB, free: 2.109 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002328/0.1795, allocations: 186.2 kB / 436.6 MB, free: 1.926 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/0.1809, allocations: 0.9707 MB / 437.6 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001011/0.1819, allocations: 1.958 MB / 439.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.183, allocations: 199.7 kB / 439.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001883/0.1832, allocations: 240 kB / 440 MB, free: 14.45 MB / 362.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.0005847/0.1838, allocations: 0.524 MB / 440.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001859/0.184, allocations: 218.6 kB / 440.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004002/0.1844, allocations: 376.7 kB / 441.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.1844, allocations: 8 kB / 441.1 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1844, allocations: 7.938 kB / 441.1 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.1844, allocations: 7.922 kB / 441.1 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002562/0.1869, allocations: 2.469 MB / 443.6 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.1869, allocations: 4.562 kB / 443.6 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002245/0.1872, allocations: 107.8 kB / 443.7 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001172/0.1873, allocations: 50.97 kB / 443.7 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.785e-05/0.1873, allocations: 27.92 kB / 443.8 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007343/0.188, allocations: 1.758 MB / 445.5 MB, free: 8.637 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.188, allocations: 8 kB / 445.5 MB, free: 8.629 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009409/0.189, allocations: 1.376 MB / 446.9 MB, free: 7.148 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002505/0.1892, allocations: 238.4 kB / 447.1 MB, free: 6.914 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.92e-05/0.1893, allocations: 16 kB / 447.2 MB, free: 6.898 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002903/0.1896, allocations: 16 kB / 447.2 MB, free: 6.883 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.608e-05/0.1897, allocations: 59.8 kB / 447.2 MB, free: 6.824 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.55e-05/0.1897, allocations: 31.92 kB / 447.3 MB, free: 6.793 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006993/0.1904, allocations: 0.9271 MB / 448.2 MB, free: 5.848 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1904, allocations: 0 / 448.2 MB, free: 5.848 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001601/0.192, allocations: 0.5507 MB / 448.7 MB, free: 5.297 MB / 362.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.0001994/0.1922, allocations: 143.7 kB / 448.9 MB, free: 5.148 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00153/0.1938, allocations: 1.878 MB / 450.8 MB, free: 3.266 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1938, allocations: 1.75 kB / 450.8 MB, free: 3.266 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002557/0.194, allocations: 388.1 kB / 451.1 MB, free: 2.863 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006843/0.1947, allocations: 195.1 kB / 451.3 MB, free: 2.676 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004094/0.1988, allocations: 4.27 MB / 455.6 MB, free: 14.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005515/0.1993, allocations: 0.7189 MB / 456.3 MB, free: 13.51 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006186/0.2, allocations: 320.5 kB / 456.6 MB, free: 13.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002925/0.2003, allocations: 354.1 kB / 457 MB, free: 12.85 MB / 378.7 MB Notification: Performance of SimCode: time 6.12e-07/0.2003, allocations: 0 / 457 MB, free: 12.85 MB / 378.7 MB Notification: Performance of Templates: time 0.02152/0.2218, allocations: 13.41 MB / 470.4 MB, free: 15.59 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.72139144083485]