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.001798/0.001798, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 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.002092/0.002092, allocations: 164.6 kB / 24.5 MB, free: 3.449 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.451/1.451, allocations: 177.1 MB / 204.7 MB, free: 8.996 MB / 190.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.001908/0.001908, allocations: 62.53 kB / 325.5 MB, free: 208 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09006/0.09197, allocations: 53.39 MB / 378.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01094/0.1029, allocations: 7.974 MB / 386.9 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005462/0.1084, allocations: 2.589 MB / 389.5 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006374/0.109, allocations: 59.75 kB / 389.5 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003634/0.1126, allocations: 1.783 MB / 391.3 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003031/0.1157, allocations: 1.366 MB / 392.7 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005259/0.1162, allocations: 219.7 kB / 392.9 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003081/0.1193, allocations: 2.347 MB / 395.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002103/0.1214, allocations: 1.719 MB / 397 MB, free: 13.31 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001384/0.1228, allocations: 1.016 MB / 398 MB, free: 12.29 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003416/0.1262, allocations: 2.505 MB / 400.5 MB, free: 9.781 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000365/0.1266, allocations: 195.9 kB / 400.7 MB, free: 9.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008529/0.1274, allocations: 427.4 kB / 401.1 MB, free: 9.172 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001348/0.1288, allocations: 1.332 MB / 402.4 MB, free: 7.836 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001173/0.1299, allocations: 1.121 MB / 403.6 MB, free: 6.707 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005328/0.1353, allocations: 4.858 MB / 408.4 MB, free: 1.828 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/0.1353, allocations: 8 kB / 408.4 MB, free: 1.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1353, allocations: 0 / 408.4 MB, free: 1.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.351e-05/0.1353, allocations: 0 / 408.4 MB, free: 1.82 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.006251/0.1416, allocations: 3.642 MB / 412.1 MB, free: 14.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.1416, allocations: 15.98 kB / 412.1 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006124/0.1477, allocations: 1.742 MB / 413.8 MB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003287/0.151, allocations: 1.533 MB / 415.4 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001381/0.1512, allocations: 151.8 kB / 415.5 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003884/0.1516, allocations: 195.9 kB / 415.7 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01013/0.1617, allocations: 6.99 MB / 422.7 MB, free: 2.918 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.734e-05/0.1617, allocations: 27.75 kB / 422.7 MB, free: 2.891 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002551/0.162, allocations: 99.88 kB / 422.8 MB, free: 2.793 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002347/0.1643, allocations: 1.559 MB / 424.4 MB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009588/0.1739, allocations: 5.497 MB / 429.9 MB, free: 11.72 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03063/0.2046, allocations: 25.41 MB / 455.3 MB, free: 1.422 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002755/0.2073, allocations: 1.17 MB / 456.4 MB, free: 192 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007406/0.2081, allocations: 471.7 kB / 456.9 MB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003836/0.2119, allocations: 2.038 MB / 458.9 MB, free: 13.64 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.517e-05/0.2119, allocations: 50.5 kB / 459 MB, free: 13.58 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 2.845e-06/0.212, allocations: 0 / 459 MB, free: 13.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.004204/0.2162, allocations: 1.811 MB / 460.8 MB, free: 11.76 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001659/0.2163, allocations: 217.8 kB / 461 MB, free: 11.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005463/0.2218, allocations: 3.535 MB / 464.6 MB, free: 7.957 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.988e-05/0.2218, allocations: 29.7 kB / 464.6 MB, free: 7.922 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002732/0.2246, allocations: 2.81 MB / 467.4 MB, free: 5.086 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000487/0.2251, allocations: 405.2 kB / 467.8 MB, free: 4.688 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001378/0.2264, allocations: 0.9646 MB / 468.7 MB, free: 3.711 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.2266, allocations: 305.1 kB / 469 MB, free: 3.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001932/0.2285, allocations: 1.208 MB / 470.3 MB, free: 2.195 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1853/0.4138, allocations: 4.524 MB / 474.8 MB, free: 77.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005221/0.419, allocations: 6.287 MB / 481.1 MB, free: 73.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.03e-05/0.4191, allocations: 38.31 kB / 481.1 MB, free: 73.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.007598/0.4267, allocations: 5.431 MB / 486.5 MB, free: 71.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.931e-05/0.4268, allocations: 59.2 kB / 486.6 MB, free: 71.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001249/0.4269, allocations: 119.8 kB / 486.7 MB, free: 71.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001561/0.4271, allocations: 155.1 kB / 486.9 MB, free: 71.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002694/0.4298, allocations: 1.085 MB / 487.9 MB, free: 70.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001664/0.4299, allocations: 233.3 kB / 488.2 MB, free: 70.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002684/0.4326, allocations: 0.6706 MB / 488.8 MB, free: 70.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003282/0.433, allocations: 316.8 kB / 489.2 MB, free: 70.77 MB / 430.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.001855/0.4348, allocations: 1.711 MB / 490.9 MB, free: 70.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003253/0.4351, allocations: 289.8 kB / 491.1 MB, free: 69.99 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006294/0.4358, allocations: 483.5 kB / 491.6 MB, free: 69.78 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-05/0.4358, allocations: 19.5 kB / 491.6 MB, free: 69.78 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.4358, allocations: 0 / 491.6 MB, free: 69.78 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.4358, allocations: 5.703 kB / 491.6 MB, free: 69.78 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003378/0.4392, allocations: 2.386 MB / 494 MB, free: 68.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.4392, allocations: 11.66 kB / 494 MB, free: 68.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004061/0.4396, allocations: 110 kB / 494.1 MB, free: 68.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.4396, allocations: 7.312 kB / 494.2 MB, free: 68.8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.699e-05/0.4396, allocations: 17.66 kB / 494.2 MB, free: 68.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/0.4397, allocations: 15.16 kB / 494.2 MB, free: 68.79 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.4397, allocations: 3.625 kB / 494.2 MB, free: 68.79 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001571/0.4412, allocations: 2.194 MB / 496.4 MB, free: 67.53 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004371/0.4417, allocations: 337.5 kB / 496.7 MB, free: 67.34 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001842/0.4418, allocations: 24.41 kB / 496.7 MB, free: 67.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007755/0.4426, allocations: 35.55 kB / 496.8 MB, free: 67.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.486e-05/0.4427, allocations: 48.38 kB / 496.8 MB, free: 67.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.697e-05/0.4428, allocations: 32.2 kB / 496.9 MB, free: 67.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002038/0.4448, allocations: 2.096 MB / 498.9 MB, free: 66.61 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4448, allocations: 0 / 498.9 MB, free: 66.61 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003098/0.4479, allocations: 0.8336 MB / 499.8 MB, free: 65.89 MB / 430.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.0002278/0.4481, allocations: 149.6 kB / 499.9 MB, free: 65.75 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00295/0.4511, allocations: 2.712 MB / 0.4909 GB, free: 63.37 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4511, allocations: 0 / 0.4909 GB, free: 63.37 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003964/0.4515, allocations: 404.1 kB / 0.4912 GB, free: 63.02 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/0.4532, allocations: 346 kB / 0.4916 GB, free: 62.74 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006822/0.46, allocations: 6.716 MB / 0.4981 GB, free: 56.54 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001913/0.4619, allocations: 2.138 MB / 0.5002 GB, free: 54.55 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002417/0.4643, allocations: 1.458 MB / 0.5016 GB, free: 53.09 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002777/0.4646, allocations: 192.5 kB / 0.5018 GB, free: 52.9 MB / 430.1 MB Notification: Performance of SimCode: time 4.3e-07/0.4646, allocations: 0 / 0.5018 GB, free: 52.9 MB / 430.1 MB Notification: Performance of Templates: time 0.03271/0.4973, allocations: 16.42 MB / 0.5179 GB, free: 36.91 MB / 430.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 -s ida -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/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_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.5692635860759765]