Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001431/0.001431, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001663/0.001663, allocations: 206.4 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 230.5 MB / 257.4 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002238/0.002238, allocations: 59.84 kB / 378.2 MB, free: 2.301 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2788, allocations: 53.41 MB / 431.6 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01214/0.291, allocations: 7.963 MB / 439.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006323/0.2973, allocations: 2.589 MB / 442.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001288/0.2986, allocations: 59.75 kB / 442.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004221/0.3028, allocations: 1.787 MB / 444 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003895/0.3067, allocations: 1.37 MB / 445.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007147/0.3074, allocations: 223.6 kB / 445.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003451/0.3109, allocations: 2.338 MB / 448 MB, free: 6.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002283/0.3131, allocations: 1.726 MB / 449.7 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001643/0.3148, allocations: 1.016 MB / 450.7 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003603/0.3184, allocations: 2.509 MB / 453.2 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004874/0.3189, allocations: 188 kB / 453.4 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009587/0.3198, allocations: 423.4 kB / 453.8 MB, free: 244 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001323/0.3212, allocations: 1.332 MB / 455.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001333/0.3225, allocations: 1.121 MB / 456.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005385/0.3279, allocations: 4.873 MB / 461.1 MB, free: 8.879 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3279, allocations: 0 / 461.1 MB, free: 8.879 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3279, allocations: 0 / 461.1 MB, free: 8.879 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.056e-05/0.328, allocations: 4 kB / 461.1 MB, free: 8.875 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.006297/0.3343, allocations: 3.642 MB / 464.8 MB, free: 5.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.3343, allocations: 19.92 kB / 464.8 MB, free: 5.16 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006246/0.3405, allocations: 1.718 MB / 466.5 MB, free: 3.438 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003662/0.3442, allocations: 1.533 MB / 468.1 MB, free: 1.867 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/0.3443, allocations: 143.8 kB / 468.2 MB, free: 1.727 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004213/0.3448, allocations: 203.9 kB / 468.4 MB, free: 1.527 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01143/0.3562, allocations: 6.982 MB / 475.4 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.135e-05/0.3563, allocations: 27.75 kB / 475.4 MB, free: 9.973 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002711/0.3565, allocations: 107.9 kB / 475.5 MB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00236/0.3589, allocations: 1.555 MB / 477.1 MB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01029/0.3692, allocations: 5.489 MB / 482.6 MB, free: 2.809 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03063/0.3998, allocations: 25.32 MB / 0.496 GB, free: 8.605 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002706/0.4025, allocations: 1.131 MB / 0.4971 GB, free: 7.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000712/0.4032, allocations: 476.6 kB / 0.4975 GB, free: 6.926 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003786/0.407, allocations: 2.003 MB / 0.4995 GB, free: 4.891 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/0.4071, allocations: 46.5 kB / 0.4995 GB, free: 4.836 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 2.945e-06/0.4071, allocations: 0 / 0.4995 GB, free: 4.836 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.003946/0.411, allocations: 1.756 MB / 0.5012 GB, free: 3.074 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001526/0.4112, allocations: 213.6 kB / 0.5014 GB, free: 2.816 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005389/0.4165, allocations: 3.535 MB / 0.5049 GB, free: 15.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.678e-05/0.4166, allocations: 37.7 kB / 0.5049 GB, free: 15.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00236/0.419, allocations: 2.798 MB / 0.5077 GB, free: 12.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004358/0.4194, allocations: 417 kB / 0.5081 GB, free: 12 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001203/0.4206, allocations: 0.9724 MB / 0.509 GB, free: 11.01 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.4208, allocations: 301.1 kB / 0.5093 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001964/0.4228, allocations: 1.204 MB / 0.5105 GB, free: 9.504 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005015/0.4278, allocations: 4.53 MB / 0.5149 GB, free: 3.273 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007909/0.4357, allocations: 6.297 MB / 0.5211 GB, free: 11.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001124/0.4358, allocations: 32 kB / 0.5211 GB, free: 11.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.009591/0.4454, allocations: 5.424 MB / 0.5264 GB, free: 5.844 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.323e-05/0.4455, allocations: 56 kB / 0.5264 GB, free: 5.789 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000147/0.4456, allocations: 116 kB / 0.5265 GB, free: 5.676 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001593/0.4458, allocations: 156 kB / 0.5267 GB, free: 5.523 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00306/0.4488, allocations: 1.084 MB / 0.5278 GB, free: 4.438 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001863/0.449, allocations: 235.1 kB / 0.528 GB, free: 4.207 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003249/0.4523, allocations: 0.6637 MB / 0.5286 GB, free: 3.539 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004665/0.4527, allocations: 316 kB / 0.5289 GB, free: 3.23 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.002525/0.4553, allocations: 1.712 MB / 0.5306 GB, free: 1.508 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005114/0.4558, allocations: 290 kB / 0.5309 GB, free: 1.223 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008401/0.4566, allocations: 483.7 kB / 0.5313 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.724e-05/0.4567, allocations: 24 kB / 0.5314 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.4567, allocations: 4 kB / 0.5314 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.4567, allocations: 3.984 kB / 0.5314 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004992/0.4617, allocations: 2.361 MB / 0.5337 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.826e-06/0.4617, allocations: 8.062 kB / 0.5337 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004689/0.4622, allocations: 103.8 kB / 0.5338 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.448e-06/0.4622, allocations: 11.94 kB / 0.5338 GB, free: 14.15 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.728e-05/0.4622, allocations: 16 kB / 0.5338 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.144e-05/0.4622, allocations: 11.98 kB / 0.5338 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.053e-05/0.4622, allocations: 7.938 kB / 0.5338 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002517/0.4647, allocations: 2.201 MB / 0.536 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007601/0.4655, allocations: 337.8 kB / 0.5363 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002111/0.4657, allocations: 24.27 kB / 0.5363 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008002/0.4665, allocations: 31.95 kB / 0.5363 GB, free: 11.48 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.4666, allocations: 47.81 kB / 0.5364 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.313e-05/0.4667, allocations: 39.92 kB / 0.5364 GB, free: 11.39 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003032/0.4697, allocations: 2.094 MB / 0.5385 GB, free: 9.305 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4697, allocations: 0 / 0.5385 GB, free: 9.305 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003592/0.4733, allocations: 0.8298 MB / 0.5393 GB, free: 8.473 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.0003064/0.4736, allocations: 147 kB / 0.5394 GB, free: 8.32 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004372/0.478, allocations: 2.708 MB / 0.5421 GB, free: 5.637 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.478, allocations: 4 kB / 0.5421 GB, free: 5.633 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000589/0.4786, allocations: 399.5 kB / 0.5425 GB, free: 5.242 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/0.4805, allocations: 344.2 kB / 0.5428 GB, free: 4.91 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2143/0.6948, allocations: 6.719 MB / 0.5493 GB, free: 112.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003395/0.6982, allocations: 2.134 MB / 0.5514 GB, free: 112 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003303/0.7015, allocations: 1.457 MB / 0.5529 GB, free: 112 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004119/0.7019, allocations: 196.3 kB / 0.553 GB, free: 112 MB / 462.1 MB Notification: Performance of SimCode: time 1.082e-06/0.7019, allocations: 0 / 0.553 GB, free: 112 MB / 462.1 MB Notification: Performance of Templates: time 0.03776/0.7397, allocations: 19.93 MB / 0.5725 GB, free: 98.68 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.888343848288059]