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.001328/0.001328, allocations: 92.47 kB / 20.95 MB, free: 472 kB / 14.72 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.001315/0.001315, allocations: 149.8 kB / 24.24 MB, free: 3.516 MB / 14.72 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.429/1.429, allocations: 173.3 MB / 200.8 MB, free: 12.74 MB / 190.1 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.363e-06/1.363e-06, allocations: 0 / 267.3 MB, free: 10.18 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.738e-05/2.874e-05, allocations: 9.266 kB / 267.3 MB, free: 10.18 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01133/0.01136, allocations: 7.99 MB / 275.3 MB, free: 2.145 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.006173/0.01753, allocations: 2.542 MB / 277.9 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001128/0.01866, allocations: 55.75 kB / 277.9 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004305/0.02297, allocations: 1.888 MB / 279.8 MB, free: 13.64 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004414/0.02738, allocations: 1.419 MB / 281.2 MB, free: 12.22 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007198/0.0281, allocations: 231.6 kB / 281.5 MB, free: 11.99 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004787/0.03289, allocations: 3.368 MB / 284.8 MB, free: 8.617 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002939/0.03583, allocations: 2.125 MB / 287 MB, free: 6.441 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003384/0.03921, allocations: 1.535 MB / 288.5 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00406/0.04327, allocations: 1.816 MB / 290.3 MB, free: 3.082 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006907/0.04396, allocations: 188 kB / 290.5 MB, free: 2.898 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/0.04512, allocations: 451.3 kB / 290.9 MB, free: 2.457 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001727/0.04685, allocations: 1.414 MB / 292.3 MB, free: 1.039 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00128/0.04813, allocations: 0.8172 MB / 293.2 MB, free: 224 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007237/0.05537, allocations: 4.733 MB / 297.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.337e-06/0.05538, allocations: 0 / 297.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.05538, allocations: 0 / 297.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.000219/0.0556, allocations: 0 / 297.9 MB, free: 11.47 MB / 286.1 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.007359/0.06296, allocations: 3.623 MB / 301.5 MB, free: 7.793 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.06301, allocations: 12.92 kB / 301.5 MB, free: 7.781 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005925/0.06893, allocations: 2.038 MB / 303.6 MB, free: 5.738 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003346/0.07228, allocations: 1.536 MB / 305.1 MB, free: 4.164 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/0.07242, allocations: 163.9 kB / 305.3 MB, free: 4.004 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004306/0.07285, allocations: 191.9 kB / 305.4 MB, free: 3.816 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1237/0.1965, allocations: 6.988 MB / 312.4 MB, free: 45.1 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.691e-05/0.1966, allocations: 31.22 kB / 312.5 MB, free: 45.08 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002627/0.1968, allocations: 95.22 kB / 312.6 MB, free: 45.04 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002246/0.1991, allocations: 1.56 MB / 314.1 MB, free: 44.77 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009613/0.2087, allocations: 5.488 MB / 319.6 MB, free: 43.04 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02158/0.2303, allocations: 25.39 MB / 345 MB, free: 20.05 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002237/0.2325, allocations: 1.17 MB / 346.2 MB, free: 18.82 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005133/0.233, allocations: 473.8 kB / 346.6 MB, free: 18.34 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00286/0.2359, allocations: 2.045 MB / 348.7 MB, free: 16.36 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.2359, allocations: 42.5 kB / 348.7 MB, free: 16.31 MB / 286.1 MB Notification: Performance of pre-optimization done (n=89): time 2.825e-06/0.2359, allocations: 0 / 348.7 MB, free: 16.31 MB / 286.1 MB Notification: Performance of matching and sorting (n=89): time 0.003352/0.2393, allocations: 1.842 MB / 350.6 MB, free: 14.47 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.2393, allocations: 217.7 kB / 350.8 MB, free: 14.21 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00329/0.2426, allocations: 3.54 MB / 354.3 MB, free: 10.8 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.697e-05/0.2427, allocations: 37.7 kB / 354.4 MB, free: 10.76 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00104/0.2437, allocations: 2.776 MB / 357.1 MB, free: 8.082 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002272/0.2439, allocations: 400.5 kB / 357.5 MB, free: 7.695 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008592/0.2448, allocations: 0.9524 MB / 358.5 MB, free: 6.734 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.816e-05/0.2448, allocations: 301.1 kB / 358.8 MB, free: 6.438 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001327/0.2462, allocations: 1.207 MB / 360 MB, free: 5.227 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002895/0.2491, allocations: 4.527 MB / 364.5 MB, free: 15 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008502/0.2576, allocations: 6.291 MB / 370.8 MB, free: 7.082 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001126/0.2577, allocations: 32 kB / 370.8 MB, free: 7.051 MB / 302.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01078/0.2684, allocations: 5.705 MB / 376.5 MB, free: 1.344 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.45e-05/0.2685, allocations: 59.98 kB / 376.6 MB, free: 1.285 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001501/0.2687, allocations: 120 kB / 376.7 MB, free: 1.168 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001666/0.2688, allocations: 152 kB / 376.9 MB, free: 1.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003319/0.2722, allocations: 1.088 MB / 377.9 MB, free: 15.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002102/0.2724, allocations: 227 kB / 378.2 MB, free: 15.71 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003375/0.2757, allocations: 0.6741 MB / 378.8 MB, free: 15.04 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004356/0.2762, allocations: 320.7 kB / 379.2 MB, free: 14.72 MB / 318.1 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.002762/0.2789, allocations: 1.708 MB / 380.9 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005735/0.2795, allocations: 314 kB / 381.2 MB, free: 12.69 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009499/0.2805, allocations: 479.6 kB / 381.6 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.622e-05/0.2805, allocations: 23.75 kB / 381.7 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.2805, allocations: 4 kB / 381.7 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.2805, allocations: 3.984 kB / 381.7 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005139/0.2857, allocations: 2.384 MB / 384 MB, free: 9.742 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/0.2857, allocations: 4 kB / 384.1 MB, free: 9.738 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005144/0.2862, allocations: 107.8 kB / 384.2 MB, free: 9.633 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.385e-05/0.2862, allocations: 8 kB / 384.2 MB, free: 9.625 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.002e-05/0.2863, allocations: 23.66 kB / 384.2 MB, free: 9.605 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.086e-05/0.2863, allocations: 7.938 kB / 384.2 MB, free: 9.598 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-06/0.2863, allocations: 7.938 kB / 384.2 MB, free: 9.59 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003036/0.2893, allocations: 2.207 MB / 386.4 MB, free: 7.324 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007753/0.2901, allocations: 337.9 kB / 386.7 MB, free: 6.992 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002295/0.2903, allocations: 19.95 kB / 386.8 MB, free: 6.973 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009705/0.2913, allocations: 34.47 kB / 386.8 MB, free: 6.941 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.2914, allocations: 51.8 kB / 386.8 MB, free: 6.891 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.503e-05/0.2915, allocations: 28 kB / 386.9 MB, free: 6.863 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.003606/0.2951, allocations: 2.102 MB / 389 MB, free: 4.77 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2951, allocations: 0 / 389 MB, free: 4.77 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00462/0.2997, allocations: 0.8473 MB / 389.8 MB, free: 3.922 MB / 318.1 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.0003879/0.3001, allocations: 145 kB / 390 MB, free: 3.773 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.005212/0.3053, allocations: 2.711 MB / 392.7 MB, free: 1.094 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.3053, allocations: 0 / 392.7 MB, free: 1.094 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006432/0.306, allocations: 409.6 kB / 393.1 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002093/0.3081, allocations: 362.3 kB / 393.4 MB, free: 364 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/0.3196, allocations: 6.773 MB / 400.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002901/0.3225, allocations: 2.134 MB / 402.3 MB, free: 7.32 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.00335/0.3258, allocations: 1.461 MB / 403.8 MB, free: 5.852 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003935/0.3262, allocations: 188.5 kB / 404 MB, free: 5.668 MB / 334.1 MB Notification: Performance of SimCode: time 1.452e-06/0.3262, allocations: 0 / 404 MB, free: 5.668 MB / 334.1 MB Notification: Performance of Templates: time 0.04536/0.3716, allocations: 16.46 MB / 420.4 MB, free: 5.652 MB / 350.1 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.467151615768671]