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.001577/0.001577, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.001714/0.001714, allocations: 208.2 kB / 24.48 MB, free: 3.977 MB / 14.72 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 1.439/1.439, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001551/0.001551, allocations: 47.94 kB / 379 MB, free: 2.547 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2118, allocations: 53.36 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01065/0.2225, allocations: 7.957 MB / 440.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005117/0.2276, allocations: 2.603 MB / 442.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005325/0.2281, allocations: 55.75 kB / 443 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003595/0.2317, allocations: 1.783 MB / 444.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002651/0.2343, allocations: 1.366 MB / 446.1 MB, free: 8.898 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004506/0.2348, allocations: 219.6 kB / 446.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002645/0.2374, allocations: 2.339 MB / 448.7 MB, free: 6.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001994/0.2394, allocations: 1.742 MB / 450.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001204/0.2406, allocations: 1.016 MB / 451.4 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003135/0.2438, allocations: 2.587 MB / 454 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003793/0.2442, allocations: 188 kB / 454.2 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000854/0.245, allocations: 431.4 kB / 454.6 MB, free: 336 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001241/0.2462, allocations: 1.34 MB / 456 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001241/0.2475, allocations: 1.113 MB / 457.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00512/0.2526, allocations: 4.873 MB / 461.9 MB, free: 8.965 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2526, allocations: 0 / 461.9 MB, free: 8.965 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2526, allocations: 0 / 461.9 MB, free: 8.965 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.34e-05/0.2527, allocations: 0 / 461.9 MB, free: 8.965 MB / 366.1 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.005886/0.2586, allocations: 3.638 MB / 465.6 MB, free: 5.273 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.2586, allocations: 8.031 kB / 465.6 MB, free: 5.266 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006033/0.2646, allocations: 1.722 MB / 467.3 MB, free: 3.539 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003249/0.2679, allocations: 1.537 MB / 468.8 MB, free: 1.965 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/0.268, allocations: 151.8 kB / 469 MB, free: 1.816 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003827/0.2684, allocations: 195.9 kB / 469.2 MB, free: 1.625 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009462/0.2779, allocations: 6.982 MB / 476.2 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.426e-05/0.2779, allocations: 31.7 kB / 476.2 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002697/0.2782, allocations: 103.9 kB / 476.3 MB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002317/0.2805, allocations: 1.551 MB / 477.8 MB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008951/0.2895, allocations: 5.493 MB / 483.3 MB, free: 2.906 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02839/0.3179, allocations: 25.32 MB / 0.4967 GB, free: 8.703 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002656/0.3205, allocations: 1.12 MB / 0.4978 GB, free: 7.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007156/0.3212, allocations: 481.5 kB / 0.4983 GB, free: 7.027 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00381/0.3251, allocations: 2.007 MB / 0.5003 GB, free: 4.988 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.3251, allocations: 38.56 kB / 0.5003 GB, free: 4.941 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 3.006e-06/0.3251, allocations: 0 / 0.5003 GB, free: 4.941 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.003956/0.329, allocations: 1.763 MB / 0.502 GB, free: 3.176 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/0.3292, allocations: 217.6 kB / 0.5022 GB, free: 2.914 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004449/0.3336, allocations: 3.535 MB / 0.5057 GB, free: 15.37 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.177e-05/0.3337, allocations: 33.64 kB / 0.5057 GB, free: 15.33 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00207/0.3357, allocations: 2.806 MB / 0.5084 GB, free: 12.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003543/0.3361, allocations: 405.1 kB / 0.5088 GB, free: 12.1 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001168/0.3373, allocations: 0.9685 MB / 0.5098 GB, free: 11.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.3374, allocations: 301.1 kB / 0.5101 GB, free: 10.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001802/0.3392, allocations: 1.208 MB / 0.5112 GB, free: 9.605 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00469/0.3439, allocations: 4.526 MB / 0.5157 GB, free: 3.379 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00741/0.3513, allocations: 6.296 MB / 0.5218 GB, free: 11.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.564e-05/0.3513, allocations: 36 kB / 0.5218 GB, free: 11.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.00852/0.3599, allocations: 5.431 MB / 0.5271 GB, free: 5.945 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.494e-05/0.3599, allocations: 56 kB / 0.5272 GB, free: 5.891 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001227/0.3601, allocations: 124 kB / 0.5273 GB, free: 5.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001583/0.3602, allocations: 156 kB / 0.5275 GB, free: 5.617 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002977/0.3632, allocations: 1.084 MB / 0.5285 GB, free: 4.531 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001998/0.3634, allocations: 231.7 kB / 0.5287 GB, free: 4.305 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002832/0.3662, allocations: 0.6592 MB / 0.5294 GB, free: 3.645 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003792/0.3666, allocations: 316 kB / 0.5297 GB, free: 3.336 MB / 446.1 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.002319/0.3689, allocations: 1.715 MB / 0.5314 GB, free: 1.609 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004367/0.3694, allocations: 298 kB / 0.5317 GB, free: 1.316 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008373/0.3702, allocations: 467.8 kB / 0.5321 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.402e-05/0.3702, allocations: 20 kB / 0.5321 GB, free: 0.832 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.3702, allocations: 4 kB / 0.5321 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.3703, allocations: 3.984 kB / 0.5321 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004734/0.375, allocations: 2.365 MB / 0.5344 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.834e-06/0.375, allocations: 4 kB / 0.5344 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000473/0.3755, allocations: 107.8 kB / 0.5345 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/0.3755, allocations: 4 kB / 0.5345 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-05/0.3755, allocations: 23.98 kB / 0.5346 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.766e-06/0.3755, allocations: 8 kB / 0.5346 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/0.3756, allocations: 11.88 kB / 0.5346 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002478/0.378, allocations: 2.201 MB / 0.5367 GB, free: 11.97 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006971/0.3787, allocations: 337.9 kB / 0.5371 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002298/0.379, allocations: 23.89 kB / 0.5371 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008175/0.3798, allocations: 27.97 kB / 0.5371 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.3799, allocations: 59.7 kB / 0.5372 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.049e-05/0.3799, allocations: 28 kB / 0.5372 GB, free: 11.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002925/0.3829, allocations: 2.098 MB / 0.5392 GB, free: 9.414 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3829, allocations: 288 / 0.5392 GB, free: 9.414 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003597/0.3865, allocations: 0.8259 MB / 0.54 GB, free: 8.586 MB / 462.1 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.0002963/0.3868, allocations: 150.9 kB / 0.5402 GB, free: 8.43 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004237/0.391, allocations: 2.711 MB / 0.5428 GB, free: 5.742 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.391, allocations: 0 / 0.5428 GB, free: 5.742 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005855/0.3916, allocations: 399.5 kB / 0.5432 GB, free: 5.352 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001921/0.3935, allocations: 343.6 kB / 0.5435 GB, free: 5.016 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.181/0.5745, allocations: 6.72 MB / 0.5501 GB, free: 112.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002515/0.577, allocations: 2.128 MB / 0.5522 GB, free: 112.3 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002823/0.5798, allocations: 1.459 MB / 0.5536 GB, free: 112.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003499/0.5802, allocations: 196 kB / 0.5538 GB, free: 112.2 MB / 462.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5802, allocations: 1.375 kB / 0.5538 GB, free: 112.2 MB / 462.1 MB Notification: Performance of Templates: time 0.03647/0.6167, allocations: 22.01 MB / 0.5753 GB, free: 96.82 MB / 462.1 MB " [Timeout remaining time 659] 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=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.5558123899973]