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.001321/0.001321, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.001352/0.001352, allocations: 183.7 kB / 23.71 MB, free: 4.695 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.416/1.416, allocations: 225.6 MB / 252.5 MB, free: 12.99 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.001523/0.001523, allocations: 39.92 kB / 370.9 MB, free: 9.324 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2352, allocations: 52.19 MB / 423.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01142/0.2466, allocations: 9.103 MB / 432.2 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006018/0.2527, allocations: 2.698 MB / 434.9 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001106/0.2538, allocations: 55.75 kB / 435 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003874/0.2576, allocations: 1.849 MB / 436.8 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003981/0.2616, allocations: 1.373 MB / 438.2 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006527/0.2623, allocations: 203.6 kB / 438.4 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003558/0.2658, allocations: 2.382 MB / 440.8 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002134/0.268, allocations: 1.549 MB / 442.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001469/0.2694, allocations: 1.016 MB / 443.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003286/0.2727, allocations: 2.474 MB / 445.8 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005508/0.2733, allocations: 188 kB / 446 MB, free: 7.641 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.2743, allocations: 0.5071 MB / 446.5 MB, free: 7.133 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001319/0.2757, allocations: 1.351 MB / 447.9 MB, free: 5.777 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001575/0.2772, allocations: 1.587 MB / 449.5 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005176/0.2824, allocations: 4.877 MB / 454.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.2824, allocations: 4 kB / 454.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2824, allocations: 0 / 454.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.833e-05/0.2825, allocations: 0 / 454.3 MB, free: 15.28 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.006627/0.2891, allocations: 3.662 MB / 458 MB, free: 11.56 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.2892, allocations: 8.031 kB / 458 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005437/0.2946, allocations: 1.668 MB / 459.7 MB, free: 9.883 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002952/0.2976, allocations: 1.533 MB / 461.2 MB, free: 8.312 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001281/0.2977, allocations: 155.8 kB / 461.4 MB, free: 8.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003621/0.298, allocations: 191.8 kB / 461.6 MB, free: 7.973 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009914/0.308, allocations: 6.99 MB / 468.5 MB, free: 444 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.466e-05/0.308, allocations: 27.75 kB / 468.6 MB, free: 416 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002571/0.3083, allocations: 95.88 kB / 468.7 MB, free: 320 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002417/0.3107, allocations: 1.562 MB / 470.2 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009322/0.32, allocations: 5.489 MB / 475.7 MB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03205/0.3521, allocations: 27.08 MB / 0.491 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002944/0.355, allocations: 1.131 MB / 0.4921 GB, free: 12.06 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007023/0.3557, allocations: 473.6 kB / 0.4926 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003729/0.3594, allocations: 2.218 MB / 0.4947 GB, free: 9.312 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.3595, allocations: 50.55 kB / 0.4948 GB, free: 9.254 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 2.224e-06/0.3595, allocations: 0 / 0.4948 GB, free: 9.254 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.004002/0.3635, allocations: 1.778 MB / 0.4965 GB, free: 7.473 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/0.3636, allocations: 213.6 kB / 0.4967 GB, free: 7.215 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005006/0.3686, allocations: 3.674 MB / 0.5003 GB, free: 3.551 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.067e-05/0.3687, allocations: 41.86 kB / 0.5003 GB, free: 3.504 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002226/0.3709, allocations: 2.8 MB / 0.5031 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003725/0.3713, allocations: 405.1 kB / 0.5035 GB, free: 284 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001192/0.3725, allocations: 0.9648 MB / 0.5044 GB, free: 15.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.3726, allocations: 301.1 kB / 0.5047 GB, free: 15 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001874/0.3745, allocations: 1.208 MB / 0.5059 GB, free: 13.79 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004681/0.3792, allocations: 4.534 MB / 0.5103 GB, free: 7.551 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007217/0.3864, allocations: 6.286 MB / 0.5164 GB, free: 15.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.487e-05/0.3864, allocations: 40 kB / 0.5165 GB, free: 15.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.009309/0.3957, allocations: 5.458 MB / 0.5218 GB, free: 10.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.64e-05/0.3958, allocations: 56 kB / 0.5219 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001276/0.396, allocations: 120 kB / 0.522 GB, free: 9.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001549/0.3961, allocations: 152 kB / 0.5221 GB, free: 9.781 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002997/0.3991, allocations: 1.088 MB / 0.5232 GB, free: 8.691 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001986/0.3993, allocations: 227.1 kB / 0.5234 GB, free: 8.469 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003431/0.4027, allocations: 0.7021 MB / 0.5241 GB, free: 7.762 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000499/0.4032, allocations: 320 kB / 0.5244 GB, free: 7.449 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.002933/0.4062, allocations: 1.716 MB / 0.5261 GB, free: 5.723 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007375/0.4069, allocations: 309.9 kB / 0.5264 GB, free: 5.418 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/0.408, allocations: 494.3 kB / 0.5268 GB, free: 4.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.532e-05/0.4081, allocations: 23.98 kB / 0.5269 GB, free: 4.906 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.4081, allocations: 0 / 0.5269 GB, free: 4.906 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.4081, allocations: 4 kB / 0.5269 GB, free: 4.902 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006335/0.4144, allocations: 3.137 MB / 0.5299 GB, free: 1.688 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.4144, allocations: 0 / 0.5299 GB, free: 1.688 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004866/0.4149, allocations: 111.8 kB / 0.53 GB, free: 1.578 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.199e-05/0.4149, allocations: 8 kB / 0.53 GB, free: 1.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.851e-05/0.415, allocations: 16.22 kB / 0.5301 GB, free: 1.555 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.048e-05/0.415, allocations: 15.98 kB / 0.5301 GB, free: 1.539 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/0.415, allocations: 7.938 kB / 0.5301 GB, free: 1.531 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002732/0.4177, allocations: 2.223 MB / 0.5322 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008565/0.4186, allocations: 361.6 kB / 0.5326 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002514/0.4188, allocations: 27.81 kB / 0.5326 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008685/0.4197, allocations: 35.88 kB / 0.5327 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.4198, allocations: 51.8 kB / 0.5327 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-05/0.4199, allocations: 36.06 kB / 0.5327 GB, free: 14.75 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003451/0.4233, allocations: 2.333 MB / 0.535 GB, free: 12.43 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4233, allocations: 0 / 0.535 GB, free: 12.43 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003489/0.4268, allocations: 0.8106 MB / 0.5358 GB, free: 11.62 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.0003088/0.4271, allocations: 154.9 kB / 0.536 GB, free: 11.46 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004412/0.4315, allocations: 2.699 MB / 0.5386 GB, free: 8.789 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/0.4315, allocations: 4.75 kB / 0.5386 GB, free: 8.785 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006667/0.4322, allocations: 407.6 kB / 0.539 GB, free: 8.387 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00206/0.4343, allocations: 375.7 kB / 0.5393 GB, free: 8.023 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/0.4451, allocations: 6.783 MB / 0.546 GB, free: 1.16 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1896/0.6347, allocations: 2.686 MB / 0.5486 GB, free: 119 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00343/0.6381, allocations: 1.492 MB / 0.55 GB, free: 118.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004105/0.6385, allocations: 198.9 kB / 0.5502 GB, free: 118.9 MB / 462.1 MB Notification: Performance of SimCode: time 1.162e-06/0.6385, allocations: 0 / 0.5502 GB, free: 118.9 MB / 462.1 MB Notification: Performance of Templates: time 0.04204/0.6806, allocations: 22.79 MB / 0.5725 GB, free: 104.4 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins/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: 5.709821387194097]