Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001405/0.001405, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001679/0.001679, allocations: 163.9 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9446/0.9446, allocations: 177.2 MB / 206.1 MB, free: 4.473 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 274.2 MB, free: 4.387 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.256e-05/2.446e-05, allocations: 2.312 kB / 274.2 MB, free: 4.383 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.007963/0.007987, allocations: 8.521 MB / 282.7 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005389/0.01338, allocations: 2.632 MB / 285.4 MB, free: 9.207 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001417/0.01479, allocations: 55.75 kB / 285.4 MB, free: 9.152 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00266/0.01745, allocations: 1.943 MB / 287.4 MB, free: 7.203 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002823/0.02028, allocations: 1.415 MB / 288.8 MB, free: 5.781 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004397/0.02072, allocations: 239.5 kB / 289 MB, free: 5.547 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003036/0.02375, allocations: 3.438 MB / 292.4 MB, free: 2.102 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001723/0.02548, allocations: 2.105 MB / 294.6 MB, free: 15.94 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00181/0.02729, allocations: 1.8 MB / 296.4 MB, free: 14.14 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001459/0.02874, allocations: 1.555 MB / 297.9 MB, free: 12.58 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002672/0.02901, allocations: 180 kB / 298.1 MB, free: 12.4 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000614/0.02963, allocations: 467.3 kB / 298.5 MB, free: 11.95 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007692/0.03039, allocations: 1.387 MB / 299.9 MB, free: 10.55 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006182/0.03101, allocations: 0.8017 MB / 300.7 MB, free: 9.75 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002385/0.0334, allocations: 3.069 MB / 303.8 MB, free: 6.668 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.0334, allocations: 0 / 303.8 MB, free: 6.668 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.0334, allocations: 0 / 303.8 MB, free: 6.668 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.758e-05/0.03346, allocations: 0 / 303.8 MB, free: 6.668 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: 1143 * Number of variables: 1143 Notification: Performance of Generate backend data structure: time 0.003966/0.03743, allocations: 3.947 MB / 307.7 MB, free: 2.66 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.03748, allocations: 15.97 kB / 307.8 MB, free: 2.645 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002779/0.04026, allocations: 1.142 MB / 308.9 MB, free: 1.5 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001871/0.04213, allocations: 1.551 MB / 310.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-05/0.04221, allocations: 155.9 kB / 310.6 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000233/0.04244, allocations: 199.8 kB / 310.8 MB, free: 15.55 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003899/0.04634, allocations: 3.885 MB / 314.7 MB, free: 10.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.088e-05/0.04639, allocations: 23.75 kB / 314.7 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001833/0.04657, allocations: 103.9 kB / 314.8 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001231/0.0478, allocations: 1.41 MB / 316.2 MB, free: 9.391 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002858/0.05066, allocations: 1.591 MB / 317.8 MB, free: 7.785 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02076/0.07142, allocations: 31.69 MB / 349.5 MB, free: 6.992 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/0.0727, allocations: 0.7009 MB / 350.2 MB, free: 6.203 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/0.07292, allocations: 194.4 kB / 350.4 MB, free: 5.984 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002328/0.07525, allocations: 2.174 MB / 352.6 MB, free: 3.777 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.554e-05/0.0753, allocations: 57.27 kB / 352.6 MB, free: 3.711 MB / 330.7 MB Notification: Performance of pre-optimization done (n=89): time 4.588e-06/0.0753, allocations: 0 / 352.6 MB, free: 3.711 MB / 330.7 MB Notification: Performance of matching and sorting (n=89): time 0.002002/0.0773, allocations: 1.051 MB / 353.7 MB, free: 2.656 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.267e-05/0.07739, allocations: 217.6 kB / 353.9 MB, free: 2.395 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1238/0.2012, allocations: 3.219 MB / 357.1 MB, free: 81.21 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001161/0.2013, allocations: 37.27 kB / 357.1 MB, free: 81.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001338/0.2026, allocations: 2.97 MB / 360.1 MB, free: 79.69 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003328/0.203, allocations: 422 kB / 360.5 MB, free: 79.48 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009171/0.2039, allocations: 1.065 MB / 361.6 MB, free: 79.34 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.819e-05/0.2039, allocations: 478.6 kB / 362.1 MB, free: 78.88 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005636/0.2045, allocations: 333.5 kB / 362.4 MB, free: 78.86 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001747/0.2062, allocations: 5.297 MB / 367.7 MB, free: 72.38 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003222/0.2095, allocations: 6.31 MB / 374 MB, free: 65.69 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.912e-05/0.2096, allocations: 34.84 kB / 374 MB, free: 65.69 MB / 330.7 MB Notification: Performance of matching and sorting (n=622) (initialization): time 0.004685/0.2142, allocations: 3.866 MB / 377.9 MB, free: 64.64 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.139e-05/0.2143, allocations: 59.56 kB / 377.9 MB, free: 64.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001024/0.2144, allocations: 117.2 kB / 378.1 MB, free: 64.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.243e-05/0.2145, allocations: 157.7 kB / 378.2 MB, free: 64.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00165/0.2161, allocations: 1.071 MB / 379.3 MB, free: 64.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001251/0.2163, allocations: 238.9 kB / 379.5 MB, free: 64.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002268/0.2185, allocations: 0.6516 MB / 380.2 MB, free: 64.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003195/0.2189, allocations: 281.8 kB / 380.4 MB, free: 64.06 MB / 330.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.001004/0.2199, allocations: 0.565 MB / 381 MB, free: 63.6 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003512/0.2202, allocations: 315.3 kB / 381.3 MB, free: 63.42 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004348/0.2206, allocations: 382.9 kB / 381.7 MB, free: 63.23 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.762e-05/0.2207, allocations: 20.08 kB / 381.7 MB, free: 63.23 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.2207, allocations: 1.719 kB / 381.7 MB, free: 63.23 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.2207, allocations: 8.141 kB / 381.7 MB, free: 63.23 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002813/0.2235, allocations: 1.955 MB / 383.7 MB, free: 61.99 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.2235, allocations: 4 kB / 383.7 MB, free: 61.99 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002467/0.2238, allocations: 94.61 kB / 383.8 MB, free: 61.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.2238, allocations: 8 kB / 383.8 MB, free: 61.9 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.573e-05/0.2238, allocations: 16 kB / 383.8 MB, free: 61.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.2238, allocations: 8 kB / 383.8 MB, free: 61.88 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.2238, allocations: 7.938 kB / 383.8 MB, free: 61.87 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008446/0.2246, allocations: 1.68 MB / 385.5 MB, free: 60.19 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003847/0.225, allocations: 308.8 kB / 385.8 MB, free: 59.9 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/0.2252, allocations: 28.27 kB / 385.8 MB, free: 59.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004253/0.2256, allocations: 16 kB / 385.8 MB, free: 59.86 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.204e-05/0.2257, allocations: 50.86 kB / 385.9 MB, free: 59.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-05/0.2257, allocations: 27.94 kB / 385.9 MB, free: 59.81 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008946/0.2266, allocations: 1.332 MB / 387.2 MB, free: 58.82 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2266, allocations: 0 / 387.2 MB, free: 58.82 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002504/0.2291, allocations: 0.8253 MB / 388.1 MB, free: 57.99 MB / 330.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.0002164/0.2293, allocations: 151.2 kB / 388.2 MB, free: 57.84 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002214/0.2315, allocations: 1.856 MB / 390.1 MB, free: 56.22 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.2315, allocations: 4.125 kB / 390.1 MB, free: 56.22 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001822/0.2317, allocations: 195.2 kB / 390.3 MB, free: 56.05 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/0.233, allocations: 361.2 kB / 390.6 MB, free: 55.76 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005876/0.2388, allocations: 5.643 MB / 396.3 MB, free: 50.38 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000682/0.2395, allocations: 0.9542 MB / 397.2 MB, free: 49.41 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009057/0.2404, allocations: 434.1 kB / 397.6 MB, free: 48.98 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004521/0.2409, allocations: 0.4903 MB / 398.1 MB, free: 48.49 MB / 330.7 MB Notification: Performance of SimCode: time 1.633e-06/0.2409, allocations: 0 / 398.1 MB, free: 48.49 MB / 330.7 MB Notification: Performance of Templates: time 0.02993/0.2708, allocations: 18.84 MB / 417 MB, free: 30.07 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5446700882166624]