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.001088/0.001088, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001019/0.001019, allocations: 169.5 kB / 24.82 MB, free: 9.262 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.9478/0.9478, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.743e-06/1.743e-06, allocations: 0 / 273.4 MB, free: 1.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.393e-05/2.567e-05, allocations: 2.312 kB / 273.4 MB, free: 1.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01084/0.01087, allocations: 8.506 MB / 281.9 MB, free: 8.746 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006916/0.01778, allocations: 2.651 MB / 284.6 MB, free: 6.086 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001776/0.01956, allocations: 59.75 kB / 284.6 MB, free: 6.027 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003532/0.02309, allocations: 1.935 MB / 286.6 MB, free: 4.086 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003974/0.02706, allocations: 1.411 MB / 288 MB, free: 2.668 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007582/0.02782, allocations: 243.5 kB / 288.2 MB, free: 2.43 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1254/0.1532, allocations: 3.423 MB / 291.6 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002521/0.1557, allocations: 2.11 MB / 293.7 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002945/0.1587, allocations: 1.789 MB / 295.5 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002298/0.161, allocations: 1.565 MB / 297.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005611/0.1615, allocations: 183.5 kB / 297.3 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008691/0.1624, allocations: 454.3 kB / 297.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009472/0.1633, allocations: 1.386 MB / 299.1 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000906/0.1642, allocations: 0.8026 MB / 299.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002724/0.167, allocations: 3.069 MB / 303 MB, free: 13.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.167, allocations: 0 / 303 MB, free: 13.44 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.167, allocations: 0 / 303 MB, free: 13.44 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001394/0.1671, allocations: 0 / 303 MB, free: 13.44 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.004047/0.1712, allocations: 3.96 MB / 306.9 MB, free: 11.17 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.462e-05/0.1712, allocations: 9.938 kB / 307 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004955/0.1761, allocations: 1.14 MB / 308.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002271/0.1784, allocations: 1.547 MB / 309.6 MB, free: 9.984 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-05/0.1785, allocations: 154.2 kB / 309.8 MB, free: 9.941 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000291/0.1788, allocations: 200.6 kB / 310 MB, free: 9.898 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004203/0.183, allocations: 3.888 MB / 313.9 MB, free: 7.059 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.588e-05/0.183, allocations: 26.25 kB / 313.9 MB, free: 7.047 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002301/0.1833, allocations: 103.4 kB / 314 MB, free: 6.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001467/0.1847, allocations: 1.413 MB / 315.4 MB, free: 5.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003873/0.1886, allocations: 1.602 MB / 317 MB, free: 4.145 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02334/0.212, allocations: 31.68 MB / 348.7 MB, free: 4.383 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/0.2132, allocations: 0.6974 MB / 349.4 MB, free: 3.625 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/0.2134, allocations: 194.2 kB / 349.6 MB, free: 3.414 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00237/0.2158, allocations: 2.183 MB / 351.8 MB, free: 1.223 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.2158, allocations: 46.23 kB / 351.8 MB, free: 1.172 MB / 298.7 MB Notification: Performance of pre-optimization done (n=89): time 4.409e-06/0.2158, allocations: 0 / 351.8 MB, free: 1.172 MB / 298.7 MB Notification: Performance of matching and sorting (n=89): time 0.001775/0.2176, allocations: 1.047 MB / 352.9 MB, free: 144 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003322/0.2179, allocations: 220.7 kB / 353.1 MB, free: 15.88 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002627/0.2206, allocations: 3.226 MB / 356.3 MB, free: 13.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.947e-05/0.2206, allocations: 37.7 kB / 356.3 MB, free: 13.12 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001383/0.222, allocations: 2.965 MB / 359.3 MB, free: 10.2 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002723/0.2223, allocations: 425.1 kB / 359.7 MB, free: 9.781 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008139/0.2231, allocations: 1.063 MB / 360.8 MB, free: 8.703 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000288/0.2234, allocations: 480.9 kB / 361.3 MB, free: 8.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004119/0.2238, allocations: 333.1 kB / 361.6 MB, free: 7.898 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002708/0.2265, allocations: 5.299 MB / 366.9 MB, free: 340 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005032/0.2315, allocations: 6.307 MB / 373.2 MB, free: 7.871 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.713e-05/0.2316, allocations: 36 kB / 373.2 MB, free: 7.836 MB / 330.7 MB Notification: Performance of matching and sorting (n=622) (initialization): time 0.005347/0.2369, allocations: 3.875 MB / 377.1 MB, free: 3.961 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.39e-05/0.237, allocations: 56 kB / 377.1 MB, free: 3.906 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001181/0.2371, allocations: 124 kB / 377.3 MB, free: 3.785 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001283/0.2372, allocations: 156.7 kB / 377.4 MB, free: 3.633 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002478/0.2397, allocations: 1.076 MB / 378.5 MB, free: 2.555 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001616/0.2399, allocations: 235.1 kB / 378.7 MB, free: 2.324 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002479/0.2424, allocations: 0.6515 MB / 379.4 MB, free: 1.668 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003011/0.2427, allocations: 280 kB / 379.7 MB, free: 1.395 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.00109/0.2437, allocations: 0.5745 MB / 380.2 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003841/0.2441, allocations: 309 kB / 380.5 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000546/0.2447, allocations: 384.2 kB / 380.9 MB, free: 120 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-05/0.2447, allocations: 23.94 kB / 380.9 MB, free: 96 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.2447, allocations: 4 kB / 380.9 MB, free: 92 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.465e-06/0.2447, allocations: 3.984 kB / 380.9 MB, free: 88 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006273/0.251, allocations: 1.945 MB / 382.9 MB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.251, allocations: 4 kB / 382.9 MB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003023/0.2513, allocations: 91.84 kB / 383 MB, free: 13.97 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.866e-06/0.2513, allocations: 11.98 kB / 383 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.135e-05/0.2514, allocations: 12 kB / 383 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.541e-06/0.2514, allocations: 4 kB / 383 MB, free: 13.94 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.76e-06/0.2514, allocations: 7.938 kB / 383 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.2526, allocations: 1.697 MB / 384.7 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003453/0.256, allocations: 309.8 kB / 385 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/0.2562, allocations: 12 kB / 385 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005794/0.2567, allocations: 23.97 kB / 385 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.612e-05/0.2568, allocations: 55.81 kB / 385.1 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.203e-05/0.2569, allocations: 23.98 kB / 385.1 MB, free: 11.76 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001609/0.2585, allocations: 1.333 MB / 386.5 MB, free: 10.43 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2585, allocations: 0 / 386.5 MB, free: 10.43 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00637/0.2649, allocations: 0.8336 MB / 387.3 MB, free: 9.598 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.0002737/0.2651, allocations: 143 kB / 387.4 MB, free: 9.449 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.008765/0.2739, allocations: 1.856 MB / 389.3 MB, free: 7.598 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.2739, allocations: 4.188 kB / 389.3 MB, free: 7.594 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002646/0.2742, allocations: 197.2 kB / 389.5 MB, free: 7.398 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004864/0.279, allocations: 355.8 kB / 389.8 MB, free: 7.059 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01777/0.2968, allocations: 5.645 MB / 395.5 MB, free: 1.297 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009927/0.2978, allocations: 0.951 MB / 396.4 MB, free: 340 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.005272/0.3031, allocations: 434.2 kB / 396.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000673/0.3037, allocations: 0.4902 MB / 397.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of SimCode: time 1.232e-06/0.3037, allocations: 0 / 397.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of Templates: time 0.03385/0.3376, allocations: 18.48 MB / 415.8 MB, free: 13.19 MB / 378.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.3764421646483243]