Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.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.00136/0.00136, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001772/0.003132, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001189/0.001189, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001535/0.002724, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.9251/0.9251, allocations: 158.6 MB / 171.1 MB, free: 2.586 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1323/1.057, allocations: 49.49 MB / 220.5 MB, free: 1.453 MB / 218.7 MB " [Timeout remaining time 179] 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(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 221.8 MB, free: 164 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.529e-05/1.652e-05, allocations: 6.312 kB / 221.8 MB, free: 156 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.007413/0.00743, allocations: 8.651 MB / 230.5 MB, free: 7.457 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004574/0.012, allocations: 2.729 MB / 233.2 MB, free: 4.723 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008612/0.01286, allocations: 55.75 kB / 233.3 MB, free: 4.668 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002046/0.01491, allocations: 1.864 MB / 235.1 MB, free: 2.797 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0022/0.01711, allocations: 1.399 MB / 236.5 MB, free: 1.391 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006033/0.01771, allocations: 219.6 kB / 236.8 MB, free: 1.176 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.002753/0.02047, allocations: 3.16 MB / 239.9 MB, free: 14.01 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001901/0.02237, allocations: 1.864 MB / 241.8 MB, free: 12.08 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002242/0.02461, allocations: 1.823 MB / 243.6 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001625/0.02623, allocations: 1.43 MB / 245 MB, free: 8.816 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002458/0.02648, allocations: 184 kB / 245.2 MB, free: 8.637 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006561/0.02714, allocations: 447.5 kB / 245.7 MB, free: 8.199 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008051/0.02794, allocations: 1.274 MB / 246.9 MB, free: 6.922 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006686/0.02861, allocations: 0.6888 MB / 247.6 MB, free: 6.23 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002317/0.03093, allocations: 2.944 MB / 250.6 MB, free: 3.273 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.336e-05/0.03094, allocations: 0 / 250.6 MB, free: 3.273 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.03094, allocations: 0 / 250.6 MB, free: 3.273 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.358e-05/0.03103, allocations: 4 kB / 250.6 MB, free: 3.27 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1143 * Number of variables: 1143 Notification: Performance of Generate backend data structure: time 0.003797/0.03482, allocations: 4.101 MB / 254.7 MB, free: 15.12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.03485, allocations: 8.031 kB / 254.7 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001848/0.0367, allocations: 0.8642 MB / 255.5 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001808/0.03851, allocations: 1.408 MB / 256.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-05/0.03859, allocations: 155.9 kB / 257.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002183/0.03881, allocations: 191.9 kB / 257.3 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003638/0.04245, allocations: 3.456 MB / 260.7 MB, free: 8.422 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.578e-05/0.04249, allocations: 31.73 kB / 260.8 MB, free: 8.391 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001514/0.04264, allocations: 103.9 kB / 260.9 MB, free: 8.289 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001104/0.04375, allocations: 1.414 MB / 262.3 MB, free: 6.871 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002255/0.046, allocations: 1.67 MB / 264 MB, free: 5.176 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1234/0.1694, allocations: 22.47 MB / 286.4 MB, free: 31.35 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.1706, allocations: 0.7494 MB / 287.2 MB, free: 31.04 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/0.1708, allocations: 148.7 kB / 287.3 MB, free: 30.98 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002501/0.1733, allocations: 1.988 MB / 289.3 MB, free: 30.09 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.1734, allocations: 52.94 kB / 289.4 MB, free: 30.05 MB / 282.7 MB Notification: Performance of pre-optimization done (n=89): time 2.896e-06/0.1734, allocations: 0 / 289.4 MB, free: 30.05 MB / 282.7 MB Notification: Performance of matching and sorting (n=89): time 0.00172/0.1751, allocations: 0.7885 MB / 290.2 MB, free: 30.02 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.1751, allocations: 218.2 kB / 290.4 MB, free: 29.77 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002771/0.1779, allocations: 2.591 MB / 293 MB, free: 29.31 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.306e-05/0.178, allocations: 35.58 kB / 293 MB, free: 29.28 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001038/0.179, allocations: 2.559 MB / 295.5 MB, free: 27.59 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002538/0.1792, allocations: 400.4 kB / 295.9 MB, free: 27.38 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007322/0.18, allocations: 0.9054 MB / 296.8 MB, free: 27.26 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.006e-05/0.18, allocations: 302.3 kB / 297.1 MB, free: 26.96 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005102/0.1805, allocations: 481.8 kB / 297.6 MB, free: 26.94 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001396/0.1819, allocations: 3.682 MB / 301.3 MB, free: 22.59 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002694/0.1846, allocations: 4.777 MB / 306.1 MB, free: 18.15 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.438e-05/0.1847, allocations: 36.19 kB / 306.1 MB, free: 18.15 MB / 282.7 MB Notification: Performance of matching and sorting (n=622) (initialization): time 0.003792/0.1885, allocations: 3.31 MB / 309.4 MB, free: 17.24 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.398e-05/0.1885, allocations: 60.19 kB / 309.5 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.838e-05/0.1886, allocations: 123.5 kB / 309.6 MB, free: 17.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.2e-05/0.1887, allocations: 161.2 kB / 309.8 MB, free: 17.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00175/0.1904, allocations: 1.186 MB / 310.9 MB, free: 17.13 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001023/0.1905, allocations: 233.3 kB / 311.2 MB, free: 17.08 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002025/0.1925, allocations: 0.6492 MB / 311.8 MB, free: 16.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002032/0.1927, allocations: 286.2 kB / 312.1 MB, free: 16.72 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 545 * Number of states: 0 () * Number of discrete variables: 24 (fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[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 (590): * Single equations (assignments): 586 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009812/0.1937, allocations: 0.5186 MB / 312.6 MB, free: 16.42 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002411/0.194, allocations: 164 kB / 312.8 MB, free: 16.42 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003839/0.1943, allocations: 368.6 kB / 313.1 MB, free: 16.34 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.846e-05/0.1944, allocations: 27.48 kB / 313.2 MB, free: 16.34 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.986e-06/0.1944, allocations: 0 / 313.2 MB, free: 16.34 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.1944, allocations: 7.797 kB / 313.2 MB, free: 16.34 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002336/0.1967, allocations: 1.637 MB / 314.8 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.1967, allocations: 4.938 kB / 314.8 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002798/0.197, allocations: 105.2 kB / 314.9 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002875/0.1973, allocations: 289.2 kB / 315.2 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.1973, allocations: 6.594 kB / 315.2 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.569e-05/0.1973, allocations: 16.89 kB / 315.2 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/0.1973, allocations: 14.44 kB / 315.2 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.1974, allocations: 7.469 kB / 315.2 MB, free: 15.68 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006342/0.198, allocations: 1.264 MB / 316.5 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001346/0.1981, allocations: 26 kB / 316.5 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003733/0.1985, allocations: 15.56 kB / 316.5 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.87e-05/0.1986, allocations: 48.05 kB / 316.6 MB, free: 14.69 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.043e-05/0.1986, allocations: 24.98 kB / 316.6 MB, free: 14.67 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006796/0.1993, allocations: 1.088 MB / 317.7 MB, free: 13.82 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1993, allocations: 0 / 317.7 MB, free: 13.82 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002395/0.2017, allocations: 0.8475 MB / 318.6 MB, free: 13.05 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 2 (prismatic.v,position.s) * 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 (58): * Single equations (assignments): 54 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000212/0.2019, allocations: 123.3 kB / 318.7 MB, free: 12.93 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001683/0.2036, allocations: 1.83 MB / 320.5 MB, free: 11.24 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001245/0.2037, allocations: 96.16 kB / 320.6 MB, free: 11.13 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.2038, allocations: 167.7 kB / 320.8 MB, free: 10.97 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.205, allocations: 0.5197 MB / 321.3 MB, free: 10.59 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006674/0.2116, allocations: 5.837 MB / 327.1 MB, free: 4.832 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006238/0.2123, allocations: 0.9432 MB / 328.1 MB, free: 3.875 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0009286/0.2132, allocations: 441.9 kB / 328.5 MB, free: 3.449 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004188/0.2136, allocations: 465.2 kB / 328.9 MB, free: 2.996 MB / 282.7 MB Notification: Performance of SimCode: time 1.853e-06/0.2136, allocations: 0 / 328.9 MB, free: 2.996 MB / 282.7 MB Notification: Performance of Templates: time 0.03153/0.2451, allocations: 18.95 MB / 347.9 MB, free: 88 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.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.2424085307866335]