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.0008224/0.0008224, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0009354/0.0009354, allocations: 163.4 kB / 24.91 MB, free: 8.715 MB / 18.57 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 0.9658/0.9658, allocations: 177 MB / 205.2 MB, free: 5.008 MB / 186.7 MB " [Timeout remaining time 179] 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 1.383e-06/1.383e-06, allocations: 0 / 273.4 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.122e-05/2.26e-05, allocations: 5.406 kB / 273.4 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.00676/0.006782, allocations: 8.57 MB / 282 MB, free: 8.383 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004328/0.01111, allocations: 2.751 MB / 284.8 MB, free: 5.621 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000575/0.01169, allocations: 63.75 kB / 284.8 MB, free: 5.559 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002032/0.01372, allocations: 1.927 MB / 286.7 MB, free: 3.625 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001681/0.0154, allocations: 1.407 MB / 288.2 MB, free: 2.211 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.01567, allocations: 239.4 kB / 288.4 MB, free: 1.977 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1098/0.1255, allocations: 3.432 MB / 291.8 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002613/0.1281, allocations: 2.034 MB / 293.9 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002782/0.1309, allocations: 1.727 MB / 295.6 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002164/0.133, allocations: 1.439 MB / 297 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004683/0.1335, allocations: 183.6 kB / 297.2 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008974/0.1344, allocations: 468.1 kB / 297.7 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001025/0.1354, allocations: 1.378 MB / 299 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001067/0.1365, allocations: 0.8073 MB / 299.8 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002967/0.1395, allocations: 3.068 MB / 302.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1395, allocations: 0 / 302.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1395, allocations: 3.406 kB / 302.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001853/0.1397, allocations: 0 / 302.9 MB, free: 13.36 MB / 266.7 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.003796/0.1435, allocations: 3.459 MB / 306.4 MB, free: 11.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.1435, allocations: 13.58 kB / 306.4 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002258/0.1458, allocations: 0.8596 MB / 307.2 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001525/0.1473, allocations: 1.41 MB / 308.7 MB, free: 10.53 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.574e-05/0.1474, allocations: 150.5 kB / 308.8 MB, free: 10.49 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002036/0.1476, allocations: 192.8 kB / 309 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003195/0.1508, allocations: 3.455 MB / 312.4 MB, free: 8.324 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.765e-05/0.1508, allocations: 25.88 kB / 312.5 MB, free: 8.324 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001586/0.151, allocations: 103.1 kB / 312.6 MB, free: 8.273 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002082/0.153, allocations: 1.416 MB / 314 MB, free: 6.887 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002513/0.1556, allocations: 1.682 MB / 315.7 MB, free: 5.371 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01574/0.1713, allocations: 22.47 MB / 338.1 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.1724, allocations: 0.7521 MB / 338.9 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.1726, allocations: 154.9 kB / 339 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002283/0.1749, allocations: 2 MB / 341 MB, free: 11.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.1749, allocations: 41.38 kB / 341.1 MB, free: 11.88 MB / 298.7 MB Notification: Performance of pre-optimization done (n=89): time 3.416e-06/0.1749, allocations: 4 kB / 341.1 MB, free: 11.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=89): time 0.001596/0.1765, allocations: 0.8024 MB / 341.9 MB, free: 11.1 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.958e-05/0.1766, allocations: 217.6 kB / 342.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001892/0.1785, allocations: 2.585 MB / 344.7 MB, free: 8.773 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/0.1785, allocations: 33.7 kB / 344.7 MB, free: 8.734 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001027/0.1795, allocations: 2.561 MB / 347.3 MB, free: 6.32 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003506/0.1799, allocations: 402.9 kB / 347.7 MB, free: 5.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006244/0.1805, allocations: 0.9056 MB / 348.6 MB, free: 5.012 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.421e-05/0.1806, allocations: 305.1 kB / 348.9 MB, free: 4.711 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004626/0.181, allocations: 474.2 kB / 349.3 MB, free: 4.242 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001747/0.1828, allocations: 3.686 MB / 353 MB, free: 14.9 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003483/0.1863, allocations: 4.788 MB / 357.8 MB, free: 8.605 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.713e-05/0.1863, allocations: 32 kB / 357.8 MB, free: 8.574 MB / 314.7 MB Notification: Performance of matching and sorting (n=622) (initialization): time 0.003697/0.19, allocations: 3.31 MB / 361.2 MB, free: 5.25 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.914e-05/0.1901, allocations: 56 kB / 361.2 MB, free: 5.195 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.546e-05/0.1901, allocations: 120 kB / 361.3 MB, free: 5.078 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.319e-05/0.1902, allocations: 155.9 kB / 361.5 MB, free: 4.926 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001737/0.192, allocations: 1.115 MB / 362.6 MB, free: 3.809 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001183/0.1921, allocations: 227.1 kB / 362.8 MB, free: 3.586 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002013/0.1941, allocations: 0.652 MB / 363.5 MB, free: 2.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002392/0.1943, allocations: 276 kB / 363.7 MB, free: 2.66 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 545 * 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 (590): * Single equations (assignments): 586 * 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.001165/0.1955, allocations: 0.5277 MB / 364.3 MB, free: 2.117 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002642/0.1958, allocations: 155.8 kB / 364.4 MB, free: 1.965 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004167/0.1962, allocations: 372.7 kB / 364.8 MB, free: 1.586 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.338e-05/0.1962, allocations: 27.92 kB / 364.8 MB, free: 1.559 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1962, allocations: 0 / 364.8 MB, free: 1.559 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.1962, allocations: 7.984 kB / 364.8 MB, free: 1.551 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002561/0.1988, allocations: 1.647 MB / 366.5 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.1988, allocations: 10.97 kB / 366.5 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002421/0.199, allocations: 99.84 kB / 366.6 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.199, allocations: 8 kB / 366.6 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.1991, allocations: 15.97 kB / 366.6 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.1991, allocations: 8 kB / 366.6 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.1991, allocations: 7.938 kB / 366.6 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007889/0.1999, allocations: 1.257 MB / 367.9 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002964/0.2002, allocations: 297.7 kB / 368.2 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/0.2003, allocations: 16 kB / 368.2 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003748/0.2007, allocations: 24.03 kB / 368.2 MB, free: 14.06 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.851e-05/0.2007, allocations: 47.8 kB / 368.2 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-05/0.2008, allocations: 27.98 kB / 368.3 MB, free: 13.99 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008893/0.2017, allocations: 1.08 MB / 369.4 MB, free: 12.91 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2017, allocations: 0 / 369.4 MB, free: 12.91 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002482/0.2041, allocations: 0.8336 MB / 370.2 MB, free: 12.08 MB / 330.7 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.0002344/0.2044, allocations: 120.2 kB / 370.3 MB, free: 11.95 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001862/0.2062, allocations: 1.834 MB / 372.1 MB, free: 10.13 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001391/0.2064, allocations: 92.16 kB / 372.2 MB, free: 10.04 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.2065, allocations: 171.5 kB / 372.4 MB, free: 9.863 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.2076, allocations: 360.6 kB / 372.7 MB, free: 9.52 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006358/0.214, allocations: 5.739 MB / 378.5 MB, free: 3.676 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000765/0.2147, allocations: 0.9425 MB / 379.4 MB, free: 2.719 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009116/0.2156, allocations: 437 kB / 379.9 MB, free: 2.289 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000512/0.2162, allocations: 465.1 kB / 380.3 MB, free: 1.836 MB / 330.7 MB Notification: Performance of SimCode: time 1.763e-06/0.2162, allocations: 0 / 380.3 MB, free: 1.836 MB / 330.7 MB Notification: Performance of Templates: time 0.03018/0.2463, allocations: 18.42 MB / 398.7 MB, free: 15.64 MB / 362.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1282576308585703]