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.001316/0.001316, allocations: 84.73 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.001473/0.001473, allocations: 160.1 kB / 24.91 MB, free: 8.262 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.8945/0.8945, allocations: 177 MB / 205.2 MB, free: 5.469 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.573e-06/1.573e-06, allocations: 0 / 273.4 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.984e-05/2.141e-05, allocations: 2.312 kB / 273.4 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.009541/0.009562, allocations: 8.523 MB / 281.9 MB, free: 8.664 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004812/0.01437, allocations: 2.759 MB / 284.7 MB, free: 5.895 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005365/0.01491, allocations: 55.75 kB / 284.7 MB, free: 5.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002069/0.01698, allocations: 1.954 MB / 286.7 MB, free: 3.879 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001644/0.01862, allocations: 1.427 MB / 288.1 MB, free: 2.445 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002816/0.01891, allocations: 243.4 kB / 288.3 MB, free: 2.207 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.09602/0.1149, allocations: 3.433 MB / 291.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002186/0.1171, allocations: 2.179 MB / 294 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002272/0.1194, allocations: 1.743 MB / 295.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001885/0.1213, allocations: 1.437 MB / 297.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004419/0.1217, allocations: 186.6 kB / 297.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007609/0.1225, allocations: 463.8 kB / 297.8 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008841/0.1234, allocations: 1.382 MB / 299.2 MB, free: 14 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000937/0.1243, allocations: 0.8003 MB / 300 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002413/0.1267, allocations: 3.065 MB / 303 MB, free: 13.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1267, allocations: 0 / 303 MB, free: 13.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1267, allocations: 0 / 303 MB, free: 13.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001138/0.1268, allocations: 0 / 303 MB, free: 13.07 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.002901/0.1297, allocations: 3.456 MB / 306.5 MB, free: 11.12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.843e-05/0.1298, allocations: 14.45 kB / 306.5 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002065/0.1318, allocations: 0.8655 MB / 307.4 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.133, allocations: 1.402 MB / 308.8 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.778e-05/0.1331, allocations: 155.7 kB / 308.9 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002033/0.1333, allocations: 193.5 kB / 309.1 MB, free: 10.17 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002282/0.1356, allocations: 3.451 MB / 312.6 MB, free: 8.109 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.221e-05/0.1356, allocations: 34.47 kB / 312.6 MB, free: 8.105 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001628/0.1358, allocations: 98.2 kB / 312.7 MB, free: 8.066 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009418/0.1367, allocations: 1.416 MB / 314.1 MB, free: 6.809 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001764/0.1385, allocations: 1.673 MB / 315.8 MB, free: 5.293 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01138/0.1499, allocations: 22.48 MB / 338.2 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.1509, allocations: 0.7561 MB / 339 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/0.1511, allocations: 152.5 kB / 339.2 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001826/0.1529, allocations: 2 MB / 341.2 MB, free: 11.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.1529, allocations: 50.2 kB / 341.2 MB, free: 11.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=89): time 1.873e-06/0.1529, allocations: 0 / 341.2 MB, free: 11.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=89): time 0.001578/0.1545, allocations: 0.804 MB / 342 MB, free: 11.01 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/0.1546, allocations: 213.1 kB / 342.2 MB, free: 10.76 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001667/0.1562, allocations: 2.594 MB / 344.8 MB, free: 8.688 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/0.1563, allocations: 33.7 kB / 344.8 MB, free: 8.648 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009248/0.1572, allocations: 2.556 MB / 347.4 MB, free: 6.238 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001861/0.1574, allocations: 394.7 kB / 347.8 MB, free: 5.871 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006445/0.158, allocations: 0.9096 MB / 348.7 MB, free: 4.949 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.647e-05/0.1581, allocations: 305.3 kB / 349 MB, free: 4.648 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004928/0.1586, allocations: 480.1 kB / 349.5 MB, free: 4.172 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001846/0.1604, allocations: 3.674 MB / 353.1 MB, free: 14.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003001/0.1634, allocations: 4.789 MB / 357.9 MB, free: 8.531 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-05/0.1635, allocations: 36.88 kB / 358 MB, free: 8.496 MB / 314.7 MB Notification: Performance of matching and sorting (n=622) (initialization): time 0.003114/0.1666, allocations: 3.302 MB / 361.3 MB, free: 5.176 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.698e-05/0.1666, allocations: 56 kB / 361.3 MB, free: 5.121 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.547e-05/0.1667, allocations: 120 kB / 361.4 MB, free: 5.004 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.124e-05/0.1668, allocations: 160.7 kB / 361.6 MB, free: 4.848 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001577/0.1684, allocations: 1.072 MB / 362.7 MB, free: 3.773 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001031/0.1685, allocations: 235.1 kB / 362.9 MB, free: 3.543 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/0.1699, allocations: 0.6514 MB / 363.5 MB, free: 2.887 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002107/0.1701, allocations: 277.2 kB / 363.8 MB, free: 2.617 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.0006094/0.1707, allocations: 0.5238 MB / 364.3 MB, free: 2.078 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/0.1709, allocations: 167.7 kB / 364.5 MB, free: 1.914 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003637/0.1713, allocations: 363.1 kB / 364.9 MB, free: 1.547 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-05/0.1713, allocations: 27.94 kB / 364.9 MB, free: 1.52 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1713, allocations: 0 / 364.9 MB, free: 1.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.1713, allocations: 7.984 kB / 364.9 MB, free: 1.512 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001909/0.1732, allocations: 1.655 MB / 366.5 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.1733, allocations: 4 kB / 366.5 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002252/0.1735, allocations: 95.83 kB / 366.6 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.1735, allocations: 4 kB / 366.6 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/0.1735, allocations: 15.5 kB / 366.7 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.1735, allocations: 8 kB / 366.7 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.1735, allocations: 7.938 kB / 366.7 MB, free: 15.67 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007326/0.1742, allocations: 1.26 MB / 367.9 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003793/0.1746, allocations: 301.9 kB / 368.2 MB, free: 14.06 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.1748, allocations: 19.98 kB / 368.2 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003937/0.1752, allocations: 19.98 kB / 368.3 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.561e-05/0.1752, allocations: 51.8 kB / 368.3 MB, free: 13.97 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.042e-05/0.1752, allocations: 24 kB / 368.3 MB, free: 13.95 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008095/0.1761, allocations: 1.08 MB / 369.4 MB, free: 12.88 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1761, allocations: 0 / 369.4 MB, free: 12.88 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001885/0.1779, allocations: 0.8375 MB / 370.3 MB, free: 12.04 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.0001862/0.1781, allocations: 124.2 kB / 370.4 MB, free: 11.91 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001386/0.1795, allocations: 1.825 MB / 372.2 MB, free: 10.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001314/0.1796, allocations: 96.34 kB / 372.3 MB, free: 9.992 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.1798, allocations: 166.4 kB / 372.5 MB, free: 9.824 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.1809, allocations: 353.9 kB / 372.8 MB, free: 9.488 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005438/0.1863, allocations: 5.735 MB / 378.5 MB, free: 3.648 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007328/0.187, allocations: 0.9425 MB / 379.5 MB, free: 2.691 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008228/0.1879, allocations: 438.1 kB / 379.9 MB, free: 2.258 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004929/0.1884, allocations: 465.1 kB / 380.4 MB, free: 1.805 MB / 330.7 MB Notification: Performance of SimCode: time 7.82e-07/0.1884, allocations: 0 / 380.4 MB, free: 1.805 MB / 330.7 MB Notification: Performance of Templates: time 0.02894/0.2173, allocations: 18.42 MB / 398.8 MB, free: 15.62 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 -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.048319648951292]