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.0009634/0.0009634, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001051/0.001051, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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.9763/0.9763, allocations: 177 MB / 204.8 MB, free: 5.605 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.853e-06/1.853e-06, allocations: 0 / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.355e-05/3.541e-05, allocations: 2.312 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01083/0.01086, allocations: 8.785 MB / 281.7 MB, free: 8.625 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004037/0.0149, allocations: 2.663 MB / 284.4 MB, free: 5.953 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006153/0.01552, allocations: 59.75 kB / 284.4 MB, free: 5.895 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0025/0.01802, allocations: 1.966 MB / 286.4 MB, free: 3.922 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001895/0.01991, allocations: 1.407 MB / 287.8 MB, free: 2.508 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000359/0.02027, allocations: 247.4 kB / 288.1 MB, free: 2.266 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1282/0.1484, allocations: 3.43 MB / 291.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00322/0.1517, allocations: 2.109 MB / 293.6 MB, free: 15 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002871/0.1545, allocations: 1.533 MB / 295.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003168/0.1577, allocations: 1.827 MB / 297 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007363/0.1584, allocations: 192.1 kB / 297.1 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001075/0.1595, allocations: 462.2 kB / 297.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0013/0.1608, allocations: 1.388 MB / 299 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001209/0.162, allocations: 0.8189 MB / 299.8 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003411/0.1654, allocations: 3.08 MB / 302.9 MB, free: 13.31 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1654, allocations: 0 / 302.9 MB, free: 13.31 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1654, allocations: 0 / 302.9 MB, free: 13.31 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.052e-05/0.1655, allocations: 0 / 302.9 MB, free: 13.31 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.003965/0.1695, allocations: 3.951 MB / 306.8 MB, free: 10.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.1695, allocations: 13.86 kB / 306.8 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003259/0.1728, allocations: 2.031 MB / 308.9 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00153/0.1743, allocations: 1.472 MB / 310.3 MB, free: 9.457 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.567e-05/0.1744, allocations: 153.3 kB / 310.5 MB, free: 9.414 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002221/0.1746, allocations: 200.4 kB / 310.7 MB, free: 9.371 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003371/0.178, allocations: 4.148 MB / 314.8 MB, free: 5.523 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.343e-05/0.178, allocations: 33.91 kB / 314.9 MB, free: 5.508 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001693/0.1782, allocations: 100.6 kB / 315 MB, free: 5.438 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001126/0.1793, allocations: 1.557 MB / 316.5 MB, free: 3.906 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002934/0.1822, allocations: 1.934 MB / 318.5 MB, free: 2.121 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01927/0.2015, allocations: 31.74 MB / 350.2 MB, free: 1.633 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001456/0.203, allocations: 0.7367 MB / 350.9 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002605/0.2032, allocations: 210.5 kB / 351.1 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002691/0.2059, allocations: 2.245 MB / 353.4 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.206, allocations: 44.67 kB / 353.4 MB, free: 14.29 MB / 314.7 MB Notification: Performance of pre-optimization done (n=89): time 3.436e-06/0.206, allocations: 4 kB / 353.4 MB, free: 14.28 MB / 314.7 MB Notification: Performance of matching and sorting (n=89): time 0.001966/0.2079, allocations: 1.106 MB / 354.5 MB, free: 13.19 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.754e-05/0.208, allocations: 221.1 kB / 354.8 MB, free: 12.93 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002948/0.2109, allocations: 3.235 MB / 358 MB, free: 9.68 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.211, allocations: 29.7 kB / 358 MB, free: 9.645 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001789/0.2128, allocations: 2.947 MB / 361 MB, free: 6.711 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003054/0.2131, allocations: 417.2 kB / 361.4 MB, free: 6.309 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009643/0.214, allocations: 1.039 MB / 362.4 MB, free: 5.258 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.2142, allocations: 480.8 kB / 362.9 MB, free: 4.785 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006917/0.2149, allocations: 421.1 kB / 363.3 MB, free: 4.367 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003028/0.2179, allocations: 5.348 MB / 368.6 MB, free: 12.75 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004666/0.2225, allocations: 6.377 MB / 375 MB, free: 4.227 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.996e-05/0.2226, allocations: 32.75 kB / 375.1 MB, free: 4.195 MB / 330.7 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.007442/0.2301, allocations: 4.113 MB / 379.2 MB, free: 84 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.843e-05/0.2301, allocations: 58.97 kB / 379.2 MB, free: 28 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001525/0.2303, allocations: 124 kB / 379.3 MB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001582/0.2304, allocations: 152 kB / 379.5 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002915/0.2334, allocations: 1.084 MB / 380.6 MB, free: 14.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001802/0.2335, allocations: 231.1 kB / 380.8 MB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0034/0.2369, allocations: 0.6628 MB / 381.5 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003819/0.2373, allocations: 316 kB / 381.8 MB, free: 13.47 MB / 346.7 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.001512/0.2388, allocations: 0.5692 MB / 382.3 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004677/0.2393, allocations: 310 kB / 382.6 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006855/0.24, allocations: 395.6 kB / 383 MB, free: 12.19 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.022e-05/0.24, allocations: 16 kB / 383 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.2401, allocations: 4 kB / 383.1 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.2401, allocations: 3.984 kB / 383.1 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005952/0.246, allocations: 2.757 MB / 385.8 MB, free: 9.332 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/0.246, allocations: 4 kB / 385.8 MB, free: 9.328 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004397/0.2465, allocations: 104.1 kB / 385.9 MB, free: 9.227 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.728e-05/0.2465, allocations: 12 kB / 385.9 MB, free: 9.215 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.061e-05/0.2465, allocations: 12 kB / 385.9 MB, free: 9.203 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.528e-05/0.2465, allocations: 8 kB / 386 MB, free: 9.195 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/0.2466, allocations: 7.938 kB / 386 MB, free: 9.188 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00178/0.2483, allocations: 1.738 MB / 387.7 MB, free: 7.379 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006219/0.249, allocations: 317.8 kB / 388 MB, free: 7.066 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002026/0.2492, allocations: 23.95 kB / 388 MB, free: 7.043 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007235/0.2499, allocations: 30.95 kB / 388.1 MB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.25, allocations: 63.83 kB / 388.1 MB, free: 6.953 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.969e-05/0.2501, allocations: 28 kB / 388.1 MB, free: 6.926 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002264/0.2523, allocations: 1.427 MB / 389.6 MB, free: 5.508 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.2523, allocations: 0 / 389.6 MB, free: 5.508 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004357/0.2567, allocations: 0.8259 MB / 390.4 MB, free: 4.68 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.0003272/0.257, allocations: 143 kB / 390.5 MB, free: 4.535 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00385/0.2609, allocations: 1.952 MB / 392.5 MB, free: 2.602 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.2609, allocations: 0 / 392.5 MB, free: 2.602 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003417/0.2612, allocations: 214.4 kB / 392.7 MB, free: 2.391 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/0.2631, allocations: 358.4 kB / 393.1 MB, free: 2.059 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009785/0.2729, allocations: 5.621 MB / 398.7 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001108/0.274, allocations: 0.9512 MB / 399.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002828/0.2768, allocations: 1.305 MB / 400.9 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003735/0.2772, allocations: 184.5 kB / 401.1 MB, free: 9.859 MB / 362.7 MB Notification: Performance of SimCode: time 1.914e-06/0.2772, allocations: 0 / 401.1 MB, free: 9.859 MB / 362.7 MB Notification: Performance of Templates: time 0.03494/0.3121, allocations: 16.2 MB / 417.3 MB, free: 10.14 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.679761736188084]