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.00204/0.00204, allocations: 107 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.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.002181/0.002181, allocations: 209.5 kB / 24.48 MB, free: 3.941 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.634/1.634, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.001644/0.001644, allocations: 47.92 kB / 379 MB, free: 2.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2922, allocations: 53.37 MB / 432.3 MB, free: 6.82 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01178/0.304, allocations: 7.956 MB / 440.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007665/0.3116, allocations: 2.597 MB / 442.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002714/0.3144, allocations: 55.75 kB / 442.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005455/0.3198, allocations: 1.795 MB / 444.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00611/0.3259, allocations: 1.37 MB / 446.1 MB, free: 9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.3271, allocations: 215.6 kB / 446.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00594/0.3331, allocations: 2.339 MB / 448.7 MB, free: 6.445 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003688/0.3368, allocations: 1.734 MB / 450.4 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00317/0.3399, allocations: 1.02 MB / 451.4 MB, free: 3.633 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00561/0.3455, allocations: 2.587 MB / 454 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001319/0.3469, allocations: 188 kB / 454.2 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00207/0.3489, allocations: 427.5 kB / 454.6 MB, free: 448 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002607/0.3515, allocations: 1.34 MB / 455.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00187/0.3534, allocations: 1.117 MB / 457.1 MB, free: 13.97 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008424/0.3618, allocations: 4.873 MB / 461.9 MB, free: 9.074 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/0.3618, allocations: 0 / 461.9 MB, free: 9.074 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.3618, allocations: 0 / 461.9 MB, free: 9.074 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000207/0.362, allocations: 0 / 461.9 MB, free: 9.074 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.01002/0.3721, allocations: 3.638 MB / 465.6 MB, free: 5.383 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.448e-05/0.3721, allocations: 8.031 kB / 465.6 MB, free: 5.375 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0066/0.3787, allocations: 1.722 MB / 467.3 MB, free: 3.648 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004545/0.3833, allocations: 1.537 MB / 468.8 MB, free: 2.074 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001735/0.3835, allocations: 151.8 kB / 469 MB, free: 1.926 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004797/0.3839, allocations: 191.9 kB / 469.2 MB, free: 1.738 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01494/0.3989, allocations: 6.994 MB / 476.2 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001829/0.3991, allocations: 27.75 kB / 476.2 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008481/0.3999, allocations: 95.89 kB / 476.3 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003273/0.4032, allocations: 1.559 MB / 477.8 MB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01386/0.417, allocations: 5.485 MB / 483.3 MB, free: 3.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04941/0.4664, allocations: 25.32 MB / 0.4967 GB, free: 8.816 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003735/0.4702, allocations: 1.132 MB / 0.4978 GB, free: 7.621 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001046/0.4712, allocations: 477.4 kB / 0.4983 GB, free: 7.133 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006996/0.4782, allocations: 1.999 MB / 0.5002 GB, free: 5.102 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.711e-05/0.4783, allocations: 54.48 kB / 0.5003 GB, free: 5.039 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 8.025e-06/0.4783, allocations: 0 / 0.5003 GB, free: 5.039 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.005342/0.4836, allocations: 1.751 MB / 0.502 GB, free: 3.285 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001967/0.4838, allocations: 213.6 kB / 0.5022 GB, free: 3.027 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01059/0.4944, allocations: 3.539 MB / 0.5057 GB, free: 15.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001366/0.4946, allocations: 41.64 kB / 0.5057 GB, free: 15.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00325/0.4978, allocations: 2.81 MB / 0.5084 GB, free: 12.6 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000723/0.4985, allocations: 401.2 kB / 0.5088 GB, free: 12.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001696/0.5002, allocations: 0.9607 MB / 0.5098 GB, free: 11.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002096/0.5004, allocations: 309.1 kB / 0.5101 GB, free: 10.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002111/0.5026, allocations: 1.204 MB / 0.5112 GB, free: 9.715 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00598/0.5085, allocations: 4.534 MB / 0.5157 GB, free: 3.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009466/0.518, allocations: 6.285 MB / 0.5218 GB, free: 11.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001398/0.5181, allocations: 36 kB / 0.5218 GB, free: 11.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.011/0.5291, allocations: 5.424 MB / 0.5271 GB, free: 6.062 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.924e-05/0.5292, allocations: 60 kB / 0.5272 GB, free: 6.004 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001455/0.5294, allocations: 116 kB / 0.5273 GB, free: 5.891 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001812/0.5296, allocations: 156 kB / 0.5275 GB, free: 5.738 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003146/0.5327, allocations: 1.088 MB / 0.5285 GB, free: 4.648 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002391/0.533, allocations: 231.1 kB / 0.5287 GB, free: 4.422 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004617/0.5376, allocations: 0.6712 MB / 0.5294 GB, free: 3.746 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005379/0.5381, allocations: 312 kB / 0.5297 GB, free: 3.441 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.004116/0.5422, allocations: 1.719 MB / 0.5314 GB, free: 1.711 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009233/0.5431, allocations: 293.9 kB / 0.5316 GB, free: 1.422 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.5443, allocations: 470.8 kB / 0.5321 GB, free: 0.957 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.193e-05/0.5443, allocations: 27.98 kB / 0.5321 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-05/0.5443, allocations: 0 / 0.5321 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.885e-05/0.5443, allocations: 7.984 kB / 0.5321 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006286/0.5506, allocations: 2.36 MB / 0.5344 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-05/0.5506, allocations: 4 kB / 0.5344 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00049/0.5511, allocations: 108.1 kB / 0.5345 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.645e-05/0.5512, allocations: 12 kB / 0.5346 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.765e-05/0.5512, allocations: 12 kB / 0.5346 GB, free: 14.35 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.958e-06/0.5512, allocations: 4 kB / 0.5346 GB, free: 14.35 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/0.5512, allocations: 11.94 kB / 0.5346 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003128/0.5543, allocations: 2.209 MB / 0.5367 GB, free: 12.08 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009541/0.5553, allocations: 333.9 kB / 0.5371 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002333/0.5555, allocations: 19.89 kB / 0.5371 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008353/0.5564, allocations: 40.02 kB / 0.5371 GB, free: 11.69 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.5565, allocations: 47.81 kB / 0.5372 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.211e-05/0.5566, allocations: 31.98 kB / 0.5372 GB, free: 11.61 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00374/0.5603, allocations: 2.102 MB / 0.5392 GB, free: 9.52 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5603, allocations: 288 / 0.5392 GB, free: 9.52 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005233/0.5656, allocations: 0.8259 MB / 0.54 GB, free: 8.691 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.0004668/0.566, allocations: 150.9 kB / 0.5402 GB, free: 8.535 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005789/0.5718, allocations: 2.706 MB / 0.5428 GB, free: 5.855 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.604e-05/0.5718, allocations: 7.938 kB / 0.5428 GB, free: 5.848 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007592/0.5726, allocations: 399.6 kB / 0.5432 GB, free: 5.457 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002313/0.5749, allocations: 350.1 kB / 0.5436 GB, free: 5.117 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2833/0.8583, allocations: 6.72 MB / 0.5501 GB, free: 112.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003984/0.8622, allocations: 2.132 MB / 0.5522 GB, free: 112.6 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003928/0.8662, allocations: 1.454 MB / 0.5536 GB, free: 112.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005273/0.8667, allocations: 189.8 kB / 0.5538 GB, free: 112.5 MB / 462.1 MB Notification: Performance of SimCode: time 2.264e-06/0.8667, allocations: 0 / 0.5538 GB, free: 112.5 MB / 462.1 MB Notification: Performance of Templates: time 0.04723/0.9139, allocations: 22.02 MB / 0.5753 GB, free: 97.18 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 cvode -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: 6.7343776960042305]