Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001819/0.001819, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002245/0.002245, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.501/1.501, allocations: 230.6 MB / 258.3 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003015/0.003015, allocations: 60.78 kB / 379.1 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2574, allocations: 53.36 MB / 432.4 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01153/0.2689, allocations: 9.065 MB / 441.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005994/0.2749, allocations: 2.754 MB / 444.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001282/0.2762, allocations: 55.75 kB / 444.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003914/0.2801, allocations: 1.872 MB / 446.2 MB, free: 9.148 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003524/0.2836, allocations: 1.366 MB / 447.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005949/0.2842, allocations: 215.6 kB / 447.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0035/0.2877, allocations: 2.343 MB / 450.1 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002057/0.2898, allocations: 1.552 MB / 451.6 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001498/0.2913, allocations: 1.008 MB / 452.6 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00362/0.2949, allocations: 2.587 MB / 455.2 MB, free: 12 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005348/0.2954, allocations: 188 kB / 455.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001058/0.2965, allocations: 0.5188 MB / 455.9 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001345/0.2978, allocations: 1.336 MB / 457.3 MB, free: 13.97 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001675/0.2995, allocations: 1.572 MB / 458.8 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005408/0.3049, allocations: 4.861 MB / 463.7 MB, free: 7.504 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3049, allocations: 0 / 463.7 MB, free: 7.504 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3049, allocations: 0 / 463.7 MB, free: 7.504 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.069e-05/0.305, allocations: 4 kB / 463.7 MB, free: 7.5 MB / 366.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.006262/0.3113, allocations: 3.638 MB / 467.3 MB, free: 3.809 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.3113, allocations: 12.03 kB / 467.4 MB, free: 3.797 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005748/0.3171, allocations: 1.722 MB / 469.1 MB, free: 2.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00291/0.32, allocations: 1.513 MB / 470.6 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.3201, allocations: 155.8 kB / 470.7 MB, free: 376 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003637/0.3205, allocations: 195.9 kB / 470.9 MB, free: 180 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009903/0.3304, allocations: 6.986 MB / 477.9 MB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.343e-05/0.3304, allocations: 31.7 kB / 478 MB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002461/0.3307, allocations: 103.9 kB / 478.1 MB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00227/0.333, allocations: 1.562 MB / 479.6 MB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009229/0.3422, allocations: 5.497 MB / 485.1 MB, free: 1.438 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02996/0.3721, allocations: 27.07 MB / 0.5002 GB, free: 5.461 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00268/0.3748, allocations: 1.128 MB / 0.5013 GB, free: 4.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007979/0.3756, allocations: 473.8 kB / 0.5017 GB, free: 3.785 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004132/0.3798, allocations: 2.225 MB / 0.5039 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.069e-05/0.3798, allocations: 42.5 kB / 0.5039 GB, free: 1.465 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 1.563e-05/0.3798, allocations: 112 / 0.5039 GB, free: 1.465 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.003968/0.3838, allocations: 1.776 MB / 0.5057 GB, free: 15.69 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000131/0.3839, allocations: 225.8 kB / 0.5059 GB, free: 15.42 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005024/0.3889, allocations: 3.67 MB / 0.5095 GB, free: 11.76 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.226e-05/0.389, allocations: 29.7 kB / 0.5095 GB, free: 11.72 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00222/0.3912, allocations: 2.796 MB / 0.5122 GB, free: 8.898 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004089/0.3916, allocations: 413.1 kB / 0.5126 GB, free: 8.492 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001141/0.3928, allocations: 0.9607 MB / 0.5136 GB, free: 7.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.3929, allocations: 309.1 kB / 0.5139 GB, free: 7.215 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001811/0.3947, allocations: 1.204 MB / 0.515 GB, free: 6.004 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005023/0.3998, allocations: 4.526 MB / 0.5195 GB, free: 15.78 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007846/0.4076, allocations: 6.302 MB / 0.5256 GB, free: 7.805 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000106/0.4077, allocations: 35.94 kB / 0.5257 GB, free: 7.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.009265/0.417, allocations: 5.446 MB / 0.531 GB, free: 2.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.337e-05/0.417, allocations: 56.94 kB / 0.531 GB, free: 2.266 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001186/0.4172, allocations: 120 kB / 0.5311 GB, free: 2.148 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001566/0.4173, allocations: 156 kB / 0.5313 GB, free: 1.996 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002871/0.4202, allocations: 1.088 MB / 0.5324 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001914/0.4204, allocations: 231.1 kB / 0.5326 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002952/0.4233, allocations: 0.698 MB / 0.5333 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003833/0.4237, allocations: 319.9 kB / 0.5336 GB, free: 15.66 MB / 462.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.002297/0.426, allocations: 1.712 MB / 0.5352 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004807/0.4265, allocations: 313.8 kB / 0.5355 GB, free: 13.63 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008046/0.4273, allocations: 494.2 kB / 0.536 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.306e-05/0.4273, allocations: 19.98 kB / 0.536 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/0.4274, allocations: 4 kB / 0.536 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-06/0.4274, allocations: 3.984 kB / 0.536 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005475/0.4328, allocations: 3.133 MB / 0.5391 GB, free: 9.902 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/0.4328, allocations: 4 kB / 0.5391 GB, free: 9.898 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004765/0.4333, allocations: 103.8 kB / 0.5392 GB, free: 9.797 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-05/0.4333, allocations: 8 kB / 0.5392 GB, free: 9.789 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.606e-05/0.4334, allocations: 19.94 kB / 0.5392 GB, free: 9.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.369e-05/0.4334, allocations: 11.98 kB / 0.5392 GB, free: 9.758 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.4334, allocations: 4 kB / 0.5392 GB, free: 9.754 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002633/0.436, allocations: 2.23 MB / 0.5414 GB, free: 7.473 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000828/0.4369, allocations: 365.6 kB / 0.5418 GB, free: 7.113 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002375/0.4371, allocations: 31.78 kB / 0.5418 GB, free: 7.082 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008118/0.4379, allocations: 36.03 kB / 0.5418 GB, free: 7.047 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.438, allocations: 51.8 kB / 0.5419 GB, free: 6.996 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.435e-05/0.4381, allocations: 28 kB / 0.5419 GB, free: 6.969 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004008/0.4421, allocations: 2.333 MB / 0.5442 GB, free: 4.652 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4421, allocations: 4 kB / 0.5442 GB, free: 4.648 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004505/0.4466, allocations: 0.8028 MB / 0.545 GB, free: 3.844 MB / 462.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.0003914/0.447, allocations: 143 kB / 0.5451 GB, free: 3.695 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004899/0.4519, allocations: 2.703 MB / 0.5477 GB, free: 1.016 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.4519, allocations: 0 / 0.5477 GB, free: 1.016 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006411/0.4525, allocations: 404.9 kB / 0.5481 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002223/0.4547, allocations: 384.6 kB / 0.5485 GB, free: 252 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2564/0.7112, allocations: 6.778 MB / 0.5551 GB, free: 112.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003918/0.7151, allocations: 2.692 MB / 0.5577 GB, free: 111.6 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004848/0.7199, allocations: 1.49 MB / 0.5592 GB, free: 111.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005667/0.7205, allocations: 198 kB / 0.5594 GB, free: 111.5 MB / 462.1 MB Notification: Performance of SimCode: time 1.092e-06/0.7205, allocations: 0 / 0.5594 GB, free: 111.5 MB / 462.1 MB Notification: Performance of Templates: time 0.04627/0.7668, allocations: 22.71 MB / 0.5816 GB, free: 92.26 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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: 6.084911340847611]