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.0007047/0.0007047, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009307/0.001635, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.000632/0.000632, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008756/0.001508, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.8613/0.8613, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.143/1.004, allocations: 52.49 MB / 238.5 MB, free: 7.625 MB / 234.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.653e-06/1.653e-06, allocations: 0 / 239.8 MB, free: 6.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.777e-05/1.943e-05, allocations: 3.531 kB / 239.8 MB, free: 6.336 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.007171/0.007191, allocations: 8.658 MB / 248.4 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004113/0.0113, allocations: 2.725 MB / 251.1 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000861/0.01216, allocations: 55.75 kB / 251.2 MB, free: 10.88 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001983/0.01415, allocations: 1.858 MB / 253.1 MB, free: 9.016 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00224/0.01639, allocations: 1.412 MB / 254.5 MB, free: 7.609 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003514/0.01674, allocations: 211.6 kB / 254.7 MB, free: 7.402 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002613/0.01935, allocations: 3.135 MB / 257.8 MB, free: 4.262 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002196/0.02155, allocations: 1.86 MB / 259.7 MB, free: 2.332 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002043/0.02359, allocations: 1.807 MB / 261.5 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00159/0.02518, allocations: 1.422 MB / 262.9 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003671/0.02555, allocations: 188 kB / 263.1 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006995/0.02625, allocations: 467.3 kB / 263.5 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007602/0.02701, allocations: 1.274 MB / 264.8 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006313/0.02764, allocations: 0.685 MB / 265.5 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002228/0.02987, allocations: 2.94 MB / 268.4 MB, free: 9.539 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.043e-05/0.02988, allocations: 0 / 268.4 MB, free: 9.539 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.02988, allocations: 0 / 268.4 MB, free: 9.539 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001172/0.03, allocations: 4 kB / 268.4 MB, free: 9.535 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.003719/0.03372, allocations: 4.104 MB / 272.5 MB, free: 5.383 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.03375, allocations: 8.031 kB / 272.6 MB, free: 5.375 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001818/0.03557, allocations: 0.8681 MB / 273.4 MB, free: 4.488 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001647/0.03721, allocations: 1.401 MB / 274.8 MB, free: 3.031 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.853e-05/0.03729, allocations: 151.9 kB / 275 MB, free: 2.883 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002175/0.03751, allocations: 195.9 kB / 275.2 MB, free: 2.691 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003161/0.04067, allocations: 3.452 MB / 278.6 MB, free: 14.69 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.086e-05/0.04072, allocations: 31.7 kB / 278.6 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001619/0.04088, allocations: 103.9 kB / 278.8 MB, free: 14.56 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001059/0.04194, allocations: 1.324 MB / 280.1 MB, free: 13.23 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00232/0.04426, allocations: 1.698 MB / 281.8 MB, free: 11.51 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01428/0.05855, allocations: 22.47 MB / 304.2 MB, free: 4.145 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/0.0597, allocations: 0.7548 MB / 305 MB, free: 3.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.05987, allocations: 149.9 kB / 305.1 MB, free: 3.152 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002137/0.062, allocations: 1.98 MB / 307.1 MB, free: 1.145 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.06203, allocations: 50.5 kB / 307.2 MB, free: 1.086 MB / 298.7 MB Notification: Performance of pre-optimization done (n=89): time 2.956e-06/0.06203, allocations: 0 / 307.2 MB, free: 1.086 MB / 298.7 MB Notification: Performance of matching and sorting (n=89): time 0.001465/0.0635, allocations: 0.7892 MB / 308 MB, free: 304 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.393e-05/0.06356, allocations: 217.6 kB / 308.2 MB, free: 36 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001721/0.06528, allocations: 2.591 MB / 310.8 MB, free: 13.44 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.06532, allocations: 33.7 kB / 310.8 MB, free: 13.4 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009859/0.0663, allocations: 2.562 MB / 313.4 MB, free: 10.81 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002028/0.06651, allocations: 393.2 kB / 313.7 MB, free: 10.42 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006146/0.06712, allocations: 0.9095 MB / 314.7 MB, free: 9.5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.69e-05/0.06719, allocations: 305.3 kB / 314.9 MB, free: 9.199 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004566/0.06764, allocations: 480.1 kB / 315.4 MB, free: 8.723 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00171/0.06935, allocations: 3.679 MB / 319.1 MB, free: 3.34 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003277/0.07263, allocations: 5.148 MB / 324.2 MB, free: 12.5 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.658e-05/0.07269, allocations: 36 kB / 324.3 MB, free: 12.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=622) (initialization): time 0.003087/0.07577, allocations: 3.319 MB / 327.6 MB, free: 9.125 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.819e-05/0.07582, allocations: 59.94 kB / 327.7 MB, free: 9.066 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.865e-05/0.07591, allocations: 132 kB / 327.8 MB, free: 8.938 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.289e-05/0.07599, allocations: 152 kB / 327.9 MB, free: 8.789 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001664/0.07766, allocations: 1.19 MB / 329.1 MB, free: 7.598 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001179/0.07778, allocations: 239.1 kB / 329.4 MB, free: 7.363 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/0.07937, allocations: 0.6437 MB / 330 MB, free: 6.715 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002106/0.07958, allocations: 280 kB / 330.3 MB, free: 6.441 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.000714/0.0803, allocations: 0.5238 MB / 330.8 MB, free: 5.906 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001973/0.0805, allocations: 163.8 kB / 331 MB, free: 5.746 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003682/0.08086, allocations: 371.7 kB / 331.3 MB, free: 5.375 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.82e-05/0.08089, allocations: 12 kB / 331.3 MB, free: 5.363 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.0809, allocations: 4 kB / 331.3 MB, free: 5.359 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.0809, allocations: 3.984 kB / 331.3 MB, free: 5.355 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002022/0.08293, allocations: 1.643 MB / 333 MB, free: 3.652 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/0.08294, allocations: 12.05 kB / 333 MB, free: 3.641 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002586/0.0832, allocations: 111.8 kB / 333.1 MB, free: 3.531 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002607/0.08346, allocations: 293.7 kB / 333.4 MB, free: 3.242 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.08347, allocations: 4 kB / 333.4 MB, free: 3.238 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.557e-05/0.08349, allocations: 19.98 kB / 333.4 MB, free: 3.219 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.273e-06/0.0835, allocations: 11.94 kB / 333.4 MB, free: 3.207 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.0835, allocations: 4 kB / 333.4 MB, free: 3.203 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007436/0.08424, allocations: 1.263 MB / 334.7 MB, free: 1.887 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/0.08436, allocations: 23.94 kB / 334.7 MB, free: 1.863 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003761/0.08474, allocations: 16 kB / 334.7 MB, free: 1.848 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.983e-05/0.08481, allocations: 51.8 kB / 334.8 MB, free: 1.797 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.36e-05/0.08484, allocations: 28 kB / 334.8 MB, free: 1.77 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008002/0.08564, allocations: 1.084 MB / 335.9 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08564, allocations: 0 / 335.9 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.1072/0.1929, allocations: 0.8351 MB / 336.7 MB, free: 79.52 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.000336/0.1932, allocations: 130.8 kB / 336.9 MB, free: 79.45 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002507/0.1957, allocations: 1.926 MB / 338.8 MB, free: 79.22 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001699/0.1959, allocations: 100 kB / 338.9 MB, free: 79.2 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004699/0.1964, allocations: 371 kB / 339.2 MB, free: 79.17 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001967/0.1983, allocations: 2.562 MB / 341.8 MB, free: 77.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007377/0.2057, allocations: 5.837 MB / 347.6 MB, free: 74.74 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007019/0.2064, allocations: 0.9486 MB / 348.6 MB, free: 74.61 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008391/0.2073, allocations: 432.2 kB / 349 MB, free: 74.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004444/0.2077, allocations: 446.4 kB / 349.4 MB, free: 74.42 MB / 330.7 MB Notification: Performance of SimCode: time 1.393e-06/0.2077, allocations: 0 / 349.4 MB, free: 74.42 MB / 330.7 MB Notification: Performance of Templates: time 0.02708/0.2348, allocations: 17.26 MB / 366.7 MB, free: 62.2 MB / 330.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.799297225661576]