Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 100 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 184.9 kB / 24.45 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 225.7 MB / 253.3 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 51.92 kB / 371.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2923, allocations: 52.18 MB / 423.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01166/0.3039, allocations: 7.99 MB / 431.8 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007489/0.3114, allocations: 2.542 MB / 434.4 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001232/0.3126, allocations: 59.75 kB / 434.4 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00381/0.3164, allocations: 1.775 MB / 436.2 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003142/0.3196, allocations: 1.377 MB / 437.6 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005141/0.3201, allocations: 207.6 kB / 437.8 MB, free: 488 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002931/0.323, allocations: 2.365 MB / 440.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002027/0.3251, allocations: 1.733 MB / 441.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001397/0.3265, allocations: 1.016 MB / 442.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003154/0.3296, allocations: 2.403 MB / 445.3 MB, free: 8.895 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004618/0.3301, allocations: 188 kB / 445.5 MB, free: 8.711 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000914/0.331, allocations: 407.5 kB / 445.9 MB, free: 8.312 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001274/0.3323, allocations: 1.351 MB / 447.2 MB, free: 6.957 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001182/0.3334, allocations: 1.129 MB / 448.4 MB, free: 5.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005321/0.3388, allocations: 4.892 MB / 453.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3388, allocations: 0 / 453.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3388, allocations: 0 / 453.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001033/0.3389, allocations: 0 / 453.3 MB, free: 0.9062 MB / 350.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.006664/0.3455, allocations: 3.67 MB / 456.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.3456, allocations: 8.031 kB / 456.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005387/0.351, allocations: 1.668 MB / 458.6 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003455/0.3544, allocations: 1.544 MB / 460.1 MB, free: 9.918 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001266/0.3546, allocations: 147.8 kB / 460.3 MB, free: 9.773 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003775/0.3549, allocations: 203.8 kB / 460.5 MB, free: 9.574 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01187/0.3668, allocations: 6.986 MB / 467.5 MB, free: 2.039 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.335e-05/0.3669, allocations: 27.75 kB / 467.5 MB, free: 2.012 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002826/0.3672, allocations: 103.9 kB / 467.6 MB, free: 1.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00244/0.3696, allocations: 1.558 MB / 469.2 MB, free: 356 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0104/0.38, allocations: 5.485 MB / 474.6 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03269/0.4127, allocations: 25.3 MB / 499.9 MB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002769/0.4155, allocations: 1.139 MB / 0.4893 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007362/0.4162, allocations: 473 kB / 0.4898 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004433/0.4206, allocations: 2.011 MB / 0.4918 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.436e-05/0.4207, allocations: 50.56 kB / 0.4918 GB, free: 12.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 3.296e-06/0.4207, allocations: 0 / 0.4918 GB, free: 12.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.004005/0.4247, allocations: 1.744 MB / 0.4935 GB, free: 11.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001409/0.4248, allocations: 221.6 kB / 0.4937 GB, free: 10.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005045/0.4299, allocations: 3.54 MB / 0.4972 GB, free: 7.312 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.263e-05/0.4299, allocations: 33.7 kB / 0.4972 GB, free: 7.273 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002294/0.4322, allocations: 2.818 MB / 0.5 GB, free: 4.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003912/0.4326, allocations: 401.2 kB / 0.5003 GB, free: 4.035 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001163/0.4338, allocations: 0.9607 MB / 0.5013 GB, free: 3.062 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.4339, allocations: 305.1 kB / 0.5016 GB, free: 2.762 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001796/0.4357, allocations: 1.208 MB / 0.5028 GB, free: 1.547 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004605/0.4403, allocations: 4.526 MB / 0.5072 GB, free: 11.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007514/0.4478, allocations: 6.294 MB / 0.5133 GB, free: 3.355 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.18e-05/0.4479, allocations: 39.94 kB / 0.5134 GB, free: 3.316 MB / 430.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.008955/0.4569, allocations: 5.432 MB / 0.5187 GB, free: 13.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.045e-05/0.4569, allocations: 58.97 kB / 0.5187 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001237/0.4571, allocations: 120 kB / 0.5188 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001573/0.4572, allocations: 156 kB / 0.519 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003028/0.4603, allocations: 1.084 MB / 0.52 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001976/0.4605, allocations: 231.1 kB / 0.5203 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003615/0.4641, allocations: 0.6711 MB / 0.5209 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004414/0.4645, allocations: 312 kB / 0.5212 GB, free: 11.26 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.002705/0.4672, allocations: 1.716 MB / 0.5229 GB, free: 9.535 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005038/0.4677, allocations: 286 kB / 0.5232 GB, free: 9.254 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008514/0.4686, allocations: 481.6 kB / 0.5236 GB, free: 8.777 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.426e-05/0.4686, allocations: 19.98 kB / 0.5236 GB, free: 8.758 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.4686, allocations: 4 kB / 0.5236 GB, free: 8.754 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.4686, allocations: 7.984 kB / 0.5237 GB, free: 8.746 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005059/0.4737, allocations: 2.357 MB / 0.526 GB, free: 6.316 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/0.4737, allocations: 4 kB / 0.526 GB, free: 6.312 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004652/0.4742, allocations: 103.8 kB / 0.5261 GB, free: 6.211 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.318e-05/0.4742, allocations: 8.281 kB / 0.5261 GB, free: 6.203 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.163e-05/0.4742, allocations: 16 kB / 0.5261 GB, free: 6.188 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.037e-06/0.4742, allocations: 8 kB / 0.5261 GB, free: 6.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-06/0.4742, allocations: 11.88 kB / 0.5261 GB, free: 6.168 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002684/0.4769, allocations: 2.202 MB / 0.5282 GB, free: 3.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008738/0.4778, allocations: 333.8 kB / 0.5286 GB, free: 3.582 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000221/0.478, allocations: 23.83 kB / 0.5286 GB, free: 3.559 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008428/0.4789, allocations: 43.88 kB / 0.5286 GB, free: 3.516 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.479, allocations: 47.88 kB / 0.5287 GB, free: 3.469 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.178e-05/0.479, allocations: 35.98 kB / 0.5287 GB, free: 3.434 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003228/0.4823, allocations: 2.102 MB / 0.5308 GB, free: 1.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4823, allocations: 0 / 0.5308 GB, free: 1.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004225/0.4865, allocations: 0.8376 MB / 0.5316 GB, free: 0.5 MB / 446.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.0003731/0.4869, allocations: 146.9 kB / 0.5317 GB, free: 356 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004744/0.4916, allocations: 2.707 MB / 0.5344 GB, free: 13.66 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.4916, allocations: 0 / 0.5344 GB, free: 13.66 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005814/0.4922, allocations: 404.5 kB / 0.5348 GB, free: 13.27 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002152/0.4944, allocations: 348.8 kB / 0.5351 GB, free: 12.93 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01242/0.5068, allocations: 7.097 MB / 0.542 GB, free: 5.75 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002817/0.5096, allocations: 2.133 MB / 0.5441 GB, free: 3.59 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006217/0.5102, allocations: 223.4 kB / 0.5443 GB, free: 3.371 MB / 462.1 MB Notification: Performance of SimCode: time 1.162e-06/0.5102, allocations: 0 / 0.5443 GB, free: 3.371 MB / 462.1 MB Notification: Performance of Templates: time 0.2943/0.8045, allocations: 44.29 MB / 0.5876 GB, free: 88.75 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 11.465873897075653]