Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.00643/0.00643, allocations: 110.2 kB / 21.98 MB, free: 5.184 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.001536/0.001536, allocations: 220.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.464/1.464, allocations: 230.6 MB / 259 MB, free: 8.012 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 63.89 kB / 379.8 MB, free: 2.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2628, allocations: 53.36 MB / 433.2 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01165/0.2744, allocations: 9.074 MB / 442.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00638/0.2808, allocations: 2.754 MB / 445 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001216/0.282, allocations: 55.75 kB / 445.1 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003876/0.2859, allocations: 1.869 MB / 446.9 MB, free: 9.129 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00383/0.2897, allocations: 1.362 MB / 448.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006329/0.2904, allocations: 219.6 kB / 448.5 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003628/0.294, allocations: 2.331 MB / 450.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002336/0.2963, allocations: 1.742 MB / 452.6 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00169/0.298, allocations: 1.016 MB / 453.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003998/0.302, allocations: 2.579 MB / 456.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007391/0.3028, allocations: 192 kB / 456.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001326/0.3041, allocations: 0.511 MB / 456.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001564/0.3056, allocations: 1.343 MB / 458.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001719/0.3074, allocations: 1.575 MB / 459.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005922/0.3133, allocations: 4.857 MB / 464.7 MB, free: 7.301 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.3133, allocations: 0 / 464.7 MB, free: 7.301 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3133, allocations: 4 kB / 464.7 MB, free: 7.297 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000115/0.3134, allocations: 0 / 464.7 MB, free: 7.297 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.006411/0.3198, allocations: 3.642 MB / 468.3 MB, free: 3.602 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.3199, allocations: 8.031 kB / 468.3 MB, free: 3.594 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005869/0.3257, allocations: 1.714 MB / 470 MB, free: 1.875 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003329/0.3291, allocations: 1.533 MB / 471.6 MB, free: 312 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.3292, allocations: 147.8 kB / 471.7 MB, free: 164 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004067/0.3296, allocations: 203.9 kB / 471.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0106/0.3402, allocations: 6.979 MB / 478.9 MB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.126e-05/0.3403, allocations: 39.64 kB / 478.9 MB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002774/0.3405, allocations: 95.89 kB / 479 MB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002327/0.3429, allocations: 1.566 MB / 480.6 MB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01072/0.3536, allocations: 5.481 MB / 486.1 MB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03712/0.3907, allocations: 27.08 MB / 0.5011 GB, free: 5.254 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002835/0.3936, allocations: 1.131 MB / 0.5022 GB, free: 4.059 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007775/0.3943, allocations: 473.9 kB / 0.5027 GB, free: 3.574 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004589/0.3989, allocations: 2.226 MB / 0.5048 GB, free: 1.305 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.733e-05/0.399, allocations: 42.5 kB / 0.5049 GB, free: 1.254 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 3.436e-06/0.399, allocations: 0 / 0.5049 GB, free: 1.254 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.004259/0.4032, allocations: 1.776 MB / 0.5066 GB, free: 15.47 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001383/0.4034, allocations: 213.6 kB / 0.5068 GB, free: 15.21 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005544/0.4089, allocations: 3.67 MB / 0.5104 GB, free: 11.55 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001139/0.409, allocations: 37.7 kB / 0.5104 GB, free: 11.51 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002436/0.4115, allocations: 2.788 MB / 0.5132 GB, free: 8.695 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005149/0.412, allocations: 409.1 kB / 0.5136 GB, free: 8.293 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001254/0.4132, allocations: 0.9687 MB / 0.5145 GB, free: 7.312 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.4134, allocations: 305.1 kB / 0.5148 GB, free: 7.012 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002024/0.4154, allocations: 1.208 MB / 0.516 GB, free: 5.797 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004956/0.4203, allocations: 4.53 MB / 0.5204 GB, free: 15.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00805/0.4284, allocations: 6.291 MB / 0.5265 GB, free: 7.602 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-05/0.4285, allocations: 35.94 kB / 0.5266 GB, free: 7.566 MB / 446.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.009984/0.4385, allocations: 5.45 MB / 0.5319 GB, free: 2.117 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.594e-05/0.4386, allocations: 56 kB / 0.5319 GB, free: 2.062 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001388/0.4387, allocations: 124.1 kB / 0.5321 GB, free: 1.941 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001729/0.4389, allocations: 160 kB / 0.5322 GB, free: 1.785 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002985/0.4419, allocations: 1.084 MB / 0.5333 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001944/0.4421, allocations: 235.4 kB / 0.5335 GB, free: 480 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003242/0.4453, allocations: 0.6943 MB / 0.5342 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003949/0.4457, allocations: 316 kB / 0.5345 GB, free: 15.45 MB / 462.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.002588/0.4483, allocations: 1.719 MB / 0.5362 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005269/0.4488, allocations: 317.8 kB / 0.5365 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009064/0.4497, allocations: 486.2 kB / 0.5369 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.071e-05/0.4498, allocations: 27.94 kB / 0.537 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.4498, allocations: 0 / 0.537 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.4498, allocations: 11.98 kB / 0.537 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005456/0.4552, allocations: 3.125 MB / 0.54 GB, free: 9.691 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/0.4552, allocations: 4 kB / 0.54 GB, free: 9.688 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004651/0.4557, allocations: 103.9 kB / 0.5401 GB, free: 9.586 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.045e-05/0.4557, allocations: 11.88 kB / 0.5401 GB, free: 9.574 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.617e-05/0.4558, allocations: 16 kB / 0.5401 GB, free: 9.559 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.816e-06/0.4558, allocations: 11.94 kB / 0.5402 GB, free: 9.547 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/0.4558, allocations: 4 kB / 0.5402 GB, free: 9.543 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002634/0.4584, allocations: 2.229 MB / 0.5423 GB, free: 7.266 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007295/0.4591, allocations: 365.5 kB / 0.5427 GB, free: 6.906 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000238/0.4594, allocations: 31.81 kB / 0.5427 GB, free: 6.875 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008121/0.4602, allocations: 36.03 kB / 0.5428 GB, free: 6.84 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.4603, allocations: 47.86 kB / 0.5428 GB, free: 6.793 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.593e-05/0.4604, allocations: 28 kB / 0.5428 GB, free: 6.766 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00342/0.4638, allocations: 2.337 MB / 0.5451 GB, free: 4.445 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4638, allocations: 3.938 kB / 0.5451 GB, free: 4.441 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003865/0.4676, allocations: 0.7989 MB / 0.5459 GB, free: 3.641 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.0003122/0.468, allocations: 143 kB / 0.546 GB, free: 3.492 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004778/0.4727, allocations: 2.709 MB / 0.5487 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.331e-06/0.4727, allocations: 4 kB / 0.5487 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005758/0.4733, allocations: 397.9 kB / 0.5491 GB, free: 428 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001961/0.4753, allocations: 379.9 kB / 0.5494 GB, free: 48 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.208/0.6833, allocations: 7.153 MB / 0.5564 GB, free: 112.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002432/0.6857, allocations: 2.69 MB / 0.559 GB, free: 111.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005683/0.6863, allocations: 236.1 kB / 0.5593 GB, free: 111.3 MB / 462.1 MB Notification: Performance of SimCode: time 1.182e-06/0.6863, allocations: 0 / 0.5593 GB, free: 111.3 MB / 462.1 MB Notification: Performance of Templates: time 0.05376/0.7401, allocations: 44.13 MB / 0.6024 GB, free: 71.62 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.664281661855057]