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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001437/0.001437, allocations: 118.7 kB / 18.45 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001444/0.001444, allocations: 207.6 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.439/1.439, allocations: 227.7 MB / 247.9 MB, free: 10.17 MB / 206.1 MB 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.001989/0.001989, allocations: 63.91 kB / 359.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2625, allocations: 50.55 MB / 410.2 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01128/0.2737, allocations: 9.036 MB / 419.3 MB, free: 8.348 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005811/0.2795, allocations: 2.714 MB / 422 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006761/0.2802, allocations: 51.88 kB / 422 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003494/0.2837, allocations: 1.853 MB / 423.9 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002818/0.2865, allocations: 1.35 MB / 425.2 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004804/0.287, allocations: 215.6 kB / 425.4 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003031/0.29, allocations: 2.334 MB / 427.8 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002208/0.2923, allocations: 1.789 MB / 429.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001407/0.2937, allocations: 0.9924 MB / 430.6 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003155/0.2968, allocations: 2.447 MB / 433 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000456/0.2973, allocations: 192 kB / 433.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001021/0.2983, allocations: 0.4955 MB / 433.7 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00127/0.2996, allocations: 1.34 MB / 435 MB, free: 8.488 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001505/0.3011, allocations: 1.568 MB / 436.6 MB, free: 6.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005483/0.3066, allocations: 4.857 MB / 441.4 MB, free: 2.031 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.3066, allocations: 7.984 kB / 441.5 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3066, allocations: 0 / 441.5 MB, free: 2.023 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.126e-05/0.3066, allocations: 0 / 441.5 MB, free: 2.023 MB / 350.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.006/0.3126, allocations: 3.714 MB / 445.2 MB, free: 14.24 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.3127, allocations: 15.97 kB / 445.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00658/0.3193, allocations: 1.714 MB / 446.9 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003579/0.3228, allocations: 1.593 MB / 448.5 MB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/0.323, allocations: 151.8 kB / 448.6 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003798/0.3233, allocations: 199.9 kB / 448.8 MB, free: 10.51 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01078/0.3341, allocations: 6.986 MB / 455.8 MB, free: 2.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.83e-05/0.3342, allocations: 31.75 kB / 455.9 MB, free: 2.949 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002719/0.3345, allocations: 99.88 kB / 456 MB, free: 2.852 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002506/0.337, allocations: 1.555 MB / 457.5 MB, free: 1.297 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01008/0.3471, allocations: 5.493 MB / 463 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03252/0.3796, allocations: 27.17 MB / 490.2 MB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003111/0.3827, allocations: 1.579 MB / 491.8 MB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007522/0.3834, allocations: 473.9 kB / 492.2 MB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004626/0.3881, allocations: 2.702 MB / 494.9 MB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.554e-05/0.3881, allocations: 46.61 kB / 495 MB, free: 10.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 6.422e-06/0.3881, allocations: 7.922 kB / 495 MB, free: 10.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.004223/0.3923, allocations: 1.771 MB / 496.7 MB, free: 8.785 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001377/0.3925, allocations: 213.6 kB / 496.9 MB, free: 8.527 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005277/0.3978, allocations: 3.673 MB / 0.4889 GB, free: 4.863 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.888e-05/0.3978, allocations: 41.69 kB / 0.4889 GB, free: 4.816 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002436/0.4003, allocations: 2.796 MB / 0.4917 GB, free: 1.992 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004337/0.4007, allocations: 405.1 kB / 0.492 GB, free: 1.594 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001197/0.4019, allocations: 0.9648 MB / 0.493 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.402, allocations: 305.1 kB / 0.4933 GB, free: 324 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002028/0.4041, allocations: 1.204 MB / 0.4945 GB, free: 15.11 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004767/0.4088, allocations: 4.53 MB / 0.4989 GB, free: 8.875 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007846/0.4167, allocations: 6.28 MB / 0.505 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.509e-05/0.4168, allocations: 39.94 kB / 0.505 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.009602/0.4264, allocations: 5.454 MB / 0.5104 GB, free: 11.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.967e-05/0.4265, allocations: 56 kB / 0.5104 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001284/0.4266, allocations: 128.1 kB / 0.5106 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001521/0.4267, allocations: 152 kB / 0.5107 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002976/0.4297, allocations: 1.088 MB / 0.5118 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001991/0.4299, allocations: 231.1 kB / 0.512 GB, free: 9.785 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00308/0.433, allocations: 0.6941 MB / 0.5127 GB, free: 9.086 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003955/0.4334, allocations: 316 kB / 0.513 GB, free: 8.777 MB / 446.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.002271/0.4357, allocations: 1.719 MB / 0.5146 GB, free: 7.047 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005038/0.4362, allocations: 313.8 kB / 0.5149 GB, free: 6.738 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008719/0.437, allocations: 498.3 kB / 0.5154 GB, free: 6.246 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.66e-05/0.4371, allocations: 24 kB / 0.5154 GB, free: 6.223 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.4371, allocations: 4 kB / 0.5154 GB, free: 6.219 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.4371, allocations: 7.984 kB / 0.5154 GB, free: 6.211 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005174/0.4423, allocations: 3.154 MB / 0.5185 GB, free: 2.973 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.4423, allocations: 4 kB / 0.5185 GB, free: 2.969 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004681/0.4428, allocations: 103.8 kB / 0.5186 GB, free: 2.867 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-05/0.4428, allocations: 8 kB / 0.5186 GB, free: 2.859 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.65e-05/0.4428, allocations: 19.94 kB / 0.5187 GB, free: 2.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.728e-06/0.4428, allocations: 8 kB / 0.5187 GB, free: 2.832 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.4428, allocations: 4 kB / 0.5187 GB, free: 2.828 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002479/0.4453, allocations: 2.236 MB / 0.5209 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007503/0.4461, allocations: 438.7 kB / 0.5213 GB, free: 92 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002289/0.4463, allocations: 27.94 kB / 0.5213 GB, free: 64 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008523/0.4471, allocations: 35.95 kB / 0.5213 GB, free: 28 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.4472, allocations: 43.89 kB / 0.5214 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.505e-05/0.4473, allocations: 31.94 kB / 0.5214 GB, free: 15.95 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003192/0.4505, allocations: 2.337 MB / 0.5237 GB, free: 13.63 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4505, allocations: 4 kB / 0.5237 GB, free: 13.63 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003389/0.4539, allocations: 0.8028 MB / 0.5245 GB, free: 12.82 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.000319/0.4542, allocations: 143 kB / 0.5246 GB, free: 12.67 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004171/0.4584, allocations: 2.699 MB / 0.5272 GB, free: 10 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.4584, allocations: 0 / 0.5272 GB, free: 10 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005905/0.459, allocations: 417.7 kB / 0.5276 GB, free: 9.594 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002038/0.461, allocations: 377.3 kB / 0.528 GB, free: 9.227 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/0.4723, allocations: 6.784 MB / 0.5346 GB, free: 2.367 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1899/0.6622, allocations: 2.674 MB / 0.5372 GB, free: 121 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003957/0.6661, allocations: 1.494 MB / 0.5387 GB, free: 121 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004356/0.6666, allocations: 200.5 kB / 0.5389 GB, free: 120.9 MB / 462.1 MB Notification: Performance of SimCode: time 1.302e-06/0.6666, allocations: 0 / 0.5389 GB, free: 120.9 MB / 462.1 MB Notification: Performance of Templates: time 0.03804/0.7046, allocations: 19.48 MB / 0.5579 GB, free: 110 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile (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 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins1/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) Reference file matches