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.0009135/0.0009135, allocations: 79.73 kB / 21.97 MB, free: 2.602 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.0009811/0.0009811, allocations: 171.8 kB / 25.33 MB, free: 9.051 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.8819/0.8819, allocations: 158.6 MB / 187.2 MB, free: 2.941 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 2.515e-06/2.515e-06, allocations: 0 / 251.1 MB, free: 7.602 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.742e-05/2.994e-05, allocations: 2.312 kB / 251.1 MB, free: 7.598 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.008365/0.008395, allocations: 8.827 MB / 259.9 MB, free: 14.73 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00432/0.01272, allocations: 2.613 MB / 262.5 MB, free: 12.11 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009318/0.01365, allocations: 55.75 kB / 262.5 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002322/0.01597, allocations: 1.95 MB / 264.5 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002345/0.01831, allocations: 1.419 MB / 265.9 MB, free: 8.668 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004562/0.01877, allocations: 235.5 kB / 266.1 MB, free: 8.438 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003053/0.02182, allocations: 3.379 MB / 269.5 MB, free: 5.055 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002319/0.02414, allocations: 2.129 MB / 271.7 MB, free: 2.871 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00275/0.02689, allocations: 1.793 MB / 273.4 MB, free: 1.074 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001779/0.02867, allocations: 1.586 MB / 275 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003603/0.02903, allocations: 187.9 kB / 275.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008636/0.02989, allocations: 443.4 kB / 275.7 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009121/0.03081, allocations: 1.398 MB / 277.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007901/0.0316, allocations: 0.8095 MB / 277.9 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003252/0.03485, allocations: 3.104 MB / 281 MB, free: 9.535 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.03485, allocations: 0 / 281 MB, free: 9.535 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.03486, allocations: 4 kB / 281 MB, free: 9.531 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001048/0.03496, allocations: 0 / 281 MB, free: 9.531 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.004475/0.03944, allocations: 3.967 MB / 284.9 MB, free: 5.504 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.03948, allocations: 11.98 kB / 284.9 MB, free: 5.492 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003596/0.04308, allocations: 1.972 MB / 286.9 MB, free: 3.516 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002182/0.04526, allocations: 1.669 MB / 288.6 MB, free: 1.793 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.47e-05/0.04534, allocations: 155.9 kB / 288.7 MB, free: 1.641 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002678/0.04561, allocations: 195.9 kB / 288.9 MB, free: 1.449 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005517/0.05113, allocations: 4.14 MB / 293.1 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.607e-05/0.05119, allocations: 31.7 kB / 293.1 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002217/0.05141, allocations: 107.8 kB / 293.2 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001409/0.05282, allocations: 1.559 MB / 294.8 MB, free: 10.88 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004203/0.05702, allocations: 1.935 MB / 296.7 MB, free: 8.926 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02238/0.0794, allocations: 31.74 MB / 328.4 MB, free: 8.082 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001761/0.08116, allocations: 0.7401 MB / 329.2 MB, free: 7.254 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002813/0.08144, allocations: 213.7 kB / 329.4 MB, free: 7.016 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002526/0.08397, allocations: 2.241 MB / 331.6 MB, free: 4.742 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.084, allocations: 57.22 kB / 331.7 MB, free: 4.676 MB / 314.7 MB Notification: Performance of pre-optimization done (n=89): time 3.016e-06/0.08401, allocations: 0 / 331.7 MB, free: 4.676 MB / 314.7 MB Notification: Performance of matching and sorting (n=89): time 0.00207/0.08608, allocations: 1.097 MB / 332.8 MB, free: 3.578 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.993e-05/0.08616, allocations: 217.6 kB / 333 MB, free: 3.316 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003158/0.08931, allocations: 3.248 MB / 336.2 MB, free: 56 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.493e-05/0.08938, allocations: 29.7 kB / 336.3 MB, free: 20 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001743/0.09112, allocations: 2.954 MB / 339.2 MB, free: 13.04 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003136/0.09144, allocations: 421.2 kB / 339.6 MB, free: 12.62 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007992/0.09224, allocations: 1.04 MB / 340.7 MB, free: 11.57 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.09235, allocations: 480.8 kB / 341.1 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006718/0.09302, allocations: 425.1 kB / 341.6 MB, free: 10.67 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00298/0.096, allocations: 5.353 MB / 346.9 MB, free: 2.992 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.118/0.214, allocations: 6.373 MB / 353.3 MB, free: 85.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001042/0.2141, allocations: 34.06 kB / 353.3 MB, free: 85.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=622) (initialization): time 0.006141/0.2203, allocations: 4.135 MB / 357.5 MB, free: 84.78 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.218e-05/0.2203, allocations: 58.25 kB / 357.5 MB, free: 84.78 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001741/0.2205, allocations: 120.6 kB / 357.6 MB, free: 84.78 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001386/0.2206, allocations: 154.2 kB / 357.8 MB, free: 84.78 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002266/0.2229, allocations: 1.089 MB / 358.9 MB, free: 84.67 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.62e-05/0.223, allocations: 230.7 kB / 359.1 MB, free: 84.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002093/0.2251, allocations: 0.6642 MB / 359.8 MB, free: 84.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000288/0.2254, allocations: 318.3 kB / 360.1 MB, free: 84.62 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.000975/0.2264, allocations: 0.5634 MB / 360.6 MB, free: 84.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000294/0.2267, allocations: 319.3 kB / 360.9 MB, free: 84.29 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004609/0.2271, allocations: 384.9 kB / 361.3 MB, free: 84.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.113e-05/0.2272, allocations: 26.28 kB / 361.3 MB, free: 84.2 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.2272, allocations: 7.625 kB / 361.4 MB, free: 84.2 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.2272, allocations: 3.141 kB / 361.4 MB, free: 84.2 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003216/0.2304, allocations: 2.752 MB / 364.1 MB, free: 83.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.812e-06/0.2304, allocations: 4.828 kB / 364.1 MB, free: 83.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002792/0.2307, allocations: 107.6 kB / 364.2 MB, free: 83.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.2307, allocations: 8 kB / 364.2 MB, free: 83.61 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.89e-05/0.2307, allocations: 16.03 kB / 364.2 MB, free: 83.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.2307, allocations: 9.797 kB / 364.3 MB, free: 83.59 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.2307, allocations: 11.73 kB / 364.3 MB, free: 83.58 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.2318, allocations: 1.736 MB / 366 MB, free: 81.94 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003416/0.2321, allocations: 328.7 kB / 366.3 MB, free: 81.66 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/0.2323, allocations: 15.19 kB / 366.3 MB, free: 81.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004281/0.2327, allocations: 30.88 kB / 366.4 MB, free: 81.64 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.581e-05/0.2328, allocations: 55.38 kB / 366.4 MB, free: 81.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.532e-05/0.2328, allocations: 27.62 kB / 366.4 MB, free: 81.59 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001284/0.2341, allocations: 1.429 MB / 367.9 MB, free: 80.72 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2341, allocations: 7.828 kB / 367.9 MB, free: 80.71 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002483/0.2366, allocations: 0.8403 MB / 368.7 MB, free: 79.95 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.0002962/0.2369, allocations: 142.6 kB / 368.9 MB, free: 79.82 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002299/0.2392, allocations: 1.945 MB / 370.8 MB, free: 78.36 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/0.2392, allocations: 0 / 370.8 MB, free: 78.36 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.2394, allocations: 218.4 kB / 371 MB, free: 78.2 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.2406, allocations: 368.3 kB / 371.4 MB, free: 78.04 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006442/0.247, allocations: 5.625 MB / 377 MB, free: 72.91 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000695/0.2477, allocations: 0.9501 MB / 378 MB, free: 72.23 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001708/0.2494, allocations: 1.304 MB / 379.3 MB, free: 71.04 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003617/0.2498, allocations: 192.5 kB / 379.4 MB, free: 70.86 MB / 330.7 MB Notification: Performance of SimCode: time 2.404e-06/0.2498, allocations: 0 / 379.4 MB, free: 70.86 MB / 330.7 MB Notification: Performance of Templates: time 0.02685/0.2767, allocations: 17.04 MB / 396.5 MB, free: 53.96 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.5042524342425168]