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.001257/0.001257, allocations: 91.61 kB / 22.18 MB, free: 2.371 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.0009859/0.0009859, allocations: 155.7 kB / 25.45 MB, free: 8.863 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.8683/0.8683, allocations: 158.6 MB / 187.2 MB, free: 3.047 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 1.403e-06/1.403e-06, allocations: 0 / 299.7 MB, free: 6.895 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.469e-05/2.609e-05, allocations: 2.281 kB / 299.7 MB, free: 6.891 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.006454/0.00648, allocations: 7.992 MB / 307.7 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004573/0.01105, allocations: 2.539 MB / 310.3 MB, free: 12.31 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00128/0.01233, allocations: 59.75 kB / 310.3 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002297/0.01463, allocations: 1.868 MB / 312.2 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002781/0.01741, allocations: 1.407 MB / 313.6 MB, free: 8.965 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004002/0.01781, allocations: 231.5 kB / 313.8 MB, free: 8.738 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003101/0.02091, allocations: 3.38 MB / 317.2 MB, free: 5.348 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002089/0.023, allocations: 2.057 MB / 319.2 MB, free: 3.242 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002369/0.02537, allocations: 1.547 MB / 320.8 MB, free: 1.691 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002043/0.02741, allocations: 1.808 MB / 322.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003496/0.02776, allocations: 191.9 kB / 322.8 MB, free: 15.69 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007331/0.0285, allocations: 455.2 kB / 323.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008571/0.02935, allocations: 1.402 MB / 324.6 MB, free: 13.84 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007404/0.03009, allocations: 0.8212 MB / 325.5 MB, free: 13.02 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004282/0.03437, allocations: 4.737 MB / 330.2 MB, free: 8.262 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.03438, allocations: 4 kB / 330.2 MB, free: 8.258 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.03438, allocations: 0 / 330.2 MB, free: 8.258 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001162/0.0345, allocations: 0 / 330.2 MB, free: 8.258 MB / 314.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.00497/0.03947, allocations: 3.615 MB / 333.8 MB, free: 4.59 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.03952, allocations: 11.98 kB / 333.8 MB, free: 4.578 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003052/0.04257, allocations: 1.695 MB / 335.5 MB, free: 2.879 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002027/0.0446, allocations: 1.525 MB / 337 MB, free: 1.309 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.142e-05/0.04468, allocations: 159.9 kB / 337.2 MB, free: 1.152 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002454/0.04492, allocations: 195.9 kB / 337.4 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007117/0.05204, allocations: 6.986 MB / 344.4 MB, free: 9.422 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.047e-05/0.05209, allocations: 27.75 kB / 344.4 MB, free: 9.395 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001767/0.05227, allocations: 99.88 kB / 344.5 MB, free: 9.297 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001289/0.05355, allocations: 1.562 MB / 346.1 MB, free: 7.734 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007042/0.0606, allocations: 5.489 MB / 351.6 MB, free: 2.234 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1642/0.2248, allocations: 25.32 MB / 376.9 MB, free: 36.92 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002078/0.2269, allocations: 1.176 MB / 378.1 MB, free: 36.49 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005261/0.2274, allocations: 469.2 kB / 378.5 MB, free: 36.31 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002851/0.2302, allocations: 2.042 MB / 380.6 MB, free: 35.15 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.2303, allocations: 48.44 kB / 380.6 MB, free: 35.1 MB / 330.7 MB Notification: Performance of pre-optimization done (n=89): time 3.126e-06/0.2303, allocations: 0 / 380.6 MB, free: 35.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=89): time 0.002336/0.2326, allocations: 1.819 MB / 382.4 MB, free: 34.55 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.2327, allocations: 217.1 kB / 382.6 MB, free: 34.3 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00297/0.2356, allocations: 3.54 MB / 386.2 MB, free: 32.64 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.84e-05/0.2357, allocations: 37.14 kB / 386.2 MB, free: 32.6 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008661/0.2365, allocations: 2.779 MB / 389 MB, free: 30.41 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002127/0.2368, allocations: 398.6 kB / 389.4 MB, free: 30.09 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006239/0.2374, allocations: 0.9472 MB / 390.3 MB, free: 29.53 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.32e-05/0.2374, allocations: 301.1 kB / 390.6 MB, free: 29.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/0.2384, allocations: 1.207 MB / 391.8 MB, free: 28.3 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001691/0.2401, allocations: 4.533 MB / 396.4 MB, free: 22.07 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003537/0.2437, allocations: 6.287 MB / 402.6 MB, free: 14.15 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.509e-05/0.2437, allocations: 36 kB / 402.7 MB, free: 14.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.005316/0.249, allocations: 5.431 MB / 408.1 MB, free: 8.684 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.607e-05/0.2491, allocations: 56 kB / 408.2 MB, free: 8.629 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001064/0.2492, allocations: 120.9 kB / 408.3 MB, free: 8.512 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-05/0.2493, allocations: 156 kB / 408.4 MB, free: 8.359 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001718/0.251, allocations: 1.088 MB / 409.5 MB, free: 7.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001354/0.2512, allocations: 231.1 kB / 409.7 MB, free: 7.043 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002492/0.2536, allocations: 0.6631 MB / 410.4 MB, free: 6.375 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002481/0.2539, allocations: 323.5 kB / 410.7 MB, free: 6.062 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.001799/0.2557, allocations: 1.708 MB / 412.4 MB, free: 4.336 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003097/0.256, allocations: 290 kB / 412.7 MB, free: 4.051 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005203/0.2565, allocations: 468.5 kB / 413.2 MB, free: 3.59 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-05/0.2566, allocations: 28.86 kB / 413.2 MB, free: 3.562 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/0.2566, allocations: 0 / 413.2 MB, free: 3.562 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.2566, allocations: 7.984 kB / 413.2 MB, free: 3.555 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003309/0.2599, allocations: 2.391 MB / 415.6 MB, free: 1.105 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.2599, allocations: 4 kB / 415.6 MB, free: 1.102 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002685/0.2602, allocations: 104.7 kB / 415.7 MB, free: 1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.026e-06/0.2602, allocations: 8.875 kB / 415.7 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.754e-05/0.2602, allocations: 16 kB / 415.7 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.2602, allocations: 7.938 kB / 415.7 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2602, allocations: 4 kB / 415.7 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001558/0.2618, allocations: 2.206 MB / 418 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005646/0.2623, allocations: 333.8 kB / 418.3 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/0.2625, allocations: 23.88 kB / 418.3 MB, free: 14.35 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004822/0.263, allocations: 43.33 kB / 418.3 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.057e-05/0.2631, allocations: 47.81 kB / 418.4 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.697e-05/0.2631, allocations: 35.5 kB / 418.4 MB, free: 14.23 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002645/0.2657, allocations: 2.099 MB / 420.5 MB, free: 12.14 MB / 346.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2657, allocations: 4.062 kB / 420.5 MB, free: 12.14 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002641/0.2684, allocations: 0.8376 MB / 421.4 MB, free: 11.3 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.0003227/0.2687, allocations: 146.4 kB / 421.5 MB, free: 11.15 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003329/0.272, allocations: 2.71 MB / 424.2 MB, free: 8.469 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.272, allocations: 0 / 424.2 MB, free: 8.469 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003939/0.2724, allocations: 397.1 kB / 424.6 MB, free: 8.082 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/0.2739, allocations: 350.7 kB / 424.9 MB, free: 7.746 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009602/0.2835, allocations: 7.027 MB / 432 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002147/0.2856, allocations: 2.137 MB / 434.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004692/0.2861, allocations: 224.5 kB / 434.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of SimCode: time 1.613e-06/0.2861, allocations: 0 / 434.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of Templates: time 0.0536/0.3397, allocations: 44.22 MB / 478.6 MB, free: 1.965 MB / 394.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 7.6794402888044715]