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.0009767/0.0009767, allocations: 84.25 kB / 22.22 MB, free: 2.281 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.001071/0.001071, allocations: 171 kB / 25.61 MB, free: 8.871 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.9467/0.9467, allocations: 177 MB / 205.9 MB, free: 4.445 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.232e-06/1.232e-06, allocations: 0 / 274.1 MB, free: 4.258 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.624e-05/1.747e-05, allocations: 5.406 kB / 274.1 MB, free: 4.254 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01724/0.01725, allocations: 8.531 MB / 282.7 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007277/0.02453, allocations: 2.639 MB / 285.3 MB, free: 9.059 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000666/0.0252, allocations: 59.75 kB / 285.4 MB, free: 9 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005514/0.03071, allocations: 1.927 MB / 287.3 MB, free: 7.066 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005252/0.03596, allocations: 1.415 MB / 288.7 MB, free: 5.645 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003685/0.03633, allocations: 247.5 kB / 288.9 MB, free: 5.402 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005002/0.04133, allocations: 3.434 MB / 292.4 MB, free: 1.961 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001922/0.04326, allocations: 2.113 MB / 294.5 MB, free: 15.8 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001982/0.04524, allocations: 1.8 MB / 296.3 MB, free: 13.99 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00177/0.04701, allocations: 1.555 MB / 297.8 MB, free: 12.43 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002632/0.04727, allocations: 188 kB / 298 MB, free: 12.25 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000746/0.04802, allocations: 455.4 kB / 298.5 MB, free: 11.8 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001088/0.04911, allocations: 1.383 MB / 299.9 MB, free: 10.42 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008045/0.04991, allocations: 0.8016 MB / 300.7 MB, free: 9.613 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003061/0.05297, allocations: 3.077 MB / 303.7 MB, free: 6.523 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.05298, allocations: 0 / 303.7 MB, free: 6.523 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.05298, allocations: 0 / 303.7 MB, free: 6.523 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.404e-05/0.053, allocations: 0 / 303.7 MB, free: 6.523 MB / 282.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.00479/0.05779, allocations: 3.951 MB / 307.7 MB, free: 2.512 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.05783, allocations: 8.031 kB / 307.7 MB, free: 2.504 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004253/0.06208, allocations: 1.134 MB / 308.8 MB, free: 1.367 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00226/0.06434, allocations: 1.559 MB / 310.4 MB, free: 15.76 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.6e-05/0.06442, allocations: 151.9 kB / 310.5 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002101/0.06463, allocations: 203.8 kB / 310.7 MB, free: 15.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003093/0.06772, allocations: 3.885 MB / 314.6 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.66e-05/0.06776, allocations: 27.75 kB / 314.6 MB, free: 10.76 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001681/0.06793, allocations: 103.9 kB / 314.7 MB, free: 10.66 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001152/0.06908, allocations: 1.403 MB / 316.1 MB, free: 9.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002039/0.07112, allocations: 1.587 MB / 317.7 MB, free: 7.648 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01596/0.08709, allocations: 31.69 MB / 349.4 MB, free: 6.852 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.08821, allocations: 0.6951 MB / 350.1 MB, free: 6.07 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/0.0884, allocations: 190.8 kB / 350.3 MB, free: 5.855 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00177/0.09017, allocations: 2.178 MB / 352.5 MB, free: 3.645 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.0902, allocations: 61.3 kB / 352.5 MB, free: 3.574 MB / 330.7 MB Notification: Performance of pre-optimization done (n=89): time 2.054e-06/0.0902, allocations: 0 / 352.5 MB, free: 3.574 MB / 330.7 MB Notification: Performance of matching and sorting (n=89): time 0.001669/0.09187, allocations: 1.054 MB / 353.6 MB, free: 2.52 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.603e-05/0.09194, allocations: 217.6 kB / 353.8 MB, free: 2.258 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1031/0.1951, allocations: 3.215 MB / 357 MB, free: 80.4 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000127/0.1952, allocations: 35.81 kB / 357.1 MB, free: 80.37 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001337/0.1965, allocations: 2.97 MB / 360 MB, free: 79.16 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002887/0.1968, allocations: 420.5 kB / 360.4 MB, free: 79 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008153/0.1977, allocations: 1.066 MB / 361.5 MB, free: 78.86 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.414e-05/0.1977, allocations: 477.5 kB / 362 MB, free: 78.39 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004863/0.1982, allocations: 334.8 kB / 362.3 MB, free: 78.38 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001575/0.1997, allocations: 5.295 MB / 367.6 MB, free: 71.89 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00268/0.2024, allocations: 6.305 MB / 373.9 MB, free: 65.2 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.694e-05/0.2025, allocations: 36 kB / 373.9 MB, free: 65.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=622) (initialization): time 0.003328/0.2058, allocations: 3.874 MB / 377.8 MB, free: 64.15 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.32e-05/0.2058, allocations: 60.38 kB / 377.9 MB, free: 64.15 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.638e-05/0.2059, allocations: 118.6 kB / 378 MB, free: 64.15 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.33e-05/0.206, allocations: 162.3 kB / 378.1 MB, free: 64.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/0.2074, allocations: 1.075 MB / 379.2 MB, free: 64.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.383e-05/0.2075, allocations: 229.1 kB / 379.4 MB, free: 63.99 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/0.2092, allocations: 0.6571 MB / 380.1 MB, free: 63.58 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000189/0.2094, allocations: 280.7 kB / 380.4 MB, free: 63.54 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.0006459/0.21, allocations: 0.5649 MB / 380.9 MB, free: 63.09 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002212/0.2102, allocations: 311.4 kB / 381.2 MB, free: 62.91 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003342/0.2106, allocations: 382.5 kB / 381.6 MB, free: 62.73 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.691e-05/0.2106, allocations: 21.86 kB / 381.6 MB, free: 62.72 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.2106, allocations: 0 / 381.6 MB, free: 62.72 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.2106, allocations: 6.328 kB / 381.6 MB, free: 62.72 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001934/0.2125, allocations: 1.959 MB / 383.6 MB, free: 61.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.2125, allocations: 4 kB / 383.6 MB, free: 61.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002191/0.2128, allocations: 97.55 kB / 383.7 MB, free: 61.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.2128, allocations: 8 kB / 383.7 MB, free: 61.29 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.2128, allocations: 12 kB / 383.7 MB, free: 61.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.2128, allocations: 4 kB / 383.7 MB, free: 61.27 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.2128, allocations: 7.938 kB / 383.7 MB, free: 61.26 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006783/0.2135, allocations: 1.695 MB / 385.4 MB, free: 59.57 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002257/0.2137, allocations: 308.6 kB / 385.7 MB, free: 59.29 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.2138, allocations: 15.66 kB / 385.7 MB, free: 59.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004055/0.2142, allocations: 16 kB / 385.8 MB, free: 59.26 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.842e-05/0.2143, allocations: 50.3 kB / 385.8 MB, free: 59.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.606e-05/0.2143, allocations: 27.66 kB / 385.8 MB, free: 59.2 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007852/0.2151, allocations: 1.334 MB / 387.2 MB, free: 58.18 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2151, allocations: 0 / 387.2 MB, free: 58.18 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001788/0.2169, allocations: 0.8308 MB / 388 MB, free: 57.34 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.0001817/0.2171, allocations: 142.7 kB / 388.1 MB, free: 57.2 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001276/0.2183, allocations: 1.862 MB / 390 MB, free: 55.58 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2183, allocations: 4 kB / 390 MB, free: 55.57 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.2185, allocations: 195.8 kB / 390.2 MB, free: 55.4 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.2196, allocations: 365 kB / 390.6 MB, free: 55.1 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004505/0.2241, allocations: 5.635 MB / 396.2 MB, free: 49.7 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006015/0.2247, allocations: 0.9464 MB / 397.1 MB, free: 48.73 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000802/0.2255, allocations: 437.3 kB / 397.6 MB, free: 48.31 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004201/0.2259, allocations: 0.4942 MB / 398.1 MB, free: 47.82 MB / 330.7 MB Notification: Performance of SimCode: time 8.92e-07/0.2259, allocations: 0 / 398.1 MB, free: 47.82 MB / 330.7 MB Notification: Performance of Templates: time 0.02617/0.2521, allocations: 18.85 MB / 416.9 MB, free: 29.39 MB / 330.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.4285446694120765]