Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001779/0.001779, allocations: 180 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.687/1.687, allocations: 205.4 MB / 223.1 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008259/0.0008259, allocations: 92.09 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003228/0.0003231, allocations: 8 kB / 328.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2952, allocations: 47.56 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1234/0.4186, allocations: 93.3 MB / 469.1 MB, free: 3.344 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/0.419, allocations: 91.95 kB / 469.2 MB, free: 3.254 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3744/0.7934, allocations: 66.58 MB / 0.5232 GB, free: 93 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.7934, allocations: 0 / 0.5232 GB, free: 93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001161/0.7935, allocations: 62.66 kB / 0.5233 GB, free: 93 MB / 378.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.006334/0.7999, allocations: 3.339 MB / 0.5266 GB, free: 90.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.7999, allocations: 8.031 kB / 0.5266 GB, free: 90.49 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006479/0.8064, allocations: 1.895 MB / 0.5284 GB, free: 88.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004517/0.811, allocations: 2.009 MB / 0.5304 GB, free: 86.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/0.8111, allocations: 232.2 kB / 0.5306 GB, free: 86.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005951/0.8117, allocations: 306.4 kB / 0.5309 GB, free: 86.06 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009834/0.8216, allocations: 7.454 MB / 0.5382 GB, free: 77.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.822e-05/0.8217, allocations: 43.56 kB / 0.5382 GB, free: 77.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003922/0.8221, allocations: 155.8 kB / 0.5384 GB, free: 77.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006746/0.8228, allocations: 0.7426 MB / 0.5391 GB, free: 76.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007728/0.8305, allocations: 5.713 MB / 0.5447 GB, free: 71.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02852/0.8591, allocations: 35.31 MB / 0.5791 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002495/0.8616, allocations: 1.676 MB / 0.5808 GB, free: 32.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003514/0.8651, allocations: 2.902 MB / 0.5836 GB, free: 29.83 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.8652, allocations: 54.48 kB / 0.5837 GB, free: 29.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=83): time 3.717e-06/0.8652, allocations: 0 / 0.5837 GB, free: 29.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=83): time 0.003715/0.8689, allocations: 2.035 MB / 0.5857 GB, free: 27.67 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/0.869, allocations: 221.6 kB / 0.5859 GB, free: 27.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004096/0.8731, allocations: 3.332 MB / 0.5891 GB, free: 24.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.665e-05/0.8732, allocations: 41.3 kB / 0.5892 GB, free: 24.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001317/0.8745, allocations: 2.693 MB / 0.5918 GB, free: 21.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002812/0.8748, allocations: 371.8 kB / 0.5921 GB, free: 20.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/0.875, allocations: 99.98 kB / 0.5922 GB, free: 20.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002239/0.8752, allocations: 0.4966 MB / 0.5927 GB, free: 20.35 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001447/0.8766, allocations: 1.223 MB / 0.5939 GB, free: 19.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002559/0.8792, allocations: 4.563 MB / 0.5984 GB, free: 12.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002462/0.8817, allocations: 2.323 MB / 0.6006 GB, free: 10.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.794e-05/0.8817, allocations: 32 kB / 0.6007 GB, free: 10.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=620) (initialization): time 0.007627/0.8894, allocations: 5.512 MB / 0.6061 GB, free: 4.965 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.96e-05/0.8895, allocations: 56 kB / 0.6061 GB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001129/0.8896, allocations: 120 kB / 0.6062 GB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001378/0.8898, allocations: 176 kB / 0.6064 GB, free: 4.621 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002912/0.8927, allocations: 1.135 MB / 0.6075 GB, free: 3.484 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001419/0.8928, allocations: 235 kB / 0.6077 GB, free: 3.254 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003885/0.8967, allocations: 0.7075 MB / 0.6084 GB, free: 2.539 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004058/0.8971, allocations: 347.9 kB / 0.6087 GB, free: 2.199 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 551 * 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 (596): * Single equations (assignments): 593 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002432/0.8996, allocations: 1.716 MB / 0.6104 GB, free: 480 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004806/0.9001, allocations: 300.1 kB / 0.6107 GB, free: 176 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009692/0.901, allocations: 498.4 kB / 0.6112 GB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.658e-05/0.9011, allocations: 12 kB / 0.6112 GB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/0.9011, allocations: 7.938 kB / 0.6112 GB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.437e-06/0.9011, allocations: 7.984 kB / 0.6112 GB, free: 15.65 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00624/0.9074, allocations: 3.304 MB / 0.6144 GB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.9074, allocations: 4 kB / 0.6144 GB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004867/0.9079, allocations: 111.8 kB / 0.6145 GB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.351e-05/0.9079, allocations: 8.375 kB / 0.6146 GB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.36e-05/0.908, allocations: 16.28 kB / 0.6146 GB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.397e-06/0.908, allocations: 11.98 kB / 0.6146 GB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/0.908, allocations: 4 kB / 0.6146 GB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002651/0.9107, allocations: 2.525 MB / 0.6171 GB, free: 9.426 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001104/0.9118, allocations: 464.8 kB / 0.6175 GB, free: 8.949 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000248/0.912, allocations: 19.98 kB / 0.6175 GB, free: 8.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008591/0.9129, allocations: 39.97 kB / 0.6176 GB, free: 8.891 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.913, allocations: 47.91 kB / 0.6176 GB, free: 8.844 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.892e-05/0.9131, allocations: 31.98 kB / 0.6176 GB, free: 8.812 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003779/0.9169, allocations: 2.38 MB / 0.62 GB, free: 6.449 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9169, allocations: 0 / 0.62 GB, free: 6.449 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004073/0.9209, allocations: 0.8216 MB / 0.6208 GB, free: 5.625 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (60): * Single equations (assignments): 57 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003507/0.9213, allocations: 155 kB / 0.6209 GB, free: 5.465 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004805/0.9261, allocations: 2.805 MB / 0.6236 GB, free: 2.688 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.9262, allocations: 4 kB / 0.6236 GB, free: 2.684 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005975/0.9268, allocations: 417.2 kB / 0.624 GB, free: 2.277 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001815/0.9286, allocations: 364.3 kB / 0.6244 GB, free: 1.922 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0126/0.9412, allocations: 7.881 MB / 0.6321 GB, free: 9.965 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003359/0.9446, allocations: 2.757 MB / 0.6348 GB, free: 7.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004654/0.9493, allocations: 1.58 MB / 0.6363 GB, free: 5.594 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006299/0.95, allocations: 211.4 kB / 0.6365 GB, free: 5.387 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/0.95, allocations: 0 / 0.6365 GB, free: 5.387 MB / 410.7 MB Notification: Performance of Templates: time 0.2357/1.186, allocations: 22.04 MB / 0.658 GB, free: 108.2 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches