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.001846/0.001846, allocations: 84.95 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001439/0.001439, allocations: 158.2 kB / 23.95 MB, free: 4.168 MB / 14.72 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 1.459/1.459, allocations: 177 MB / 204.1 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] 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 2.014e-06/2.014e-06, allocations: 0 / 325 MB, free: 496 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.815e-05/3.017e-05, allocations: 2.281 kB / 325 MB, free: 492 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01082/0.01085, allocations: 7.982 MB / 333 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007335/0.01818, allocations: 2.596 MB / 335.6 MB, free: 9.242 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001689/0.01987, allocations: 56.31 kB / 335.7 MB, free: 9.227 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004606/0.02448, allocations: 1.881 MB / 337.5 MB, free: 7.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004896/0.02937, allocations: 1.4 MB / 338.9 MB, free: 7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007763/0.03015, allocations: 236.9 kB / 339.2 MB, free: 6.832 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005337/0.03549, allocations: 3.435 MB / 342.6 MB, free: 3.438 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002834/0.03832, allocations: 2.054 MB / 344.7 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002423/0.04074, allocations: 1.528 MB / 346.2 MB, free: 15.8 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002816/0.04356, allocations: 1.808 MB / 348 MB, free: 13.98 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004017/0.04396, allocations: 188 kB / 348.2 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.04497, allocations: 459.4 kB / 348.6 MB, free: 13.35 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001328/0.0463, allocations: 1.379 MB / 350 MB, free: 11.97 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001087/0.04739, allocations: 0.8094 MB / 350.8 MB, free: 11.16 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00544/0.05283, allocations: 4.718 MB / 355.5 MB, free: 6.422 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.05283, allocations: 4 kB / 355.5 MB, free: 6.418 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.05284, allocations: 0 / 355.5 MB, free: 6.418 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001012/0.05294, allocations: 0 / 355.5 MB, free: 6.418 MB / 318.1 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.006359/0.05929, allocations: 3.599 MB / 359.1 MB, free: 2.766 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.05934, allocations: 11.98 kB / 359.1 MB, free: 2.754 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006704/0.06604, allocations: 1.738 MB / 360.9 MB, free: 1.012 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003439/0.06948, allocations: 1.536 MB / 362.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.06962, allocations: 159.9 kB / 362.6 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004099/0.07003, allocations: 195.9 kB / 362.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01101/0.08104, allocations: 6.986 MB / 369.8 MB, free: 7.555 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-05/0.08111, allocations: 31.7 kB / 369.8 MB, free: 7.523 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002808/0.08139, allocations: 103.9 kB / 369.9 MB, free: 7.422 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002424/0.08381, allocations: 1.559 MB / 371.4 MB, free: 5.859 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009542/0.09335, allocations: 5.497 MB / 376.9 MB, free: 356 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0289/0.1223, allocations: 25.33 MB / 402.3 MB, free: 6.145 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002836/0.1251, allocations: 1.17 MB / 403.4 MB, free: 4.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007194/0.1258, allocations: 469.7 kB / 403.9 MB, free: 4.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003668/0.1295, allocations: 2.031 MB / 405.9 MB, free: 2.367 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.107e-05/0.1295, allocations: 58.44 kB / 406 MB, free: 2.301 MB / 366.1 MB Notification: Performance of pre-optimization done (n=89): time 2.966e-06/0.1295, allocations: 0 / 406 MB, free: 2.301 MB / 366.1 MB Notification: Performance of matching and sorting (n=89): time 0.004292/0.1338, allocations: 1.816 MB / 407.8 MB, free: 492 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001766/0.134, allocations: 217.6 kB / 408 MB, free: 224 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0053/0.1393, allocations: 3.535 MB / 411.5 MB, free: 12.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.586e-05/0.1394, allocations: 29.7 kB / 411.6 MB, free: 12.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002273/0.1417, allocations: 2.771 MB / 414.3 MB, free: 9.844 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004499/0.1421, allocations: 401.2 kB / 414.7 MB, free: 9.449 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001256/0.1434, allocations: 0.953 MB / 415.7 MB, free: 8.484 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1435, allocations: 305.1 kB / 416 MB, free: 8.184 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001919/0.1454, allocations: 1.208 MB / 417.2 MB, free: 6.969 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004734/0.1502, allocations: 4.526 MB / 421.7 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007659/0.1578, allocations: 6.296 MB / 428 MB, free: 8.773 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.226e-05/0.1579, allocations: 36 kB / 428.1 MB, free: 8.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.009334/0.1672, allocations: 5.422 MB / 433.5 MB, free: 3.312 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.683e-05/0.1673, allocations: 60.94 kB / 433.5 MB, free: 3.254 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001313/0.1675, allocations: 124 kB / 433.7 MB, free: 3.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001666/0.1676, allocations: 160 kB / 433.8 MB, free: 2.977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003049/0.1707, allocations: 1.084 MB / 434.9 MB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001956/0.1709, allocations: 231.1 kB / 435.1 MB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003099/0.174, allocations: 0.667 MB / 435.8 MB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003857/0.1744, allocations: 320 kB / 436.1 MB, free: 0.6797 MB / 398.1 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.002465/0.1768, allocations: 1.712 MB / 437.8 MB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000475/0.1773, allocations: 294 kB / 438.1 MB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008655/0.1782, allocations: 479.5 kB / 438.6 MB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.607e-05/0.1782, allocations: 20 kB / 438.6 MB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.1782, allocations: 4 kB / 438.6 MB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.1782, allocations: 3.984 kB / 438.6 MB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004618/0.1829, allocations: 2.392 MB / 441 MB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.1829, allocations: 4 kB / 441 MB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004879/0.1833, allocations: 99.88 kB / 441.1 MB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-06/0.1834, allocations: 8 kB / 441.1 MB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.094e-05/0.1834, allocations: 19.98 kB / 441.1 MB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.087e-05/0.1834, allocations: 11.94 kB / 441.1 MB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.1834, allocations: 4.281 kB / 441.1 MB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002601/0.186, allocations: 2.202 MB / 443.3 MB, free: 9.305 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006712/0.1867, allocations: 337.8 kB / 443.7 MB, free: 8.973 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002325/0.1869, allocations: 27.86 kB / 443.7 MB, free: 8.945 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008596/0.1878, allocations: 27.97 kB / 443.7 MB, free: 8.918 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.1879, allocations: 51.8 kB / 443.8 MB, free: 8.867 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.505e-05/0.188, allocations: 32 kB / 443.8 MB, free: 8.836 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003093/0.1911, allocations: 2.094 MB / 445.9 MB, free: 6.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1911, allocations: 4.062 kB / 445.9 MB, free: 6.746 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003696/0.1948, allocations: 0.8298 MB / 446.7 MB, free: 5.914 MB / 414.1 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.0003348/0.1951, allocations: 143 kB / 446.9 MB, free: 5.762 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004551/0.1996, allocations: 2.706 MB / 449.6 MB, free: 3.078 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.1996, allocations: 0 / 449.6 MB, free: 3.078 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006362/0.2003, allocations: 409.6 kB / 450 MB, free: 2.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001953/0.2022, allocations: 352.4 kB / 450.3 MB, free: 2.332 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01176/0.214, allocations: 6.64 MB / 457 MB, free: 11.61 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002916/0.2169, allocations: 2.128 MB / 459.1 MB, free: 9.453 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003335/0.2202, allocations: 1.457 MB / 460.5 MB, free: 7.988 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004171/0.2207, allocations: 188.5 kB / 460.7 MB, free: 7.805 MB / 430.1 MB Notification: Performance of SimCode: time 1.192e-06/0.2207, allocations: 3.938 kB / 460.7 MB, free: 7.801 MB / 430.1 MB Notification: Performance of Templates: time 0.2029/0.4235, allocations: 16.31 MB / 477 MB, free: 122.9 MB / 430.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.632919225841761]