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.002472/0.002472, allocations: 99.53 kB / 21.73 MB, free: 2.691 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.002863/0.002863, allocations: 164.5 kB / 25.03 MB, free: 8.41 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 1.398/1.398, allocations: 158.6 MB / 186.8 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 178] 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.643e-06/1.643e-06, allocations: 0 / 250.4 MB, free: 7.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.585e-05, allocations: 2.312 kB / 250.4 MB, free: 7.816 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01263/0.01266, allocations: 8.761 MB / 259.1 MB, free: 15.01 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006131/0.01879, allocations: 2.598 MB / 261.7 MB, free: 12.41 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001051/0.01984, allocations: 59.75 kB / 261.8 MB, free: 12.35 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0045/0.02434, allocations: 1.947 MB / 263.7 MB, free: 10.39 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004499/0.02884, allocations: 1.411 MB / 265.2 MB, free: 8.977 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007035/0.02954, allocations: 239.5 kB / 265.4 MB, free: 8.742 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005176/0.03472, allocations: 3.379 MB / 268.8 MB, free: 5.359 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003423/0.03814, allocations: 2.136 MB / 270.9 MB, free: 3.168 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003276/0.04142, allocations: 1.535 MB / 272.4 MB, free: 1.629 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003332/0.04475, allocations: 1.835 MB / 274.3 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005205/0.04527, allocations: 188 kB / 274.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001103/0.04638, allocations: 447.4 kB / 274.9 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001607/0.04798, allocations: 1.414 MB / 276.3 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001262/0.04924, allocations: 0.8212 MB / 277.1 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00626/0.0555, allocations: 4.741 MB / 281.9 MB, free: 8.168 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.05551, allocations: 0 / 281.9 MB, free: 8.168 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.05551, allocations: 0 / 281.9 MB, free: 8.168 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001133/0.05562, allocations: 0 / 281.9 MB, free: 8.168 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.008105/0.06373, allocations: 4.299 MB / 286.2 MB, free: 3.809 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.06377, allocations: 15.98 kB / 286.2 MB, free: 3.793 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006064/0.06984, allocations: 1.98 MB / 288.2 MB, free: 1.809 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003682/0.07352, allocations: 1.48 MB / 289.6 MB, free: 292 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001463/0.07366, allocations: 155.9 kB / 289.8 MB, free: 136 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004271/0.07409, allocations: 195.9 kB / 290 MB, free: 15.94 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008422/0.08251, allocations: 4.444 MB / 294.4 MB, free: 10.76 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.778e-05/0.08259, allocations: 31.7 kB / 294.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002709/0.08286, allocations: 99.88 kB / 294.6 MB, free: 10.63 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002578/0.08544, allocations: 1.559 MB / 296.1 MB, free: 9.07 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006487/0.09193, allocations: 2.155 MB / 298.3 MB, free: 6.906 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04161/0.1335, allocations: 34.19 MB / 332.5 MB, free: 3.602 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002361/0.1359, allocations: 0.7831 MB / 333.3 MB, free: 2.73 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004715/0.1364, allocations: 229.7 kB / 333.5 MB, free: 2.477 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004298/0.1407, allocations: 2.272 MB / 335.7 MB, free: 176 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.524e-05/0.1407, allocations: 61.27 kB / 335.8 MB, free: 104 kB / 314.7 MB Notification: Performance of pre-optimization done (n=89): time 2.995e-06/0.1407, allocations: 4 kB / 335.8 MB, free: 100 kB / 314.7 MB Notification: Performance of matching and sorting (n=89): time 0.003516/0.1442, allocations: 1.136 MB / 336.9 MB, free: 14.96 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001569/0.1444, allocations: 213.6 kB / 337.2 MB, free: 14.7 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005829/0.1502, allocations: 4.04 MB / 341.2 MB, free: 10.64 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.271e-05/0.1503, allocations: 37.7 kB / 341.2 MB, free: 10.6 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00324/0.1535, allocations: 3.13 MB / 344.4 MB, free: 7.445 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005206/0.1541, allocations: 437.2 kB / 344.8 MB, free: 7.016 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001677/0.1557, allocations: 1.204 MB / 346 MB, free: 5.797 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002472/0.156, allocations: 476.9 kB / 346.5 MB, free: 5.328 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/0.1571, allocations: 469.1 kB / 346.9 MB, free: 4.863 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1344/0.2915, allocations: 5.524 MB / 352.4 MB, free: 90.71 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004829/0.2963, allocations: 6.588 MB / 359 MB, free: 83.76 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.525e-05/0.2964, allocations: 36.56 kB / 359.1 MB, free: 83.76 MB / 330.7 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.006361/0.3027, allocations: 4.195 MB / 363.3 MB, free: 82.87 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.285e-05/0.3028, allocations: 60.88 kB / 363.3 MB, free: 82.87 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001078/0.3029, allocations: 119.2 kB / 363.4 MB, free: 82.87 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001213/0.303, allocations: 161.5 kB / 363.6 MB, free: 82.87 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002572/0.3056, allocations: 1.083 MB / 364.7 MB, free: 82.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001288/0.3057, allocations: 233.6 kB / 364.9 MB, free: 82.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002949/0.3087, allocations: 0.6641 MB / 365.6 MB, free: 82.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000303/0.309, allocations: 317 kB / 365.9 MB, free: 82.71 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.001242/0.3102, allocations: 0.6441 MB / 366.5 MB, free: 82.44 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004399/0.3107, allocations: 310.9 kB / 366.8 MB, free: 82.36 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006545/0.3113, allocations: 398.9 kB / 367.2 MB, free: 82.29 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.824e-05/0.3114, allocations: 17.81 kB / 367.2 MB, free: 82.29 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.3114, allocations: 2.312 kB / 367.2 MB, free: 82.29 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.3114, allocations: 5.828 kB / 367.2 MB, free: 82.29 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005105/0.3165, allocations: 3.434 MB / 370.7 MB, free: 80.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.3165, allocations: 7.938 kB / 370.7 MB, free: 80.49 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004256/0.3169, allocations: 106.6 kB / 370.8 MB, free: 80.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.377e-06/0.3169, allocations: 8.625 kB / 370.8 MB, free: 80.4 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.918e-05/0.317, allocations: 15.56 kB / 370.8 MB, free: 80.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.317, allocations: 8 kB / 370.8 MB, free: 80.38 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.317, allocations: 7.938 kB / 370.8 MB, free: 80.38 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/0.3183, allocations: 1.809 MB / 372.6 MB, free: 78.6 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005782/0.3189, allocations: 329.4 kB / 373 MB, free: 78.31 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002043/0.3191, allocations: 21.92 kB / 373 MB, free: 78.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007408/0.3198, allocations: 34.3 kB / 373 MB, free: 78.27 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.3199, allocations: 49.92 kB / 373.1 MB, free: 78.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.627e-05/0.3199, allocations: 35.45 kB / 373.1 MB, free: 78.21 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001919/0.3219, allocations: 1.704 MB / 374.8 MB, free: 76.77 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3219, allocations: 0 / 374.8 MB, free: 76.77 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003456/0.3253, allocations: 0.8444 MB / 375.6 MB, free: 76 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.0002801/0.3256, allocations: 145 kB / 375.8 MB, free: 75.86 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003353/0.329, allocations: 2.166 MB / 378 MB, free: 73.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.329, allocations: 0 / 378 MB, free: 73.93 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003425/0.3293, allocations: 253.4 kB / 378.2 MB, free: 73.71 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/0.3312, allocations: 349 kB / 378.5 MB, free: 73.42 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007599/0.3388, allocations: 5.707 MB / 384.2 MB, free: 67.73 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001729/0.3405, allocations: 1.922 MB / 386.2 MB, free: 65.79 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002467/0.343, allocations: 1.293 MB / 387.5 MB, free: 64.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003244/0.3433, allocations: 200.5 kB / 387.7 MB, free: 64.29 MB / 330.7 MB Notification: Performance of SimCode: time 1.823e-06/0.3433, allocations: 0 / 387.7 MB, free: 64.29 MB / 330.7 MB Notification: Performance of Templates: time 0.03529/0.3786, allocations: 16.12 MB / 403.8 MB, free: 48.27 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","/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: 5.7825115049490705]