Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001427/0.001427, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001663/0.001663, allocations: 165 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.945/0.945, allocations: 177.2 MB / 205 MB, free: 5.297 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 273 MB, free: 1.379 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.979e-05/2.108e-05, allocations: 2.312 kB / 273 MB, free: 1.375 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.007106/0.007127, allocations: 8.791 MB / 281.8 MB, free: 8.551 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004222/0.01135, allocations: 2.663 MB / 284.5 MB, free: 5.879 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006284/0.01198, allocations: 63.69 kB / 284.5 MB, free: 5.816 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002071/0.01405, allocations: 1.966 MB / 286.5 MB, free: 3.844 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002048/0.0161, allocations: 1.407 MB / 287.9 MB, free: 2.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003966/0.01649, allocations: 247.4 kB / 288.1 MB, free: 2.188 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1175/0.134, allocations: 3.424 MB / 291.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003539/0.1376, allocations: 2.11 MB / 293.7 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00333/0.1409, allocations: 1.783 MB / 295.4 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002465/0.1434, allocations: 1.579 MB / 297 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000731/0.1441, allocations: 184.3 kB / 297.2 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001021/0.1451, allocations: 455.6 kB / 297.7 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001086/0.1462, allocations: 1.388 MB / 299 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001059/0.1473, allocations: 0.8042 MB / 299.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003544/0.1508, allocations: 3.079 MB / 302.9 MB, free: 13.15 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1508, allocations: 5.188 kB / 302.9 MB, free: 13.15 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1508, allocations: 2 kB / 302.9 MB, free: 13.15 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001148/0.1509, allocations: 0 / 302.9 MB, free: 13.15 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.004193/0.1551, allocations: 3.936 MB / 306.9 MB, free: 10.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.1552, allocations: 13.69 kB / 306.9 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003311/0.1585, allocations: 2.026 MB / 308.9 MB, free: 10.22 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001769/0.1602, allocations: 1.662 MB / 310.6 MB, free: 9.219 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.825e-05/0.1603, allocations: 154.1 kB / 310.7 MB, free: 9.176 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002222/0.1605, allocations: 199.4 kB / 310.9 MB, free: 9.133 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004053/0.1646, allocations: 4.154 MB / 315.1 MB, free: 5.336 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.614e-05/0.1646, allocations: 27.94 kB / 315.1 MB, free: 5.324 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001737/0.1648, allocations: 101.2 kB / 315.2 MB, free: 5.254 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001178/0.166, allocations: 1.554 MB / 316.7 MB, free: 3.723 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00343/0.1694, allocations: 1.932 MB / 318.7 MB, free: 1.938 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02087/0.1903, allocations: 31.74 MB / 350.4 MB, free: 1.465 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001442/0.1917, allocations: 0.7419 MB / 351.2 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002576/0.192, allocations: 214 kB / 351.4 MB, free: 428 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002391/0.1944, allocations: 2.24 MB / 353.6 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.1944, allocations: 50.64 kB / 353.7 MB, free: 14.11 MB / 314.7 MB Notification: Performance of pre-optimization done (n=89): time 3.276e-06/0.1944, allocations: 0 / 353.7 MB, free: 14.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=89): time 0.001957/0.1964, allocations: 1.109 MB / 354.8 MB, free: 13.02 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.233e-05/0.1964, allocations: 213.6 kB / 355 MB, free: 12.76 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003415/0.1999, allocations: 3.239 MB / 358.2 MB, free: 9.504 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.138e-05/0.1999, allocations: 37.86 kB / 358.3 MB, free: 9.461 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001471/0.2014, allocations: 2.954 MB / 361.2 MB, free: 6.523 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002785/0.2017, allocations: 408.2 kB / 361.6 MB, free: 6.129 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008317/0.2025, allocations: 1.046 MB / 362.7 MB, free: 5.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.2026, allocations: 480.7 kB / 363.1 MB, free: 4.598 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006953/0.2033, allocations: 425.1 kB / 363.5 MB, free: 4.176 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002977/0.2063, allocations: 5.355 MB / 368.9 MB, free: 12.55 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004732/0.211, allocations: 6.393 MB / 375.3 MB, free: 4.008 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-05/0.2111, allocations: 32 kB / 375.3 MB, free: 3.977 MB / 330.7 MB Notification: Performance of matching and sorting (n=622) (initialization): time 0.004999/0.2161, allocations: 4.121 MB / 379.4 MB, free: 15.86 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.153e-05/0.2161, allocations: 56.19 kB / 379.5 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.01e-05/0.2162, allocations: 124 kB / 379.6 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001038/0.2163, allocations: 159.9 kB / 379.8 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001837/0.2181, allocations: 1.085 MB / 380.9 MB, free: 14.44 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001389/0.2183, allocations: 236.1 kB / 381.1 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001982/0.2203, allocations: 0.6554 MB / 381.7 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005891/0.2209, allocations: 324 kB / 382.1 MB, free: 13.23 MB / 346.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.001049/0.2219, allocations: 0.5646 MB / 382.6 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000293/0.2222, allocations: 302 kB / 382.9 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004466/0.2226, allocations: 383.8 kB / 383.3 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.954e-05/0.2227, allocations: 30.58 kB / 383.3 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.2227, allocations: 4 kB / 383.3 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.2227, allocations: 5.297 kB / 383.3 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003749/0.2265, allocations: 2.754 MB / 386.1 MB, free: 9.102 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.2265, allocations: 4 kB / 386.1 MB, free: 9.098 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002783/0.2267, allocations: 103.8 kB / 386.2 MB, free: 8.996 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.942e-06/0.2267, allocations: 8 kB / 386.2 MB, free: 8.988 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.863e-05/0.2268, allocations: 16 kB / 386.2 MB, free: 8.973 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.039e-05/0.2268, allocations: 19.86 kB / 386.2 MB, free: 8.953 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.2268, allocations: 4.281 kB / 386.2 MB, free: 8.949 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/0.228, allocations: 1.741 MB / 388 MB, free: 7.141 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004163/0.2284, allocations: 321.8 kB / 388.3 MB, free: 6.824 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/0.2286, allocations: 23.8 kB / 388.3 MB, free: 6.805 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004219/0.229, allocations: 27.97 kB / 388.3 MB, free: 6.777 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.253e-05/0.2291, allocations: 53.14 kB / 388.4 MB, free: 6.727 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.845e-05/0.2291, allocations: 31.98 kB / 388.4 MB, free: 6.695 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001693/0.2308, allocations: 1.423 MB / 389.9 MB, free: 5.281 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2308, allocations: 0 / 389.9 MB, free: 5.281 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002572/0.2334, allocations: 0.8393 MB / 390.7 MB, free: 4.441 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.0002521/0.2336, allocations: 146.7 kB / 390.8 MB, free: 4.293 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00238/0.236, allocations: 1.939 MB / 392.8 MB, free: 2.367 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.236, allocations: 0 / 392.8 MB, free: 2.367 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002228/0.2362, allocations: 219.5 kB / 393 MB, free: 2.148 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.2374, allocations: 356.5 kB / 393.3 MB, free: 1.812 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007277/0.2447, allocations: 5.633 MB / 399 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008586/0.2456, allocations: 0.9549 MB / 399.9 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001977/0.2475, allocations: 1.301 MB / 401.2 MB, free: 9.789 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002715/0.2478, allocations: 192.5 kB / 401.4 MB, free: 9.602 MB / 362.7 MB Notification: Performance of SimCode: time 1.513e-06/0.2478, allocations: 0 / 401.4 MB, free: 9.602 MB / 362.7 MB Notification: Performance of Templates: time 0.03146/0.2793, allocations: 17.1 MB / 418.5 MB, free: 8.984 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.349089289084077]