Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009158/0.0009158, allocations: 195.9 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.234/1.234, allocations: 226.6 MB / 244.3 MB, free: 8.234 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007779/0.0007779, allocations: 107.3 kB / 296.4 MB, free: 7.016 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002016/0.0002016, allocations: 8 kB / 356.2 MB, free: 11.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1829, allocations: 51.3 MB / 407.5 MB, free: 27.85 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01822/0.2011, allocations: 30.29 MB / 437.8 MB, free: 13.47 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0133/0.2145, allocations: 6.346 MB / 444.1 MB, free: 7.113 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004591/0.2191, allocations: 143.6 kB / 444.3 MB, free: 6.973 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003846/0.223, allocations: 1.544 MB / 445.8 MB, free: 5.422 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01032/0.2333, allocations: 4.564 MB / 450.4 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001786/0.2351, allocations: 219.7 kB / 450.6 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.03547/0.2706, allocations: 31.14 MB / 481.7 MB, free: 1.445 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004302/0.275, allocations: 2.429 MB / 484.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001674/0.2767, allocations: 0.8444 MB / 485 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002219/0.2789, allocations: 1.371 MB / 486.4 MB, free: 12.73 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005314/0.2795, allocations: 96 kB / 486.5 MB, free: 12.64 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001455/0.281, allocations: 0.4953 MB / 487 MB, free: 12.14 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00161/0.2826, allocations: 1.274 MB / 488.2 MB, free: 10.86 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009113/0.2835, allocations: 0.6012 MB / 488.8 MB, free: 10.25 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003531/0.2871, allocations: 3.523 MB / 492.4 MB, free: 6.723 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.2871, allocations: 0 / 492.4 MB, free: 6.723 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2871, allocations: 0 / 492.4 MB, free: 6.723 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.55e-05/0.2871, allocations: 4 kB / 492.4 MB, free: 6.719 MB / 362.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.004281/0.2914, allocations: 2.842 MB / 495.2 MB, free: 3.812 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.2915, allocations: 8.031 kB / 495.2 MB, free: 3.805 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005461/0.2969, allocations: 1.731 MB / 497 MB, free: 2.066 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002536/0.2995, allocations: 1.436 MB / 498.4 MB, free: 0.582 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.2996, allocations: 155.8 kB / 498.5 MB, free: 440 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003079/0.2999, allocations: 191.9 kB / 498.7 MB, free: 248 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008658/0.3086, allocations: 6.967 MB / 0.4938 GB, free: 8.727 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.504e-05/0.3087, allocations: 27.73 kB / 0.4939 GB, free: 8.699 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002381/0.3089, allocations: 99.88 kB / 0.494 GB, free: 8.602 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002002/0.3109, allocations: 1.562 MB / 0.4955 GB, free: 7.035 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008843/0.3198, allocations: 5.466 MB / 0.5008 GB, free: 1.555 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1808/0.5006, allocations: 27.17 MB / 0.5274 GB, free: 74.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002025/0.5027, allocations: 1.59 MB / 0.5289 GB, free: 73.42 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004673/0.5032, allocations: 477.7 kB / 0.5294 GB, free: 73.17 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002388/0.5056, allocations: 2.562 MB / 0.5319 GB, free: 71.03 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.5056, allocations: 50.52 kB / 0.5319 GB, free: 70.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=80): time 2.315e-06/0.5056, allocations: 0 / 0.5319 GB, free: 70.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=80): time 0.002789/0.5084, allocations: 1.638 MB / 0.5335 GB, free: 70.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.5085, allocations: 187.7 kB / 0.5337 GB, free: 70 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003006/0.5115, allocations: 3.43 MB / 0.537 GB, free: 66.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.873e-05/0.5115, allocations: 33.7 kB / 0.5371 GB, free: 66.56 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009169/0.5125, allocations: 2.593 MB / 0.5396 GB, free: 63.97 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/0.5126, allocations: 364.1 kB / 0.54 GB, free: 63.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.5128, allocations: 92 kB / 0.54 GB, free: 63.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.513, allocations: 0.5122 MB / 0.5405 GB, free: 63.01 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/0.5142, allocations: 1.177 MB / 0.5417 GB, free: 61.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002231/0.5165, allocations: 4.549 MB / 0.5461 GB, free: 55.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002233/0.5187, allocations: 2.292 MB / 0.5484 GB, free: 53.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-05/0.5188, allocations: 32 kB / 0.5484 GB, free: 53.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.006122/0.5249, allocations: 5.391 MB / 0.5537 GB, free: 47.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.408e-05/0.525, allocations: 59.95 kB / 0.5537 GB, free: 47.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-05/0.525, allocations: 124 kB / 0.5538 GB, free: 47.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001203/0.5252, allocations: 176 kB / 0.554 GB, free: 47.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002464/0.5276, allocations: 1.099 MB / 0.5551 GB, free: 46.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001058/0.5278, allocations: 239.1 kB / 0.5553 GB, free: 46.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002634/0.5304, allocations: 0.6924 MB / 0.556 GB, free: 45.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002516/0.5307, allocations: 316 kB / 0.5563 GB, free: 45.14 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001544/0.5322, allocations: 1.675 MB / 0.5579 GB, free: 43.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002934/0.5325, allocations: 272.4 kB / 0.5582 GB, free: 43.19 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005834/0.5331, allocations: 473.3 kB / 0.5586 GB, free: 42.72 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/0.5331, allocations: 12 kB / 0.5586 GB, free: 42.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.5331, allocations: 3.375 kB / 0.5587 GB, free: 42.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.5332, allocations: 7.984 kB / 0.5587 GB, free: 42.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003578/0.5367, allocations: 3.037 MB / 0.5616 GB, free: 39.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.5368, allocations: 4 kB / 0.5616 GB, free: 39.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004424/0.5372, allocations: 103.9 kB / 0.5617 GB, free: 39.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.797e-06/0.5372, allocations: 4.875 kB / 0.5617 GB, free: 39.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.782e-05/0.5373, allocations: 17.34 kB / 0.5617 GB, free: 39.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.062e-06/0.5373, allocations: 15.92 kB / 0.5618 GB, free: 39.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.5373, allocations: 4 kB / 0.5618 GB, free: 39.44 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001503/0.5388, allocations: 2.007 MB / 0.5637 GB, free: 37.39 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004643/0.5393, allocations: 421.3 kB / 0.5641 GB, free: 36.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/0.5395, allocations: 13.17 kB / 0.5641 GB, free: 36.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007282/0.5402, allocations: 35.72 kB / 0.5642 GB, free: 36.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.57e-05/0.5403, allocations: 43.89 kB / 0.5642 GB, free: 36.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-05/0.5403, allocations: 29.48 kB / 0.5642 GB, free: 36.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002092/0.5424, allocations: 2.173 MB / 0.5664 GB, free: 34.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5424, allocations: 3.938 kB / 0.5664 GB, free: 34.67 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002722/0.5452, allocations: 0.8177 MB / 0.5672 GB, free: 33.86 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 (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.0002841/0.5455, allocations: 157.4 kB / 0.5673 GB, free: 33.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002809/0.5483, allocations: 2.754 MB / 0.57 GB, free: 30.97 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.5483, allocations: 0 / 0.57 GB, free: 30.97 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003811/0.5487, allocations: 403.4 kB / 0.5704 GB, free: 30.58 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001594/0.5503, allocations: 355.3 kB / 0.5707 GB, free: 30.24 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008386/0.5587, allocations: 8.208 MB / 0.5787 GB, free: 21.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001779/0.5605, allocations: 2.546 MB / 0.5812 GB, free: 19.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000457/0.561, allocations: 223.4 kB / 0.5814 GB, free: 19.18 MB / 378.7 MB Notification: Performance of SimCode: time 6.32e-07/0.561, allocations: 0 / 0.5814 GB, free: 19.18 MB / 378.7 MB Notification: Performance of Templates: time 0.0724/0.6334, allocations: 63.36 MB / 0.6433 GB, free: 3.82 MB / 426.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile (rm -f Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches