Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001012/0.001012, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001538/0.00255, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009718/0.0009718, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003035/0.004007, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9664/0.9664, allocations: 177.5 MB / 190 MB, free: 4.809 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08592/1.052, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.056e-05/2.262e-05, allocations: 5.406 kB / 245.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.009764/0.009787, allocations: 8.629 MB / 253.8 MB, free: 4.895 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005528/0.01532, allocations: 2.786 MB / 256.6 MB, free: 2.102 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009428/0.01626, allocations: 55.75 kB / 256.7 MB, free: 2.047 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002031/0.01829, allocations: 1.868 MB / 258.6 MB, free: 176 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002307/0.0206, allocations: 1.399 MB / 260 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000367/0.02096, allocations: 227.5 kB / 260.2 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003053/0.02402, allocations: 3.229 MB / 263.4 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002203/0.02622, allocations: 1.848 MB / 265.3 MB, free: 9.391 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00224/0.02846, allocations: 1.827 MB / 267.1 MB, free: 7.559 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001615/0.03007, allocations: 1.418 MB / 268.5 MB, free: 6.137 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004841/0.03056, allocations: 184 kB / 268.7 MB, free: 5.957 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009807/0.03154, allocations: 467.4 kB / 269.1 MB, free: 5.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008886/0.03243, allocations: 1.258 MB / 270.4 MB, free: 4.238 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007545/0.03318, allocations: 0.6733 MB / 271.1 MB, free: 3.562 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002607/0.03579, allocations: 2.917 MB / 274 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.829e-06/0.0358, allocations: 0 / 274 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.0358, allocations: 0 / 274 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001282/0.03593, allocations: 0 / 274 MB, free: 0.6328 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.1131/0.149, allocations: 4.076 MB / 278.1 MB, free: 20.01 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.149, allocations: 10.86 kB / 278.1 MB, free: 20.01 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002856/0.1519, allocations: 0.9368 MB / 279 MB, free: 19.9 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001967/0.1538, allocations: 1.396 MB / 280.4 MB, free: 19.38 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.153e-05/0.1539, allocations: 151 kB / 280.6 MB, free: 19.38 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000239/0.1542, allocations: 202.2 kB / 280.8 MB, free: 19.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003734/0.1579, allocations: 3.451 MB / 284.2 MB, free: 17.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.196e-05/0.158, allocations: 26.12 kB / 284.2 MB, free: 17.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001767/0.1581, allocations: 105.8 kB / 284.3 MB, free: 17.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001225/0.1594, allocations: 1.325 MB / 285.7 MB, free: 17.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00237/0.1617, allocations: 1.68 MB / 287.3 MB, free: 17.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01138/0.1731, allocations: 22.48 MB / 309.8 MB, free: 13.07 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.1742, allocations: 0.7269 MB / 310.5 MB, free: 12.27 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/0.1744, allocations: 158.1 kB / 310.7 MB, free: 12.1 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002224/0.1766, allocations: 1.994 MB / 312.7 MB, free: 10.09 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.1767, allocations: 52.34 kB / 312.7 MB, free: 10.03 MB / 282.7 MB Notification: Performance of pre-optimization done (n=89): time 2.545e-06/0.1767, allocations: 0 / 312.7 MB, free: 10.03 MB / 282.7 MB Notification: Performance of matching and sorting (n=89): time 0.001623/0.1783, allocations: 0.791 MB / 313.5 MB, free: 9.246 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.564e-05/0.1784, allocations: 213.6 kB / 313.7 MB, free: 8.988 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001779/0.1801, allocations: 2.583 MB / 316.3 MB, free: 6.406 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.951e-05/0.1802, allocations: 37.7 kB / 316.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001289/0.1815, allocations: 2.56 MB / 318.9 MB, free: 3.785 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002665/0.1817, allocations: 396.6 kB / 319.3 MB, free: 3.398 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007263/0.1825, allocations: 0.9134 MB / 320.2 MB, free: 2.473 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.792e-05/0.1825, allocations: 305 kB / 320.5 MB, free: 2.176 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004881/0.183, allocations: 480.1 kB / 321 MB, free: 1.699 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001787/0.1848, allocations: 3.677 MB / 324.7 MB, free: 12.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003551/0.1883, allocations: 5.147 MB / 329.8 MB, free: 5.512 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.033e-05/0.1884, allocations: 32 kB / 329.8 MB, free: 5.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=622) (initialization): time 0.003537/0.1919, allocations: 3.307 MB / 333.2 MB, free: 2.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.796e-05/0.192, allocations: 60 kB / 333.2 MB, free: 2.102 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001168/0.1921, allocations: 128 kB / 333.3 MB, free: 1.977 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.37e-05/0.1922, allocations: 159.9 kB / 333.5 MB, free: 1.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00177/0.194, allocations: 1.185 MB / 334.7 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001139/0.1941, allocations: 235.7 kB / 334.9 MB, free: 412 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002137/0.1962, allocations: 0.6573 MB / 335.6 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002441/0.1965, allocations: 276 kB / 335.8 MB, free: 15.47 MB / 314.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.0008683/0.1973, allocations: 0.5239 MB / 336.4 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002251/0.1976, allocations: 167.8 kB / 336.5 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003995/0.198, allocations: 367.5 kB / 336.9 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.994e-05/0.198, allocations: 15.75 kB / 336.9 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.198, allocations: 4 kB / 336.9 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.198, allocations: 3.984 kB / 336.9 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002247/0.2003, allocations: 1.639 MB / 338.5 MB, free: 12.69 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.72e-05/0.2003, allocations: 16.06 kB / 338.6 MB, free: 12.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002716/0.2005, allocations: 107.8 kB / 338.7 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002955/0.2008, allocations: 293.3 kB / 338.9 MB, free: 12.28 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.2008, allocations: 4 kB / 339 MB, free: 12.28 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.2009, allocations: 16 kB / 339 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-06/0.2009, allocations: 8 kB / 339 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.2009, allocations: 7.938 kB / 339 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008354/0.2017, allocations: 1.261 MB / 340.2 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.2018, allocations: 35.91 kB / 340.3 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004195/0.2023, allocations: 12 kB / 340.3 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.428e-05/0.2023, allocations: 51.8 kB / 340.3 MB, free: 10.83 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.591e-05/0.2024, allocations: 28 kB / 340.4 MB, free: 10.8 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008373/0.2032, allocations: 1.08 MB / 341.4 MB, free: 9.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2032, allocations: 0 / 341.4 MB, free: 9.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00241/0.2056, allocations: 0.8259 MB / 342.3 MB, free: 8.902 MB / 314.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.0002523/0.2059, allocations: 136 kB / 342.4 MB, free: 8.762 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001943/0.2078, allocations: 1.925 MB / 344.3 MB, free: 6.902 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001468/0.208, allocations: 96.16 kB / 344.4 MB, free: 6.801 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003975/0.2084, allocations: 376 kB / 344.8 MB, free: 6.434 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001921/0.2103, allocations: 2.561 MB / 347.4 MB, free: 3.488 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007911/0.2182, allocations: 5.837 MB / 353.2 MB, free: 13.55 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008101/0.219, allocations: 0.9435 MB / 354.1 MB, free: 12.59 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000964/0.22, allocations: 426.2 kB / 354.6 MB, free: 12.17 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005035/0.2205, allocations: 449.2 kB / 355 MB, free: 11.73 MB / 330.7 MB Notification: Performance of SimCode: time 1.643e-06/0.2205, allocations: 7.938 kB / 355 MB, free: 11.72 MB / 330.7 MB Notification: Performance of Templates: time 0.03038/0.2508, allocations: 17.23 MB / 372.2 MB, free: 10.64 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8892081370577216]