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.001003/0.001003, allocations: 81.81 kB / 21.42 MB, free: 3.066 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.0009909/0.0009909, allocations: 166.7 kB / 24.82 MB, free: 9.266 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.982/0.982, allocations: 177 MB / 205.1 MB, free: 5.48 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.803e-06/1.803e-06, allocations: 0 / 273.3 MB, free: 1.207 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.549e-05/1.729e-05, allocations: 5.266 kB / 273.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.006848/0.006865, allocations: 8.511 MB / 281.9 MB, free: 8.652 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004191/0.01106, allocations: 2.639 MB / 284.5 MB, free: 6.004 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006767/0.01173, allocations: 59.75 kB / 284.6 MB, free: 5.945 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002135/0.01387, allocations: 1.942 MB / 286.5 MB, free: 3.996 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001987/0.01585, allocations: 1.415 MB / 287.9 MB, free: 2.574 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003328/0.01619, allocations: 235.5 kB / 288.1 MB, free: 2.344 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1029/0.1191, allocations: 3.429 MB / 291.6 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002044/0.1211, allocations: 2.108 MB / 293.7 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002211/0.1233, allocations: 1.792 MB / 295.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001758/0.1251, allocations: 1.563 MB / 297 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004053/0.1255, allocations: 182.7 kB / 297.2 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007354/0.1262, allocations: 461.5 kB / 297.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007854/0.127, allocations: 1.381 MB / 299.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006943/0.1277, allocations: 0.8008 MB / 299.9 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002305/0.13, allocations: 3.068 MB / 302.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.13, allocations: 0 / 302.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.13, allocations: 0 / 302.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.074e-05/0.1301, allocations: 2.062 kB / 302.9 MB, free: 13.2 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.003119/0.1332, allocations: 3.958 MB / 306.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.1333, allocations: 10.55 kB / 306.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002265/0.1355, allocations: 1.141 MB / 308 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/0.1368, allocations: 1.56 MB / 309.6 MB, free: 9.734 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.522e-05/0.1368, allocations: 149.1 kB / 309.7 MB, free: 9.695 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001923/0.137, allocations: 203.8 kB / 309.9 MB, free: 9.652 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002455/0.1395, allocations: 3.885 MB / 313.8 MB, free: 6.801 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.785e-05/0.1395, allocations: 28.88 kB / 313.8 MB, free: 6.789 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001464/0.1397, allocations: 96.52 kB / 313.9 MB, free: 6.723 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008747/0.1405, allocations: 1.414 MB / 315.4 MB, free: 5.336 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001672/0.1422, allocations: 1.591 MB / 316.9 MB, free: 3.895 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0142/0.1564, allocations: 31.69 MB / 348.6 MB, free: 4.125 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.1575, allocations: 0.6973 MB / 349.3 MB, free: 3.371 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001844/0.1577, allocations: 189 kB / 349.5 MB, free: 3.164 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001765/0.1594, allocations: 2.184 MB / 351.7 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.1595, allocations: 51.7 kB / 351.8 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of pre-optimization done (n=89): time 1.904e-06/0.1595, allocations: 4 kB / 351.8 MB, free: 0.918 MB / 298.7 MB Notification: Performance of matching and sorting (n=89): time 0.001617/0.1611, allocations: 1.051 MB / 352.8 MB, free: 15.88 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.596e-05/0.1611, allocations: 217 kB / 353 MB, free: 15.62 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002287/0.1634, allocations: 3.224 MB / 356.2 MB, free: 12.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/0.1635, allocations: 37.7 kB / 356.3 MB, free: 12.87 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001298/0.1648, allocations: 2.968 MB / 359.3 MB, free: 9.945 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002249/0.165, allocations: 425.1 kB / 359.7 MB, free: 9.527 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007984/0.1658, allocations: 1.06 MB / 360.7 MB, free: 8.453 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.89e-05/0.1659, allocations: 476.8 kB / 361.2 MB, free: 7.984 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003755/0.1663, allocations: 333.3 kB / 361.5 MB, free: 7.652 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00245/0.1687, allocations: 5.301 MB / 366.8 MB, free: 84 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003371/0.1721, allocations: 6.318 MB / 373.1 MB, free: 7.602 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-05/0.1721, allocations: 32 kB / 373.2 MB, free: 7.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=622) (initialization): time 0.00363/0.1757, allocations: 3.872 MB / 377 MB, free: 3.695 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.097e-05/0.1758, allocations: 56 kB / 377.1 MB, free: 3.641 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-05/0.1759, allocations: 120 kB / 377.2 MB, free: 3.523 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.569e-05/0.176, allocations: 155.9 kB / 377.4 MB, free: 3.371 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001875/0.1779, allocations: 1.08 MB / 378.4 MB, free: 2.289 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001024/0.178, allocations: 227.7 kB / 378.7 MB, free: 2.066 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003193/0.1812, allocations: 0.6554 MB / 379.3 MB, free: 1.406 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002913/0.1815, allocations: 280 kB / 379.6 MB, free: 1.133 MB / 330.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.0009995/0.1825, allocations: 0.5666 MB / 380.2 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003367/0.1828, allocations: 306 kB / 380.5 MB, free: 260 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005168/0.1833, allocations: 388.9 kB / 380.8 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.095e-05/0.1834, allocations: 27.92 kB / 380.9 MB, free: 15.83 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1834, allocations: 4 kB / 380.9 MB, free: 15.83 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.1834, allocations: 0 / 380.9 MB, free: 15.83 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002909/0.1863, allocations: 1.94 MB / 382.8 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.1863, allocations: 8.281 kB / 382.8 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002618/0.1866, allocations: 91.84 kB / 382.9 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-06/0.1866, allocations: 8 kB / 382.9 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/0.1866, allocations: 23.61 kB / 382.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.1866, allocations: 4 kB / 382.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.1866, allocations: 7.938 kB / 383 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.1877, allocations: 1.698 MB / 384.7 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003809/0.1881, allocations: 301.8 kB / 384.9 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.1882, allocations: 16 kB / 385 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005798/0.1888, allocations: 24.02 kB / 385 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.053e-05/0.1888, allocations: 55.8 kB / 385 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.463e-05/0.1889, allocations: 24 kB / 385.1 MB, free: 11.5 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00116/0.19, allocations: 1.337 MB / 386.4 MB, free: 10.17 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.19, allocations: 0 / 386.4 MB, free: 10.17 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002478/0.1925, allocations: 0.8298 MB / 387.2 MB, free: 9.336 MB / 346.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.0002452/0.1928, allocations: 143 kB / 387.4 MB, free: 9.188 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002048/0.1948, allocations: 1.847 MB / 389.2 MB, free: 7.352 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.1948, allocations: 4 kB / 389.2 MB, free: 7.348 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002066/0.195, allocations: 201.8 kB / 389.4 MB, free: 7.145 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.1962, allocations: 361.4 kB / 389.8 MB, free: 6.812 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00671/0.2029, allocations: 5.641 MB / 395.4 MB, free: 1.051 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007828/0.2037, allocations: 0.9473 MB / 396.4 MB, free: 92 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001002/0.2047, allocations: 437.1 kB / 396.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005267/0.2052, allocations: 0.4902 MB / 397.3 MB, free: 15.17 MB / 362.7 MB Notification: Performance of SimCode: time 1.703e-06/0.2052, allocations: 3.938 kB / 397.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of Templates: time 0.03079/0.236, allocations: 18.47 MB / 415.7 MB, free: 12.93 MB / 378.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 -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.483267618343234]