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.001876/0.001876, allocations: 92.62 kB / 20.96 MB, free: 3.473 MB / 18.57 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.002188/0.002188, allocations: 149.4 kB / 24.26 MB, free: 184 kB / 18.57 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 1.506/1.506, allocations: 173.4 MB / 200.8 MB, free: 9.312 MB / 186.7 MB " [Timeout remaining time 178] 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.553e-06/1.553e-06, allocations: 0 / 267.3 MB, free: 6.707 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.398e-05/2.553e-05, allocations: 2.312 kB / 267.3 MB, free: 6.703 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01103/0.01105, allocations: 7.994 MB / 275.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006032/0.01709, allocations: 2.55 MB / 277.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001331/0.01842, allocations: 55.75 kB / 277.9 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004618/0.02304, allocations: 1.884 MB / 279.8 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004035/0.02707, allocations: 1.423 MB / 281.3 MB, free: 8.734 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005957/0.02767, allocations: 231.6 kB / 281.5 MB, free: 8.508 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005299/0.03297, allocations: 3.372 MB / 284.9 MB, free: 5.129 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003313/0.03628, allocations: 2.132 MB / 287 MB, free: 2.945 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002683/0.03896, allocations: 1.531 MB / 288.5 MB, free: 1.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1391/0.1781, allocations: 1.816 MB / 290.3 MB, free: 18.17 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007339/0.1788, allocations: 187.9 kB / 290.5 MB, free: 18.17 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.18, allocations: 450.4 kB / 291 MB, free: 18.17 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001235/0.1812, allocations: 1.397 MB / 292.4 MB, free: 18.17 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00116/0.1824, allocations: 0.8228 MB / 293.2 MB, free: 18.17 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00605/0.1884, allocations: 4.737 MB / 297.9 MB, free: 17.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1884, allocations: 0 / 297.9 MB, free: 17.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1884, allocations: 3.938 kB / 297.9 MB, free: 17.72 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001655/0.1886, allocations: 3.312 kB / 297.9 MB, free: 17.72 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.006625/0.1952, allocations: 3.619 MB / 301.5 MB, free: 16.03 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.1953, allocations: 10.2 kB / 301.5 MB, free: 16.03 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005459/0.2007, allocations: 2.036 MB / 303.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00281/0.2035, allocations: 1.539 MB / 305.1 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.288e-05/0.2036, allocations: 152.4 kB / 305.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003225/0.2039, allocations: 198.2 kB / 305.5 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009835/0.2138, allocations: 6.989 MB / 312.5 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.24e-05/0.2138, allocations: 29.58 kB / 312.5 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002823/0.2141, allocations: 103.9 kB / 312.6 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001927/0.216, allocations: 1.56 MB / 314.1 MB, free: 9.855 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008819/0.2249, allocations: 5.488 MB / 319.6 MB, free: 4.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03651/0.2614, allocations: 25.39 MB / 345 MB, free: 10.6 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00316/0.2645, allocations: 1.176 MB / 346.2 MB, free: 9.379 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001156/0.2657, allocations: 465.8 kB / 346.7 MB, free: 8.902 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005091/0.2708, allocations: 2.05 MB / 348.7 MB, free: 6.848 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.022e-05/0.2708, allocations: 54.39 kB / 348.8 MB, free: 6.789 MB / 298.7 MB Notification: Performance of pre-optimization done (n=89): time 2.866e-06/0.2708, allocations: 0 / 348.8 MB, free: 6.789 MB / 298.7 MB Notification: Performance of matching and sorting (n=89): time 0.004801/0.2756, allocations: 1.836 MB / 350.6 MB, free: 4.965 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001804/0.2758, allocations: 221 kB / 350.8 MB, free: 4.703 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006847/0.2827, allocations: 3.535 MB / 354.3 MB, free: 1.156 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.326e-05/0.2827, allocations: 33.7 kB / 354.4 MB, free: 1.117 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002545/0.2853, allocations: 2.785 MB / 357.2 MB, free: 14.35 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004828/0.2858, allocations: 408.2 kB / 357.6 MB, free: 13.96 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001449/0.2872, allocations: 0.944 MB / 358.5 MB, free: 13 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.2874, allocations: 305.1 kB / 358.8 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002147/0.2895, allocations: 1.204 MB / 360 MB, free: 11.49 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005432/0.295, allocations: 4.531 MB / 364.5 MB, free: 5.32 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009083/0.304, allocations: 6.292 MB / 370.8 MB, free: 13.5 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001429/0.3042, allocations: 32 kB / 370.9 MB, free: 13.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01332/0.3175, allocations: 5.69 MB / 376.5 MB, free: 7.777 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.3176, allocations: 56 kB / 376.6 MB, free: 7.723 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002005/0.3178, allocations: 122.2 kB / 376.7 MB, free: 7.605 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001886/0.318, allocations: 155.9 kB / 376.9 MB, free: 7.453 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003614/0.3216, allocations: 1.096 MB / 378 MB, free: 6.355 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000222/0.3218, allocations: 227.1 kB / 378.2 MB, free: 6.133 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003986/0.3258, allocations: 0.6659 MB / 378.9 MB, free: 5.465 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005734/0.3264, allocations: 316 kB / 379.2 MB, free: 5.156 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.003393/0.3298, allocations: 1.716 MB / 380.9 MB, free: 3.43 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007109/0.3305, allocations: 308.9 kB / 381.2 MB, free: 3.129 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009906/0.3315, allocations: 477 kB / 381.6 MB, free: 2.656 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.342e-05/0.3315, allocations: 23.92 kB / 381.7 MB, free: 2.633 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.3316, allocations: 4 kB / 381.7 MB, free: 2.629 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.3316, allocations: 4 kB / 381.7 MB, free: 2.625 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005639/0.3372, allocations: 2.39 MB / 384.1 MB, free: 180 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.315e-05/0.3372, allocations: 7.938 kB / 384.1 MB, free: 172 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004835/0.3377, allocations: 107.8 kB / 384.2 MB, free: 64 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-05/0.3377, allocations: 8 kB / 384.2 MB, free: 56 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.417e-05/0.3378, allocations: 18.66 kB / 384.2 MB, free: 40 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.356e-06/0.3378, allocations: 4 kB / 384.2 MB, free: 36 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.3378, allocations: 4 kB / 384.2 MB, free: 32 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003055/0.3408, allocations: 2.222 MB / 386.4 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/0.3419, allocations: 333.8 kB / 386.8 MB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002756/0.3421, allocations: 16 kB / 386.8 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008984/0.343, allocations: 31.5 kB / 386.8 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/0.3432, allocations: 55.8 kB / 386.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000255/0.3434, allocations: 31.98 kB / 386.9 MB, free: 13.29 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004103/0.3476, allocations: 2.099 MB / 389 MB, free: 11.2 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3476, allocations: 4.062 kB / 389 MB, free: 11.2 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004424/0.352, allocations: 0.8441 MB / 389.8 MB, free: 10.36 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.000394/0.3524, allocations: 146.1 kB / 390 MB, free: 10.2 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004905/0.3573, allocations: 2.707 MB / 392.7 MB, free: 7.527 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.3573, allocations: 0 / 392.7 MB, free: 7.527 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006356/0.3579, allocations: 409.6 kB / 393.1 MB, free: 7.129 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002145/0.3601, allocations: 360.5 kB / 393.4 MB, free: 6.789 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01253/0.3726, allocations: 6.765 MB / 400.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003264/0.3759, allocations: 2.129 MB / 402.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.003622/0.3795, allocations: 1.457 MB / 403.8 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005003/0.38, allocations: 192.5 kB / 404 MB, free: 12.11 MB / 362.7 MB Notification: Performance of SimCode: time 2.004e-06/0.38, allocations: 0 / 404 MB, free: 12.11 MB / 362.7 MB Notification: Performance of Templates: time 0.04574/0.4257, allocations: 16.47 MB / 420.5 MB, free: 12.11 MB / 378.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.835453195031732]