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.001479/0.001479, allocations: 186.5 kB / 17.27 MB, free: 4.504 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.3/1.3, allocations: 222.9 MB / 240.9 MB, free: 10.98 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.001071/0.001071, allocations: 106.4 kB / 291.2 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008954/0.0008955, allocations: 31.95 kB / 350 MB, free: 48 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2833, allocations: 49.45 MB / 399.5 MB, free: 33.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.02365/0.307, allocations: 33.49 MB / 433 MB, free: 15.73 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01566/0.3227, allocations: 6.62 MB / 439.6 MB, free: 9.09 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008443/0.3312, allocations: 139.7 kB / 439.7 MB, free: 8.953 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005117/0.3364, allocations: 1.8 MB / 441.5 MB, free: 7.148 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004376/0.3408, allocations: 1.25 MB / 442.8 MB, free: 5.895 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006319/0.3415, allocations: 195.7 kB / 443 MB, free: 5.703 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005846/0.3474, allocations: 4.538 MB / 447.5 MB, free: 1.156 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002919/0.3503, allocations: 2.118 MB / 449.6 MB, free: 14.99 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001465/0.3518, allocations: 0.891 MB / 450.5 MB, free: 14.09 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002362/0.3542, allocations: 1.674 MB / 452.2 MB, free: 12.41 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005213/0.3547, allocations: 148 kB / 452.3 MB, free: 12.27 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001144/0.3559, allocations: 475.2 kB / 452.8 MB, free: 11.8 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00125/0.3572, allocations: 1.281 MB / 454.1 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001583/0.3588, allocations: 1.564 MB / 455.6 MB, free: 8.941 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004706/0.3635, allocations: 4.539 MB / 460.2 MB, free: 4.387 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/0.3635, allocations: 7.938 kB / 460.2 MB, free: 4.379 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3635, allocations: 4 kB / 460.2 MB, free: 4.375 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001413/0.3637, allocations: 0 / 460.2 MB, free: 4.375 MB / 330.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.007227/0.3709, allocations: 3.618 MB / 463.8 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.371, allocations: 12.03 kB / 463.8 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005205/0.3762, allocations: 1.653 MB / 465.5 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00356/0.3798, allocations: 1.557 MB / 467 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/0.3799, allocations: 151.8 kB / 467.2 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003637/0.3803, allocations: 195.9 kB / 467.4 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01092/0.3912, allocations: 6.979 MB / 474.3 MB, free: 5.543 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.65e-05/0.3913, allocations: 35.64 kB / 474.4 MB, free: 5.508 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002634/0.3916, allocations: 99.88 kB / 474.5 MB, free: 5.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002257/0.3939, allocations: 1.562 MB / 476 MB, free: 3.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009812/0.4037, allocations: 5.474 MB / 481.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03338/0.4371, allocations: 27.25 MB / 0.4968 GB, free: 2.211 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002703/0.4399, allocations: 1.581 MB / 0.4984 GB, free: 476 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2007/0.6406, allocations: 474.8 kB / 0.4988 GB, free: 99.86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00478/0.6454, allocations: 2.571 MB / 0.5014 GB, free: 98.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.6454, allocations: 44.52 kB / 0.5014 GB, free: 98.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=80): time 3.377e-06/0.6455, allocations: 3.844 kB / 0.5014 GB, free: 98.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=80): time 0.003517/0.649, allocations: 1.665 MB / 0.503 GB, free: 97.99 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.511e-05/0.6491, allocations: 187.5 kB / 0.5032 GB, free: 97.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005129/0.6542, allocations: 3.715 MB / 0.5068 GB, free: 96.51 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.336e-05/0.6543, allocations: 33.67 kB / 0.5069 GB, free: 96.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001094/0.6554, allocations: 2.72 MB / 0.5095 GB, free: 94.37 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002054/0.6556, allocations: 358.8 kB / 0.5099 GB, free: 94.13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008063/0.6564, allocations: 0.9656 MB / 0.5108 GB, free: 93.65 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.083e-05/0.6565, allocations: 304.9 kB / 0.5111 GB, free: 93.35 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001249/0.6577, allocations: 1.199 MB / 0.5123 GB, free: 93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002202/0.6599, allocations: 4.564 MB / 0.5167 GB, free: 88.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004086/0.664, allocations: 6.308 MB / 0.5229 GB, free: 80.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.016e-05/0.6641, allocations: 39.94 kB / 0.5229 GB, free: 80.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.006544/0.6706, allocations: 5.455 MB / 0.5282 GB, free: 75.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.264e-05/0.6707, allocations: 56 kB / 0.5283 GB, free: 75.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.723e-05/0.6708, allocations: 120.8 kB / 0.5284 GB, free: 74.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.597e-05/0.6709, allocations: 160 kB / 0.5286 GB, free: 74.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00238/0.6733, allocations: 1.106 MB / 0.5297 GB, free: 73.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001058/0.6734, allocations: 235.1 kB / 0.5299 GB, free: 73.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003338/0.6767, allocations: 0.688 MB / 0.5305 GB, free: 72.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003818/0.6771, allocations: 316 kB / 0.5308 GB, free: 72.43 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * 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 (597): * Single equations (assignments): 594 * Array equations: 3 * 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.002003/0.6792, allocations: 1.719 MB / 0.5325 GB, free: 70.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000416/0.6796, allocations: 304 kB / 0.5328 GB, free: 70.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007405/0.6803, allocations: 0.4894 MB / 0.5333 GB, free: 69.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-05/0.6804, allocations: 12 kB / 0.5333 GB, free: 69.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/0.6804, allocations: 0 / 0.5333 GB, free: 69.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.6804, allocations: 11.98 kB / 0.5333 GB, free: 69.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004306/0.6847, allocations: 3.114 MB / 0.5364 GB, free: 66.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.6848, allocations: 4 kB / 0.5364 GB, free: 66.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004068/0.6852, allocations: 103.9 kB / 0.5365 GB, free: 66.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.6852, allocations: 4 kB / 0.5365 GB, free: 66.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.682e-05/0.6852, allocations: 16 kB / 0.5365 GB, free: 66.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.6853, allocations: 15.92 kB / 0.5365 GB, free: 66.56 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.6853, allocations: 7.938 kB / 0.5365 GB, free: 66.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004897/0.6902, allocations: 5.669 MB / 0.542 GB, free: 60.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005531/0.6907, allocations: 422.9 kB / 0.5424 GB, free: 60.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001952/0.6909, allocations: 31.67 kB / 0.5425 GB, free: 60.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007446/0.6917, allocations: 27.97 kB / 0.5425 GB, free: 60.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.6918, allocations: 51.92 kB / 0.5425 GB, free: 60.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.126e-05/0.6919, allocations: 24 kB / 0.5426 GB, free: 60.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003025/0.6949, allocations: 2.365 MB / 0.5449 GB, free: 57.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6949, allocations: 0 / 0.5449 GB, free: 57.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00665/0.7016, allocations: 0.9909 MB / 0.5458 GB, free: 56.8 MB / 378.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 (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.0004535/0.7021, allocations: 145 kB / 0.546 GB, free: 56.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005847/0.7079, allocations: 2.778 MB / 0.5487 GB, free: 53.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/0.708, allocations: 0 / 0.5487 GB, free: 53.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000669/0.7086, allocations: 399.5 kB / 0.5491 GB, free: 53.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003853/0.7125, allocations: 371.1 kB / 0.5494 GB, free: 53.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01588/0.7284, allocations: 8.725 MB / 0.558 GB, free: 44.38 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004268/0.7327, allocations: 2.703 MB / 0.5606 GB, free: 41.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.004121/0.7369, allocations: 1.51 MB / 0.5621 GB, free: 40.13 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005445/0.7375, allocations: 195.4 kB / 0.5623 GB, free: 39.94 MB / 378.7 MB Notification: Performance of SimCode: time 7.42e-07/0.7375, allocations: 0 / 0.5623 GB, free: 39.94 MB / 378.7 MB Notification: Performance of Templates: time 0.04229/0.7798, allocations: 22.17 MB / 0.5839 GB, free: 17.93 MB / 378.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/jenkins/ws/OpenModelicaLibraryTestingWork@2/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