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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001708/0.001707, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.556/1.556, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008383/0.0008383, allocations: 83.05 kB / 292.1 MB, free: 5.949 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.156e-05/3.168e-05, allocations: 4 kB / 350.5 MB, free: 2.543 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1086, allocations: 51.49 MB / 402 MB, free: 15.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3679/0.4766, allocations: 95.27 MB / 497.3 MB, free: 10.37 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/0.4769, allocations: 86.19 kB / 497.4 MB, free: 10.33 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1752/0.6521, allocations: 68.9 MB / 0.553 GB, free: 6.602 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.6521, allocations: 0 / 0.553 GB, free: 6.602 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002506/0.6524, allocations: 60 kB / 0.5531 GB, free: 6.543 MB / 426.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.01363/0.6661, allocations: 3.094 MB / 0.5561 GB, free: 3.395 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.396e-05/0.6662, allocations: 12.03 kB / 0.5561 GB, free: 3.383 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01456/0.6807, allocations: 1.947 MB / 0.558 GB, free: 1.43 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009687/0.6905, allocations: 1.977 MB / 0.5599 GB, free: 15.39 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003863/0.6909, allocations: 238.1 kB / 0.5602 GB, free: 15.16 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001602/0.6925, allocations: 303.9 kB / 0.5605 GB, free: 14.86 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02163/0.7142, allocations: 7.399 MB / 0.5677 GB, free: 6.594 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001483/0.7144, allocations: 47.5 kB / 0.5677 GB, free: 6.547 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007909/0.7152, allocations: 155.9 kB / 0.5679 GB, free: 6.395 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001678/0.7169, allocations: 0.7387 MB / 0.5686 GB, free: 5.656 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01838/0.7353, allocations: 5.61 MB / 0.5741 GB, free: 28 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3746/1.11, allocations: 35.31 MB / 0.6086 GB, free: 63.93 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002683/1.113, allocations: 1.646 MB / 0.6102 GB, free: 63.2 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005913/1.113, allocations: 473 kB / 0.6106 GB, free: 63.14 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004015/1.117, allocations: 2.91 MB / 0.6135 GB, free: 61.45 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/1.117, allocations: 45 kB / 0.6135 GB, free: 61.41 MB / 442.7 MB Notification: Performance of pre-optimization done (n=83): time 3.126e-06/1.117, allocations: 0 / 0.6135 GB, free: 61.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=83): time 0.003353/1.121, allocations: 1.429 MB / 0.6149 GB, free: 61.21 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.57e-05/1.121, allocations: 225.7 kB / 0.6151 GB, free: 60.96 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00441/1.125, allocations: 3.27 MB / 0.6183 GB, free: 60.64 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.654e-05/1.125, allocations: 36.77 kB / 0.6183 GB, free: 60.61 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001379/1.127, allocations: 2.704 MB / 0.621 GB, free: 59.22 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002721/1.127, allocations: 369.2 kB / 0.6213 GB, free: 59.05 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/1.127, allocations: 94.41 kB / 0.6214 GB, free: 59.05 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000233/1.128, allocations: 0.5071 MB / 0.6219 GB, free: 58.73 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001482/1.129, allocations: 1.181 MB / 0.6231 GB, free: 58.72 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002752/1.132, allocations: 4.523 MB / 0.6275 GB, free: 54.31 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003122/1.135, allocations: 2.327 MB / 0.6298 GB, free: 54.29 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.556e-05/1.135, allocations: 35.72 kB / 0.6298 GB, free: 54.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=620) (initialization): time 0.01216/1.147, allocations: 5.444 MB / 0.6351 GB, free: 53.49 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001137/1.147, allocations: 57.62 kB / 0.6352 GB, free: 53.49 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002236/1.148, allocations: 120.3 kB / 0.6353 GB, free: 53.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002435/1.148, allocations: 181.6 kB / 0.6354 GB, free: 53.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003381/1.151, allocations: 1.134 MB / 0.6366 GB, free: 53.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001833/1.151, allocations: 237.6 kB / 0.6368 GB, free: 53.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004195/1.156, allocations: 0.7005 MB / 0.6375 GB, free: 52.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006803/1.156, allocations: 352.2 kB / 0.6378 GB, free: 52.93 MB / 442.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 () * 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.0007072/1.157, allocations: 487.9 kB / 0.6383 GB, free: 52.52 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008725/1.158, allocations: 298.3 kB / 0.6386 GB, free: 52.36 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/1.159, allocations: 0.4957 MB / 0.639 GB, free: 52.15 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.6e-05/1.159, allocations: 16.27 kB / 0.6391 GB, free: 52.15 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.537e-05/1.159, allocations: 6.109 kB / 0.6391 GB, free: 52.14 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/1.159, allocations: 5.562 kB / 0.6391 GB, free: 52.14 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006579/1.166, allocations: 3.29 MB / 0.6423 GB, free: 50.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/1.166, allocations: 9.094 kB / 0.6423 GB, free: 50.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005498/1.166, allocations: 111.8 kB / 0.6424 GB, free: 50.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.48e-05/1.166, allocations: 7.562 kB / 0.6424 GB, free: 50.73 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.149e-05/1.167, allocations: 19.59 kB / 0.6424 GB, free: 50.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.135e-05/1.167, allocations: 8.203 kB / 0.6424 GB, free: 50.73 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.243e-06/1.167, allocations: 5.625 kB / 0.6424 GB, free: 50.73 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002695/1.169, allocations: 2.472 MB / 0.6448 GB, free: 49.04 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001155/1.17, allocations: 467.6 kB / 0.6453 GB, free: 48.72 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002656/1.171, allocations: 17.86 kB / 0.6453 GB, free: 48.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009443/1.172, allocations: 40.23 kB / 0.6453 GB, free: 48.71 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/1.172, allocations: 55.91 kB / 0.6454 GB, free: 48.69 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.868e-05/1.172, allocations: 29.09 kB / 0.6454 GB, free: 48.69 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004742/1.177, allocations: 2.327 MB / 0.6477 GB, free: 47.9 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.61e-07/1.177, allocations: 0 / 0.6477 GB, free: 47.9 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005463/1.182, allocations: 0.8315 MB / 0.6485 GB, free: 47.69 MB / 442.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 () * 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.0004022/1.183, allocations: 152.7 kB / 0.6487 GB, free: 47.57 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004494/1.187, allocations: 2.781 MB / 0.6514 GB, free: 46.66 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/1.187, allocations: 0 / 0.6514 GB, free: 46.66 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004633/1.188, allocations: 402.5 kB / 0.6518 GB, free: 46.53 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002012/1.19, allocations: 357.7 kB / 0.6521 GB, free: 46.38 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009587/1.199, allocations: 5.347 MB / 0.6573 GB, free: 44.34 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00231/1.201, allocations: 2.753 MB / 0.66 GB, free: 43.2 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003846/1.205, allocations: 1.583 MB / 0.6616 GB, free: 43.05 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004973/1.206, allocations: 212.8 kB / 0.6618 GB, free: 43.03 MB / 442.7 MB Notification: Performance of SimCode: time 1.242e-06/1.206, allocations: 4 kB / 0.6618 GB, free: 43.03 MB / 442.7 MB Notification: Performance of Templates: time 0.04211/1.248, allocations: 22.13 MB / 0.6834 GB, free: 41.8 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches