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.001261/0.001261, allocations: 112.5 kB / 21.19 MB, free: 0.7578 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.001368/0.001368, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.411/1.411, allocations: 230.6 MB / 258.3 MB, free: 8.238 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.001825/0.001825, allocations: 47.92 kB / 379 MB, free: 2.766 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2895, allocations: 53.36 MB / 432.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01151/0.301, allocations: 9.069 MB / 441.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005676/0.3067, allocations: 2.746 MB / 444.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001168/0.3079, allocations: 55.75 kB / 444.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003804/0.3117, allocations: 1.876 MB / 446.2 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003297/0.315, allocations: 1.366 MB / 447.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005914/0.3155, allocations: 215.7 kB / 447.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003465/0.319, allocations: 2.345 MB / 450.1 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002621/0.3216, allocations: 1.734 MB / 451.8 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001867/0.3235, allocations: 1.012 MB / 452.8 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003949/0.3274, allocations: 2.587 MB / 455.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006953/0.3281, allocations: 188 kB / 455.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001407/0.3295, allocations: 0.515 MB / 456.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001483/0.331, allocations: 1.336 MB / 457.4 MB, free: 13.81 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001659/0.3327, allocations: 1.579 MB / 459 MB, free: 12.22 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005604/0.3383, allocations: 4.85 MB / 463.9 MB, free: 7.352 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3383, allocations: 11.94 kB / 463.9 MB, free: 7.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3383, allocations: 0 / 463.9 MB, free: 7.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001489/0.3385, allocations: 0 / 463.9 MB, free: 7.34 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.006927/0.3454, allocations: 3.638 MB / 467.5 MB, free: 3.648 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.3454, allocations: 12.03 kB / 467.5 MB, free: 3.637 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005968/0.3514, allocations: 1.714 MB / 469.2 MB, free: 1.918 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003399/0.3548, allocations: 1.525 MB / 470.8 MB, free: 364 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001353/0.3549, allocations: 163.7 kB / 470.9 MB, free: 200 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004202/0.3553, allocations: 195.9 kB / 471.1 MB, free: 4 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01048/0.3658, allocations: 6.982 MB / 478.1 MB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.777e-05/0.3659, allocations: 31.7 kB / 478.1 MB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002607/0.3662, allocations: 103.9 kB / 478.2 MB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002282/0.3684, allocations: 1.555 MB / 479.8 MB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009736/0.3782, allocations: 5.493 MB / 485.3 MB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03295/0.4111, allocations: 27.07 MB / 0.5003 GB, free: 5.309 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002636/0.4138, allocations: 1.139 MB / 0.5015 GB, free: 4.109 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007272/0.4145, allocations: 482.1 kB / 0.5019 GB, free: 3.621 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004031/0.4185, allocations: 2.222 MB / 0.5041 GB, free: 1.355 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.4186, allocations: 42.5 kB / 0.5041 GB, free: 1.305 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 2.394e-06/0.4186, allocations: 0 / 0.5041 GB, free: 1.305 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.003849/0.4224, allocations: 1.776 MB / 0.5059 GB, free: 15.52 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/0.4225, allocations: 217.6 kB / 0.5061 GB, free: 15.26 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005003/0.4275, allocations: 3.674 MB / 0.5097 GB, free: 11.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.784e-05/0.4276, allocations: 37.7 kB / 0.5097 GB, free: 11.55 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002249/0.4299, allocations: 2.796 MB / 0.5124 GB, free: 8.727 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003892/0.4303, allocations: 401.2 kB / 0.5128 GB, free: 8.332 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001155/0.4314, allocations: 0.9648 MB / 0.5137 GB, free: 7.355 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.4315, allocations: 301.1 kB / 0.514 GB, free: 7.059 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001807/0.4333, allocations: 1.208 MB / 0.5152 GB, free: 5.844 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004739/0.4381, allocations: 4.533 MB / 0.5196 GB, free: 15.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007784/0.4459, allocations: 6.29 MB / 0.5258 GB, free: 7.645 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.745e-05/0.446, allocations: 39.75 kB / 0.5258 GB, free: 7.609 MB / 446.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01016/0.4561, allocations: 5.451 MB / 0.5311 GB, free: 2.156 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.729e-05/0.4562, allocations: 56 kB / 0.5312 GB, free: 2.102 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001507/0.4564, allocations: 124.1 kB / 0.5313 GB, free: 1.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001677/0.4565, allocations: 152 kB / 0.5315 GB, free: 1.832 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00318/0.4597, allocations: 1.092 MB / 0.5325 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002069/0.4599, allocations: 227.1 kB / 0.5327 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003444/0.4634, allocations: 0.6943 MB / 0.5334 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004657/0.4638, allocations: 320 kB / 0.5337 GB, free: 15.5 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.00286/0.4667, allocations: 1.719 MB / 0.5354 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006474/0.4673, allocations: 313.8 kB / 0.5357 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000933/0.4683, allocations: 490.1 kB / 0.5362 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.258e-05/0.4683, allocations: 23.98 kB / 0.5362 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.4683, allocations: 0 / 0.5362 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.4683, allocations: 8 kB / 0.5362 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006046/0.4744, allocations: 3.125 MB / 0.5393 GB, free: 9.746 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.328e-06/0.4744, allocations: 4 kB / 0.5393 GB, free: 9.742 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005012/0.4749, allocations: 107.8 kB / 0.5394 GB, free: 9.637 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-05/0.4749, allocations: 11.94 kB / 0.5394 GB, free: 9.625 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.006e-05/0.475, allocations: 16 kB / 0.5394 GB, free: 9.609 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.564e-06/0.475, allocations: 4 kB / 0.5394 GB, free: 9.605 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.738e-06/0.475, allocations: 11.92 kB / 0.5394 GB, free: 9.594 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002819/0.4778, allocations: 2.227 MB / 0.5416 GB, free: 7.312 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008395/0.4786, allocations: 361.7 kB / 0.5419 GB, free: 6.957 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002382/0.4789, allocations: 35.81 kB / 0.542 GB, free: 6.922 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007989/0.4797, allocations: 36.03 kB / 0.542 GB, free: 6.887 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.4798, allocations: 47.8 kB / 0.542 GB, free: 6.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.156e-05/0.4798, allocations: 35.98 kB / 0.5421 GB, free: 6.805 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003537/0.4834, allocations: 2.329 MB / 0.5443 GB, free: 4.492 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4834, allocations: 4 kB / 0.5443 GB, free: 4.488 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003821/0.4872, allocations: 0.7989 MB / 0.5451 GB, free: 3.688 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.0003334/0.4875, allocations: 143 kB / 0.5453 GB, free: 3.539 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004758/0.4923, allocations: 2.71 MB / 0.5479 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.4923, allocations: 0 / 0.5479 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006341/0.4929, allocations: 401.9 kB / 0.5483 GB, free: 472 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002257/0.4952, allocations: 370.6 kB / 0.5486 GB, free: 100 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2135/0.7087, allocations: 7.158 MB / 0.5556 GB, free: 112.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002374/0.7111, allocations: 2.687 MB / 0.5583 GB, free: 111.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005653/0.7117, allocations: 235.7 kB / 0.5585 GB, free: 111.4 MB / 462.1 MB Notification: Performance of SimCode: time 1.523e-06/0.7117, allocations: 3.906 kB / 0.5585 GB, free: 111.4 MB / 462.1 MB Notification: Performance of Templates: time 0.05362/0.7653, allocations: 44.12 MB / 0.6016 GB, free: 71.69 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 -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: 10.862133441958576]