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.0009661/0.0009661, allocations: 75.77 kB / 22.45 MB, free: 2.09 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.0009631/0.0009631, allocations: 164 kB / 25.75 MB, free: 8.945 MB / 18.57 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.907/0.907, allocations: 158.6 MB / 187.5 MB, free: 2.941 MB / 170.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 2.064e-06/2.064e-06, allocations: 0 / 251.1 MB, free: 7.781 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.81e-05/3.017e-05, allocations: 2.312 kB / 251.1 MB, free: 7.777 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.007797/0.007827, allocations: 8.795 MB / 259.9 MB, free: 14.94 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004346/0.01217, allocations: 2.601 MB / 262.5 MB, free: 12.33 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007234/0.0129, allocations: 55.75 kB / 262.6 MB, free: 12.28 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002228/0.01512, allocations: 1.95 MB / 264.5 MB, free: 10.32 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002063/0.01719, allocations: 1.415 MB / 265.9 MB, free: 8.898 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003492/0.01754, allocations: 235.5 kB / 266.2 MB, free: 8.668 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002673/0.02021, allocations: 3.38 MB / 269.6 MB, free: 5.281 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002113/0.02232, allocations: 2.125 MB / 271.7 MB, free: 3.102 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001837/0.02416, allocations: 1.547 MB / 273.2 MB, free: 1.551 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002179/0.02634, allocations: 1.824 MB / 275 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002636/0.0266, allocations: 191.9 kB / 275.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006771/0.02728, allocations: 451.4 kB / 275.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009855/0.02826, allocations: 1.406 MB / 277.1 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007631/0.02903, allocations: 0.8251 MB / 277.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002909/0.03194, allocations: 3.096 MB / 281 MB, free: 9.746 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.03194, allocations: 3.938 kB / 281 MB, free: 9.742 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.03194, allocations: 0 / 281 MB, free: 9.742 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.322e-05/0.03196, allocations: 0 / 281 MB, free: 9.742 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.004418/0.03638, allocations: 3.975 MB / 285 MB, free: 5.707 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.03642, allocations: 11.98 kB / 285 MB, free: 5.695 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00424/0.04067, allocations: 1.98 MB / 287 MB, free: 3.711 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00192/0.04258, allocations: 1.466 MB / 288.4 MB, free: 2.199 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.04269, allocations: 155.9 kB / 288.6 MB, free: 2.047 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002971/0.04299, allocations: 195.9 kB / 288.8 MB, free: 1.855 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004841/0.04783, allocations: 4.159 MB / 292.9 MB, free: 12.96 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.541e-05/0.04789, allocations: 23.75 kB / 293 MB, free: 12.93 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002208/0.04811, allocations: 99.88 kB / 293.1 MB, free: 12.84 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001801/0.04991, allocations: 1.551 MB / 294.6 MB, free: 11.29 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004077/0.05399, allocations: 1.951 MB / 296.6 MB, free: 9.32 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02047/0.07446, allocations: 31.74 MB / 328.3 MB, free: 8.48 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001717/0.07617, allocations: 0.7439 MB / 329 MB, free: 7.648 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003297/0.0765, allocations: 209.7 kB / 329.3 MB, free: 7.414 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002562/0.07906, allocations: 2.237 MB / 331.5 MB, free: 5.145 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.0791, allocations: 49.33 kB / 331.5 MB, free: 5.086 MB / 314.7 MB Notification: Performance of pre-optimization done (n=89): time 2.886e-06/0.0791, allocations: 0 / 331.5 MB, free: 5.086 MB / 314.7 MB Notification: Performance of matching and sorting (n=89): time 0.002546/0.08165, allocations: 1.105 MB / 332.6 MB, free: 3.977 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.048e-05/0.08174, allocations: 221.6 kB / 332.9 MB, free: 3.711 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003416/0.08515, allocations: 3.255 MB / 336.1 MB, free: 452 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.08519, allocations: 37.7 kB / 336.1 MB, free: 408 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00152/0.08671, allocations: 2.95 MB / 339.1 MB, free: 13.42 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002153/0.08693, allocations: 413.2 kB / 339.5 MB, free: 13.01 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007317/0.08766, allocations: 1.04 MB / 340.5 MB, free: 11.96 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.957e-05/0.08776, allocations: 476.8 kB / 341 MB, free: 11.49 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005785/0.08834, allocations: 425.3 kB / 341.4 MB, free: 11.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002616/0.09095, allocations: 5.345 MB / 346.8 MB, free: 3.398 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1135/0.2045, allocations: 6.362 MB / 353.1 MB, free: 76.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.218e-05/0.2045, allocations: 38.5 kB / 353.2 MB, free: 76.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.004701/0.2092, allocations: 4.121 MB / 357.3 MB, free: 76.35 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.147e-05/0.2093, allocations: 57.69 kB / 357.3 MB, free: 76.35 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.899e-05/0.2094, allocations: 117.2 kB / 357.5 MB, free: 76.35 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.786e-05/0.2095, allocations: 158.1 kB / 357.6 MB, free: 76.35 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00154/0.211, allocations: 1.084 MB / 358.7 MB, free: 76.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-05/0.2111, allocations: 227.4 kB / 358.9 MB, free: 76.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/0.2127, allocations: 0.6642 MB / 359.6 MB, free: 76.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000208/0.2129, allocations: 316.3 kB / 359.9 MB, free: 76.19 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.0007866/0.2137, allocations: 0.571 MB / 360.5 MB, free: 75.92 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002482/0.2139, allocations: 307.1 kB / 360.8 MB, free: 75.88 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003784/0.2143, allocations: 388.7 kB / 361.1 MB, free: 75.8 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.003e-05/0.2143, allocations: 24.75 kB / 361.2 MB, free: 75.8 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.2144, allocations: 3.688 kB / 361.2 MB, free: 75.8 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.2144, allocations: 6.141 kB / 361.2 MB, free: 75.8 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002751/0.2171, allocations: 2.753 MB / 363.9 MB, free: 75.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.2171, allocations: 3.969 kB / 363.9 MB, free: 75.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002398/0.2174, allocations: 107.9 kB / 364 MB, free: 75.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.2174, allocations: 5.656 kB / 364 MB, free: 75.29 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.095e-05/0.2174, allocations: 23.42 kB / 364.1 MB, free: 75.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.2174, allocations: 7.719 kB / 364.1 MB, free: 75.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.748e-06/0.2174, allocations: 6.094 kB / 364.1 MB, free: 75.28 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008635/0.2183, allocations: 1.738 MB / 365.8 MB, free: 74.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002493/0.2185, allocations: 330.4 kB / 366.1 MB, free: 73.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/0.2187, allocations: 24.92 kB / 366.2 MB, free: 73.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004039/0.2191, allocations: 27.97 kB / 366.2 MB, free: 73.9 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.606e-05/0.2191, allocations: 48.14 kB / 366.2 MB, free: 73.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.418e-05/0.2192, allocations: 40.03 kB / 366.3 MB, free: 73.89 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001184/0.2203, allocations: 1.427 MB / 367.7 MB, free: 73.7 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2203, allocations: 0 / 367.7 MB, free: 73.7 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001945/0.2223, allocations: 0.8454 MB / 368.6 MB, free: 73.3 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.0002001/0.2225, allocations: 142.6 kB / 368.7 MB, free: 73.17 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001624/0.2241, allocations: 1.943 MB / 370.6 MB, free: 71.71 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.2241, allocations: 1.875 kB / 370.6 MB, free: 71.71 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001893/0.2243, allocations: 217.7 kB / 370.9 MB, free: 71.56 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.2254, allocations: 359.7 kB / 371.2 MB, free: 71.39 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004909/0.2303, allocations: 5.626 MB / 376.8 MB, free: 66.5 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005936/0.2309, allocations: 0.956 MB / 377.8 MB, free: 65.99 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001536/0.2324, allocations: 1.303 MB / 379.1 MB, free: 65.23 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001981/0.2326, allocations: 182.9 kB / 379.3 MB, free: 65.07 MB / 330.7 MB Notification: Performance of SimCode: time 1.443e-06/0.2326, allocations: 0 / 379.3 MB, free: 65.07 MB / 330.7 MB Notification: Performance of Templates: time 0.02374/0.2564, allocations: 16.16 MB / 395.4 MB, free: 49.29 MB / 330.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 -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.48830169509165]