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.001621/0.001621, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001961/0.001961, allocations: 169 kB / 24.14 MB, free: 356 kB / 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.9435/0.9435, allocations: 158.6 MB / 186 MB, free: 2.77 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.1424/0.1424, allocations: 32.38 MB / 270.7 MB, free: 14.61 MB / 266.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 3.016e-06/3.016e-06, allocations: 0 / 299.1 MB, free: 2.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.131e-05/3.432e-05, allocations: 2.312 kB / 299.1 MB, free: 2.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.1401/0.1401, allocations: 6.532 MB / 305.6 MB, free: 17.31 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003861/0.144, allocations: 2.411 MB / 308 MB, free: 15.91 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004194/0.1444, allocations: 36 kB / 308.1 MB, free: 15.9 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001425/0.1458, allocations: 1.082 MB / 309.2 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001266/0.1471, allocations: 0.9028 MB / 310.1 MB, free: 15.01 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004907/0.1476, allocations: 322 kB / 310.4 MB, free: 14.88 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001598/0.1492, allocations: 1.959 MB / 312.3 MB, free: 14.07 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008975/0.1501, allocations: 1.175 MB / 313.5 MB, free: 13.42 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008505/0.1509, allocations: 1.087 MB / 314.6 MB, free: 12.77 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000759/0.1517, allocations: 0.9193 MB / 315.5 MB, free: 12.25 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001455/0.1519, allocations: 126.2 kB / 315.6 MB, free: 12.25 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007/0.1526, allocations: 0.6844 MB / 316.3 MB, free: 11.97 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005245/0.1531, allocations: 1 MB / 317.3 MB, free: 11.41 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004215/0.1535, allocations: 0.5953 MB / 317.9 MB, free: 11.08 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.1549, allocations: 2.502 MB / 320.4 MB, free: 8.844 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1549, allocations: 0 / 320.4 MB, free: 8.844 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1549, allocations: 0 / 320.4 MB, free: 8.844 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.777e-05/0.1549, allocations: 0 / 320.4 MB, free: 8.844 MB / 282.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.00171/0.1566, allocations: 2.486 MB / 322.9 MB, free: 6.32 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.786e-05/0.1566, allocations: 8.031 kB / 322.9 MB, free: 6.312 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001716/0.1583, allocations: 0.7459 MB / 323.7 MB, free: 5.566 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006555/0.159, allocations: 0.8323 MB / 324.5 MB, free: 4.703 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.177e-05/0.159, allocations: 119.3 kB / 324.6 MB, free: 4.586 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/0.1592, allocations: 152.3 kB / 324.8 MB, free: 4.438 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003204/0.1624, allocations: 3.014 MB / 327.8 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.662e-05/0.1624, allocations: 27.75 kB / 327.8 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000144/0.1626, allocations: 79.89 kB / 327.9 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009939/0.1636, allocations: 1.242 MB / 329.1 MB, free: 15.58 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002955/0.1665, allocations: 1.556 MB / 330.7 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01439/0.1809, allocations: 20.3 MB / 351 MB, free: 8.902 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/0.1825, allocations: 0.7624 MB / 351.7 MB, free: 8.102 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/0.1827, allocations: 199.9 kB / 351.9 MB, free: 7.895 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001923/0.1846, allocations: 1.699 MB / 353.6 MB, free: 6.172 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.1847, allocations: 46.48 kB / 353.7 MB, free: 6.117 MB / 314.7 MB Notification: Performance of pre-optimization done (n=77): time 3.597e-06/0.1847, allocations: 0 / 353.7 MB, free: 6.117 MB / 314.7 MB Notification: Performance of matching and sorting (n=84): time 0.005161/0.1898, allocations: 2.413 MB / 356.1 MB, free: 3.641 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.676e-05/0.1899, allocations: 140.5 kB / 356.2 MB, free: 3.473 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001395/0.1913, allocations: 1.887 MB / 358.1 MB, free: 1.547 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.656e-05/0.1913, allocations: 37.7 kB / 358.1 MB, free: 1.504 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008936/0.1922, allocations: 2.127 MB / 360.3 MB, free: 15.35 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002267/0.1924, allocations: 377.2 kB / 360.6 MB, free: 14.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006255/0.1931, allocations: 0.8223 MB / 361.5 MB, free: 14.14 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.456e-05/0.1932, allocations: 341.9 kB / 361.8 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005758/0.1937, allocations: 442.6 kB / 362.2 MB, free: 13.36 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001892/0.1956, allocations: 3.248 MB / 365.5 MB, free: 8.629 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004082/0.1997, allocations: 4.189 MB / 369.7 MB, free: 2.973 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.859e-05/0.1998, allocations: 28 kB / 369.7 MB, free: 2.945 MB / 330.7 MB Notification: Performance of matching and sorting (n=562) (initialization): time 0.00398/0.2038, allocations: 2.918 MB / 372.6 MB, free: 20 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.099e-05/0.2038, allocations: 51.8 kB / 372.7 MB, free: 15.97 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.837e-05/0.2039, allocations: 104 kB / 372.8 MB, free: 15.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002917/0.2042, allocations: 187.6 kB / 372.9 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/0.2057, allocations: 0.9981 MB / 373.9 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000942/0.2067, allocations: 1.438 MB / 375.4 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/0.2084, allocations: 195.7 kB / 375.6 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003156/0.2087, allocations: 244 kB / 375.8 MB, free: 12.72 MB / 346.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.0009133/0.2096, allocations: 492.8 kB / 376.3 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00019/0.2098, allocations: 127.8 kB / 376.4 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004179/0.2102, allocations: 344.2 kB / 376.8 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/0.2103, allocations: 8 kB / 376.8 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2103, allocations: 4 kB / 376.8 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.2103, allocations: 3.984 kB / 376.8 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002434/0.2127, allocations: 2.005 MB / 378.8 MB, free: 9.629 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.2127, allocations: 4 kB / 378.8 MB, free: 9.625 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002379/0.2129, allocations: 108.4 kB / 378.9 MB, free: 9.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002483/0.2132, allocations: 178.1 kB / 379.1 MB, free: 9.34 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.249e-05/0.2132, allocations: 20.69 kB / 379.1 MB, free: 9.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006589/0.2139, allocations: 1.239 MB / 380.3 MB, free: 7.988 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.2139, allocations: 7.938 kB / 380.3 MB, free: 7.98 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008512/0.2147, allocations: 1.125 MB / 381.4 MB, free: 6.773 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002542/0.215, allocations: 218.5 kB / 381.7 MB, free: 6.559 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.799e-05/0.2151, allocations: 27.97 kB / 381.7 MB, free: 6.531 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002714/0.2154, allocations: 16 kB / 381.7 MB, free: 6.516 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.634e-05/0.2154, allocations: 55.8 kB / 381.8 MB, free: 6.461 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.642e-05/0.2155, allocations: 31.3 kB / 381.8 MB, free: 6.434 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005632/0.216, allocations: 0.7083 MB / 382.5 MB, free: 5.703 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.216, allocations: 32 / 382.5 MB, free: 5.703 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001731/0.2178, allocations: 0.5546 MB / 383.1 MB, free: 5.148 MB / 346.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.0002383/0.218, allocations: 124.1 kB / 383.2 MB, free: 5.016 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001631/0.2196, allocations: 1.704 MB / 384.9 MB, free: 3.309 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.642e-05/0.2197, allocations: 59.94 kB / 384.9 MB, free: 3.246 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002401/0.22, allocations: 303.2 kB / 385.2 MB, free: 2.934 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006685/0.2207, allocations: 185.9 kB / 385.4 MB, free: 2.754 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004769/0.2254, allocations: 4.313 MB / 389.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006049/0.226, allocations: 0.7111 MB / 390.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006549/0.2267, allocations: 316.5 kB / 390.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000322/0.227, allocations: 327.3 kB / 391.1 MB, free: 12.93 MB / 362.7 MB Notification: Performance of SimCode: time 1.333e-06/0.227, allocations: 0 / 391.1 MB, free: 12.93 MB / 362.7 MB Notification: Performance of Templates: time 0.02307/0.2501, allocations: 13.08 MB / 404.1 MB, free: 15.93 MB / 378.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 -s gbode -gbm=radauIIA3 -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.52759712561965]