Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 72.08 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 137.1 kB / 24.97 MB, free: 8.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9663/0.9663, allocations: 173.3 MB / 201.5 MB, free: 9.277 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 268.1 MB, free: 6.664 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.785e-05/1.924e-05, allocations: 10.25 kB / 268.1 MB, free: 6.652 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.008872/0.008891, allocations: 8.773 MB / 276.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003286/0.01218, allocations: 2.612 MB / 279.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004438/0.01262, allocations: 59.75 kB / 279.5 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00217/0.01479, allocations: 1.943 MB / 281.5 MB, free: 9.207 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001581/0.01637, allocations: 1.423 MB / 282.9 MB, free: 7.777 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002821/0.01665, allocations: 235.5 kB / 283.1 MB, free: 7.547 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002454/0.01911, allocations: 3.375 MB / 286.5 MB, free: 4.168 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001734/0.02084, allocations: 2.125 MB / 288.6 MB, free: 1.992 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001339/0.02218, allocations: 1.547 MB / 290.2 MB, free: 452 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1116/0.1338, allocations: 1.812 MB / 292 MB, free: 18.06 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006512/0.1345, allocations: 188.5 kB / 292.2 MB, free: 18.06 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008852/0.1353, allocations: 451.6 kB / 292.6 MB, free: 18.06 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001042/0.1364, allocations: 1.411 MB / 294 MB, free: 18.06 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001324/0.1377, allocations: 0.8283 MB / 294.9 MB, free: 18.06 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003707/0.1414, allocations: 3.102 MB / 298 MB, free: 17.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1414, allocations: 0.7969 kB / 298 MB, free: 17.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1414, allocations: 0 / 298 MB, free: 17.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001302/0.1415, allocations: 0.5 kB / 298 MB, free: 17.57 MB / 266.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.005183/0.1467, allocations: 3.976 MB / 301.9 MB, free: 15.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.1468, allocations: 10.52 kB / 301.9 MB, free: 15.76 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003285/0.15, allocations: 1.971 MB / 303.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001655/0.1517, allocations: 1.473 MB / 305.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.067e-05/0.1518, allocations: 154 kB / 305.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002426/0.152, allocations: 192.3 kB / 305.7 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003784/0.1558, allocations: 4.152 MB / 309.9 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.661e-05/0.1558, allocations: 26.81 kB / 309.9 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001914/0.156, allocations: 98.69 kB / 310 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001205/0.1572, allocations: 1.557 MB / 311.6 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003421/0.1607, allocations: 1.942 MB / 313.5 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01655/0.1772, allocations: 31.74 MB / 345.2 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/0.1786, allocations: 0.7373 MB / 346 MB, free: 9.836 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000253/0.1788, allocations: 216.7 kB / 346.2 MB, free: 9.598 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002121/0.1809, allocations: 2.244 MB / 348.4 MB, free: 7.336 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.181, allocations: 48.86 kB / 348.5 MB, free: 7.281 MB / 298.7 MB Notification: Performance of pre-optimization done (n=89): time 2.284e-06/0.181, allocations: 0 / 348.5 MB, free: 7.281 MB / 298.7 MB Notification: Performance of matching and sorting (n=89): time 0.001932/0.1829, allocations: 1.108 MB / 349.6 MB, free: 6.191 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002008/0.1831, allocations: 213.6 kB / 349.8 MB, free: 5.934 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002766/0.1859, allocations: 3.259 MB / 353.1 MB, free: 2.66 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.907e-05/0.1859, allocations: 41.45 kB / 353.1 MB, free: 2.617 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001342/0.1873, allocations: 2.94 MB / 356 MB, free: 15.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002457/0.1875, allocations: 425.5 kB / 356.5 MB, free: 15.27 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009114/0.1884, allocations: 1.035 MB / 357.5 MB, free: 14.23 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.895e-05/0.1885, allocations: 476.8 kB / 358 MB, free: 13.76 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000621/0.1891, allocations: 421.1 kB / 358.4 MB, free: 13.34 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002671/0.1918, allocations: 5.345 MB / 363.7 MB, free: 5.73 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003986/0.1958, allocations: 6.374 MB / 370.1 MB, free: 13.22 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.96e-05/0.1958, allocations: 36 kB / 370.1 MB, free: 13.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.004389/0.2002, allocations: 4.117 MB / 374.2 MB, free: 9.07 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.132e-05/0.2003, allocations: 56.97 kB / 374.3 MB, free: 9.016 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002375/0.2005, allocations: 120 kB / 374.4 MB, free: 8.898 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-05/0.2006, allocations: 159.8 kB / 374.6 MB, free: 8.746 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001902/0.2025, allocations: 1.088 MB / 375.7 MB, free: 7.656 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001347/0.2026, allocations: 235.1 kB / 375.9 MB, free: 7.426 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001766/0.2044, allocations: 0.663 MB / 376.5 MB, free: 6.762 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002406/0.2046, allocations: 312 kB / 376.9 MB, free: 6.457 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 544 * 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 (589): * Single equations (assignments): 585 * 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.0009627/0.2056, allocations: 0.5667 MB / 377.4 MB, free: 5.879 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000298/0.2059, allocations: 309.2 kB / 377.7 MB, free: 5.578 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004444/0.2063, allocations: 392.3 kB / 378.1 MB, free: 5.188 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.243e-05/0.2064, allocations: 19.98 kB / 378.1 MB, free: 5.168 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.2064, allocations: 4 kB / 378.1 MB, free: 5.164 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.2064, allocations: 3.984 kB / 378.1 MB, free: 5.16 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003217/0.2096, allocations: 2.754 MB / 380.9 MB, free: 2.328 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.2096, allocations: 4.875 kB / 380.9 MB, free: 2.324 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/0.2099, allocations: 103.8 kB / 381 MB, free: 2.223 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.2099, allocations: 8.047 kB / 381 MB, free: 2.215 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.88e-05/0.2099, allocations: 19.98 kB / 381 MB, free: 2.195 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.185e-06/0.2099, allocations: 11.98 kB / 381 MB, free: 2.184 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.2099, allocations: 4.75 kB / 381 MB, free: 2.18 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.2111, allocations: 1.739 MB / 382.8 MB, free: 384 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003004/0.2114, allocations: 325.8 kB / 383.1 MB, free: 56 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/0.2115, allocations: 23.92 kB / 383.1 MB, free: 32 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004217/0.2119, allocations: 23.98 kB / 383.1 MB, free: 8 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.148e-05/0.212, allocations: 52.41 kB / 383.2 MB, free: 15.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.673e-05/0.2121, allocations: 39.05 kB / 383.2 MB, free: 15.92 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001432/0.2135, allocations: 1.431 MB / 384.7 MB, free: 14.5 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2135, allocations: 0 / 384.7 MB, free: 14.5 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002184/0.2157, allocations: 0.8415 MB / 385.5 MB, free: 13.66 MB / 346.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.0002345/0.2159, allocations: 146.1 kB / 385.6 MB, free: 13.5 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00202/0.2179, allocations: 1.939 MB / 387.6 MB, free: 11.58 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2179, allocations: 7.938 kB / 387.6 MB, free: 11.57 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.2182, allocations: 209.3 kB / 387.8 MB, free: 11.37 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.2193, allocations: 357 kB / 388.1 MB, free: 11.03 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006198/0.2255, allocations: 5.644 MB / 393.8 MB, free: 5.273 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007543/0.2263, allocations: 0.9504 MB / 394.7 MB, free: 4.305 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001742/0.228, allocations: 1.305 MB / 396 MB, free: 2.992 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004478/0.2285, allocations: 188.5 kB / 396.2 MB, free: 2.805 MB / 346.7 MB Notification: Performance of SimCode: time 1.042e-06/0.2285, allocations: 0 / 396.2 MB, free: 2.805 MB / 346.7 MB Notification: Performance of Templates: time 0.02748/0.256, allocations: 16.21 MB / 412.4 MB, free: 3.051 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.443138574017212]