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.0009517/0.0009517, allocations: 85.95 kB / 22.21 MB, free: 2.289 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.001033/0.001033, allocations: 161.2 kB / 25.6 MB, free: 8.895 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.9376/0.9376, allocations: 158.6 MB / 187.5 MB, free: 2.812 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.573e-06/1.573e-06, allocations: 0 / 251.5 MB, free: 7.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.101e-05/2.258e-05, allocations: 6.312 kB / 251.5 MB, free: 7.23 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.007366/0.007388, allocations: 8.546 MB / 260 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004543/0.01193, allocations: 2.59 MB / 262.6 MB, free: 12.04 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/0.01309, allocations: 55.81 kB / 262.7 MB, free: 11.99 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0025/0.01559, allocations: 1.927 MB / 264.6 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002875/0.01847, allocations: 1.415 MB / 266 MB, free: 8.633 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004717/0.01894, allocations: 247.4 kB / 266.3 MB, free: 8.391 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003439/0.02238, allocations: 3.387 MB / 269.6 MB, free: 5 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002555/0.02494, allocations: 2.121 MB / 271.8 MB, free: 2.824 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002723/0.02766, allocations: 1.797 MB / 273.6 MB, free: 1.023 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002012/0.02967, allocations: 1.578 MB / 275.1 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005226/0.03019, allocations: 180 kB / 275.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007584/0.03095, allocations: 439.5 kB / 275.8 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001007/0.03196, allocations: 1.402 MB / 277.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001093/0.03305, allocations: 0.8133 MB / 278 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002983/0.03603, allocations: 3.085 MB / 281.1 MB, free: 9.516 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.03604, allocations: 0 / 281.1 MB, free: 9.516 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.03604, allocations: 0 / 281.1 MB, free: 9.516 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001258/0.03617, allocations: 0 / 281.1 MB, free: 9.516 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.004537/0.0407, allocations: 3.974 MB / 285 MB, free: 5.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.04075, allocations: 11.98 kB / 285 MB, free: 5.469 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002292/0.04304, allocations: 1.087 MB / 286.1 MB, free: 4.379 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001794/0.04483, allocations: 1.555 MB / 287.7 MB, free: 2.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.102e-05/0.04491, allocations: 167.8 kB / 287.8 MB, free: 2.605 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002136/0.04513, allocations: 199.9 kB / 288 MB, free: 2.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003995/0.04912, allocations: 3.881 MB / 291.9 MB, free: 13.79 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.362e-05/0.04917, allocations: 27.75 kB / 291.9 MB, free: 13.76 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001758/0.04935, allocations: 103.9 kB / 292 MB, free: 13.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001185/0.05053, allocations: 1.407 MB / 293.5 MB, free: 12.25 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00282/0.05336, allocations: 1.591 MB / 295 MB, free: 10.65 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02008/0.07344, allocations: 31.7 MB / 326.7 MB, free: 9.848 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001305/0.07474, allocations: 0.701 MB / 327.4 MB, free: 9.059 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002079/0.07495, allocations: 189.7 kB / 327.6 MB, free: 8.844 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002299/0.07725, allocations: 2.174 MB / 329.8 MB, free: 6.637 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.07728, allocations: 57.27 kB / 329.9 MB, free: 6.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=89): time 3.006e-06/0.07729, allocations: 0 / 329.9 MB, free: 6.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=89): time 0.00181/0.0791, allocations: 1.043 MB / 330.9 MB, free: 5.527 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.839e-05/0.07916, allocations: 217.8 kB / 331.1 MB, free: 5.266 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002789/0.08195, allocations: 3.242 MB / 334.4 MB, free: 2.008 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.037e-05/0.08199, allocations: 29.7 kB / 334.4 MB, free: 1.973 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001493/0.08349, allocations: 2.973 MB / 337.4 MB, free: 14.97 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002659/0.08375, allocations: 421.1 kB / 337.8 MB, free: 14.56 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007868/0.08454, allocations: 1.06 MB / 338.8 MB, free: 13.48 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.08464, allocations: 484.7 kB / 339.3 MB, free: 13 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003747/0.08501, allocations: 333.1 kB / 339.6 MB, free: 12.67 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002477/0.08749, allocations: 5.301 MB / 344.9 MB, free: 5.043 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1204/0.2079, allocations: 6.295 MB / 351.2 MB, free: 87.39 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001043/0.208, allocations: 36.28 kB / 351.3 MB, free: 87.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=622) (initialization): time 0.004491/0.2125, allocations: 3.879 MB / 355.1 MB, free: 86.62 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.836e-05/0.2126, allocations: 59.8 kB / 355.2 MB, free: 86.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.887e-05/0.2127, allocations: 126.5 kB / 355.3 MB, free: 86.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001087/0.2128, allocations: 151.4 kB / 355.5 MB, free: 86.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00149/0.2143, allocations: 1.08 MB / 356.5 MB, free: 86.51 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-05/0.2143, allocations: 230.6 kB / 356.8 MB, free: 86.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001773/0.2161, allocations: 0.6468 MB / 357.4 MB, free: 86.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002005/0.2163, allocations: 284.8 kB / 357.7 MB, free: 86.45 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.0007844/0.2171, allocations: 0.5651 MB / 358.3 MB, free: 86.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002796/0.2174, allocations: 309.1 kB / 358.6 MB, free: 86.15 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004114/0.2178, allocations: 382.1 kB / 358.9 MB, free: 86.08 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.143e-05/0.2178, allocations: 30.05 kB / 359 MB, free: 86.07 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.84e-06/0.2178, allocations: 0 / 359 MB, free: 86.07 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.485e-06/0.2179, allocations: 7.453 kB / 359 MB, free: 86.07 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002388/0.2202, allocations: 1.949 MB / 360.9 MB, free: 85.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/0.2202, allocations: 8.5 kB / 360.9 MB, free: 85.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002465/0.2205, allocations: 88.36 kB / 361 MB, free: 85.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.2205, allocations: 3.938 kB / 361 MB, free: 85.62 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.486e-05/0.2205, allocations: 23.69 kB / 361 MB, free: 85.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.2205, allocations: 14.28 kB / 361.1 MB, free: 85.61 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.2205, allocations: 4.25 kB / 361.1 MB, free: 85.61 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008494/0.2214, allocations: 1.68 MB / 362.7 MB, free: 84.4 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002835/0.2217, allocations: 314.8 kB / 363.1 MB, free: 84.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.2218, allocations: 13.98 kB / 363.1 MB, free: 84.17 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004228/0.2222, allocations: 20.31 kB / 363.1 MB, free: 84.16 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.191e-05/0.2223, allocations: 52.2 kB / 363.1 MB, free: 84.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.097e-05/0.2223, allocations: 25.98 kB / 363.2 MB, free: 84.12 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009036/0.2232, allocations: 1.332 MB / 364.5 MB, free: 83.31 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2232, allocations: 0 / 364.5 MB, free: 83.31 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002219/0.2254, allocations: 0.8493 MB / 365.3 MB, free: 82.62 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.0002159/0.2256, allocations: 138.7 kB / 365.5 MB, free: 82.49 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001641/0.2273, allocations: 1.864 MB / 367.3 MB, free: 81.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2273, allocations: 0 / 367.3 MB, free: 81.09 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.2274, allocations: 193.2 kB / 367.5 MB, free: 80.94 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.2285, allocations: 360.6 kB / 367.9 MB, free: 80.78 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006307/0.2349, allocations: 5.649 MB / 373.5 MB, free: 75.86 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008118/0.2357, allocations: 0.9519 MB / 374.5 MB, free: 75.32 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009514/0.2366, allocations: 437.1 kB / 374.9 MB, free: 74.92 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004758/0.2371, allocations: 0.4951 MB / 375.4 MB, free: 74.42 MB / 330.7 MB Notification: Performance of SimCode: time 1.583e-06/0.2371, allocations: 0 / 375.4 MB, free: 74.42 MB / 330.7 MB Notification: Performance of Templates: time 0.02947/0.2666, allocations: 18.43 MB / 393.8 MB, free: 56.13 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.4574663820676506]