Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 176.4 kB / 17.4 MB, free: 4.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 223.3 MB / 241.4 MB, free: 11.69 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007809/0.0007807, allocations: 98.44 kB / 292.6 MB, free: 10.77 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003011/0.0003012, allocations: 8 kB / 352.3 MB, free: 15.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2058, allocations: 50.41 MB / 402.8 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.107/0.3129, allocations: 94.64 MB / 497.4 MB, free: 1.664 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/0.3132, allocations: 89.05 kB / 497.5 MB, free: 1.578 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3349/0.6481, allocations: 66.57 MB / 0.5508 GB, free: 63.4 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.6481, allocations: 4 kB / 0.5508 GB, free: 63.4 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001926/0.6483, allocations: 67.98 kB / 0.5509 GB, free: 63.33 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.008419/0.6567, allocations: 3.288 MB / 0.5541 GB, free: 59.97 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.6568, allocations: 12.03 kB / 0.5541 GB, free: 59.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007143/0.6639, allocations: 1.895 MB / 0.556 GB, free: 58.06 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004283/0.6682, allocations: 2.059 MB / 0.558 GB, free: 55.94 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001654/0.6684, allocations: 234.5 kB / 0.5582 GB, free: 55.71 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001011/0.6694, allocations: 304.1 kB / 0.5585 GB, free: 55.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01473/0.6842, allocations: 7.455 MB / 0.5658 GB, free: 47.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001732/0.6844, allocations: 43.75 kB / 0.5658 GB, free: 47.04 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009701/0.6854, allocations: 159.9 kB / 0.566 GB, free: 46.89 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001126/0.6865, allocations: 0.7372 MB / 0.5667 GB, free: 46.15 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01464/0.7012, allocations: 5.67 MB / 0.5722 GB, free: 40.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04356/0.7448, allocations: 35.3 MB / 0.6067 GB, free: 3.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004588/0.7494, allocations: 1.665 MB / 0.6083 GB, free: 2.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001044/0.7505, allocations: 492.3 kB / 0.6088 GB, free: 1.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006599/0.7571, allocations: 3.18 MB / 0.6119 GB, free: 14.17 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.198e-05/0.7572, allocations: 46.61 kB / 0.6119 GB, free: 14.12 MB / 394.7 MB Notification: Performance of pre-optimization done (n=80): time 4.248e-06/0.7572, allocations: 3.938 kB / 0.612 GB, free: 14.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=80): time 0.006705/0.7639, allocations: 1.655 MB / 0.6136 GB, free: 12.45 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001406/0.7641, allocations: 191.9 kB / 0.6138 GB, free: 12.22 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01036/0.7745, allocations: 3.745 MB / 0.6174 GB, free: 8.488 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001213/0.7746, allocations: 33.7 kB / 0.6174 GB, free: 8.449 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003494/0.7781, allocations: 2.71 MB / 0.6201 GB, free: 5.699 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006256/0.7788, allocations: 367.9 kB / 0.6204 GB, free: 5.336 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003754/0.7792, allocations: 95.94 kB / 0.6205 GB, free: 5.242 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0005751/0.7798, allocations: 0.5044 MB / 0.621 GB, free: 4.73 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003648/0.7835, allocations: 1.219 MB / 0.6222 GB, free: 3.504 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007073/0.7905, allocations: 4.575 MB / 0.6267 GB, free: 13.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01106/0.8016, allocations: 6.323 MB / 0.6329 GB, free: 5.191 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001273/0.8018, allocations: 36 kB / 0.6329 GB, free: 5.156 MB / 410.7 MB Notification: Performance of matching and sorting (n=620) (initialization): time 0.01733/0.8192, allocations: 5.51 MB / 0.6383 GB, free: 15.64 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001876/0.8194, allocations: 56.56 kB / 0.6383 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002916/0.8197, allocations: 128 kB / 0.6384 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002952/0.82, allocations: 156 kB / 0.6386 GB, free: 15.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006202/0.8262, allocations: 1.131 MB / 0.6397 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003334/0.8266, allocations: 235.1 kB / 0.6399 GB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006664/0.8333, allocations: 0.7037 MB / 0.6406 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001106/0.8344, allocations: 351.9 kB / 0.6409 GB, free: 12.89 MB / 426.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.004798/0.8393, allocations: 1.715 MB / 0.6426 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000914/0.8402, allocations: 308 kB / 0.6429 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001759/0.842, allocations: 494.4 kB / 0.6434 GB, free: 10.37 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.136e-05/0.842, allocations: 12 kB / 0.6434 GB, free: 10.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.211e-05/0.8421, allocations: 4 kB / 0.6434 GB, free: 10.35 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.676e-05/0.8421, allocations: 7.984 kB / 0.6434 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01063/0.8527, allocations: 3.162 MB / 0.6465 GB, free: 7.098 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-05/0.8528, allocations: 4.047 kB / 0.6465 GB, free: 7.094 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008895/0.8537, allocations: 111.8 kB / 0.6466 GB, free: 6.984 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.825e-05/0.8537, allocations: 8 kB / 0.6466 GB, free: 6.977 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.268e-05/0.8538, allocations: 16 kB / 0.6466 GB, free: 6.961 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.434e-05/0.8539, allocations: 7.938 kB / 0.6466 GB, free: 6.953 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.037e-05/0.8539, allocations: 16.2 kB / 0.6467 GB, free: 6.938 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003962/0.8579, allocations: 2.025 MB / 0.6486 GB, free: 4.863 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001443/0.8594, allocations: 468.8 kB / 0.6491 GB, free: 4.383 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007107/0.8601, allocations: 16 kB / 0.6491 GB, free: 4.367 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001774/0.8619, allocations: 43.91 kB / 0.6491 GB, free: 4.324 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.862, allocations: 43.88 kB / 0.6492 GB, free: 4.281 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.502e-05/0.8622, allocations: 28.06 kB / 0.6492 GB, free: 4.254 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007457/0.8696, allocations: 2.384 MB / 0.6515 GB, free: 1.887 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.308e-06/0.8697, allocations: 0 / 0.6515 GB, free: 1.887 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007595/0.8773, allocations: 0.8333 MB / 0.6523 GB, free: 1.051 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (57): * Single equations (assignments): 54 * 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.0005708/0.8779, allocations: 155 kB / 0.6525 GB, free: 0.8906 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007687/0.8856, allocations: 2.797 MB / 0.6552 GB, free: 14.12 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.8856, allocations: 0 / 0.6552 GB, free: 14.12 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.8866, allocations: 408.3 kB / 0.6556 GB, free: 13.72 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006274/0.8929, allocations: 361.1 kB / 0.656 GB, free: 13.37 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01919/0.9121, allocations: 7.886 MB / 0.6637 GB, free: 5.414 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005285/0.9174, allocations: 2.679 MB / 0.6663 GB, free: 2.703 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.008329/0.9258, allocations: 1.576 MB / 0.6678 GB, free: 1.121 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009706/0.9268, allocations: 215.4 kB / 0.668 GB, free: 0.9102 MB / 442.7 MB Notification: Performance of SimCode: time 1.072e-06/0.9268, allocations: 3.938 kB / 0.668 GB, free: 0.9062 MB / 442.7 MB Notification: Performance of Templates: time 0.2703/1.197, allocations: 22.16 MB / 0.6897 GB, free: 119.6 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches