Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009953/0.0009949, allocations: 197 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.213/1.213, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008027/0.0008027, allocations: 88.52 kB / 292.1 MB, free: 5.922 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1665/0.1665, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.095e-05/2.097e-05, allocations: 4 kB / 460.4 MB, free: 70 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08645/0.08648, allocations: 63.24 MB / 0.5114 GB, free: 6.781 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.333/0.4195, allocations: 86.64 MB / 0.596 GB, free: 7.32 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001807/0.4197, allocations: 67.53 kB / 0.596 GB, free: 7.285 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008632/0.4284, allocations: 3.03 MB / 0.599 GB, free: 4.738 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.676e-06/0.4284, allocations: 0 / 0.599 GB, free: 4.738 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.902e-06/0.4284, allocations: 3.938 kB / 0.599 GB, free: 4.734 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002727/0.4287, allocations: 365.8 kB / 0.5993 GB, free: 4.336 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.4287, allocations: 8.031 kB / 0.5994 GB, free: 4.328 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.947e-05/0.4288, allocations: 15.16 kB / 0.5994 GB, free: 4.316 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.4289, allocations: 170.9 kB / 0.5995 GB, free: 4.109 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.4289, allocations: 4 kB / 0.5995 GB, free: 4.105 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.4289, allocations: 3.375 kB / 0.5995 GB, free: 4.105 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.429, allocations: 53 kB / 0.5996 GB, free: 4.055 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.4291, allocations: 0 / 0.5996 GB, free: 4.055 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.4291, allocations: 3.984 kB / 0.5996 GB, free: 4.051 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.4291, allocations: 0 / 0.5996 GB, free: 4.051 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6e-05/0.4292, allocations: 23.19 kB / 0.5996 GB, free: 4.031 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001608/0.4293, allocations: 183.5 kB / 0.5998 GB, free: 3.812 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.4295, allocations: 53.69 kB / 0.5998 GB, free: 3.758 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.316e-05/0.4296, allocations: 27.61 kB / 0.5999 GB, free: 3.734 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002137/0.4298, allocations: 105.1 kB / 0.6 GB, free: 3.613 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.4298, allocations: 38.5 kB / 0.6 GB, free: 3.57 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 3.156e-06/0.4298, allocations: 4.266 kB / 0.6 GB, free: 3.566 MB / 394.7 MB Notification: Performance of matching and sorting (n=19): time 0.1175/0.5473, allocations: 5.386 MB / 0.6053 GB, free: 14.37 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.5474, allocations: 55.41 kB / 0.6053 GB, free: 14.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.007e-05/0.5475, allocations: 95.94 kB / 0.6054 GB, free: 14.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.612e-05/0.5475, allocations: 28.64 kB / 0.6054 GB, free: 14.17 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.486e-05/0.5476, allocations: 84.08 kB / 0.6055 GB, free: 14.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.096e-05/0.5477, allocations: 69.83 kB / 0.6056 GB, free: 14.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.089e-05/0.5477, allocations: 0 / 0.6056 GB, free: 14.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.5478, allocations: 326.7 kB / 0.6059 GB, free: 13.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002782/0.5481, allocations: 186.4 kB / 0.6061 GB, free: 13.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002615/0.5484, allocations: 187.8 kB / 0.6063 GB, free: 13.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007361/0.5491, allocations: 239.6 kB / 0.6065 GB, free: 13.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.5491, allocations: 4 kB / 0.6065 GB, free: 13.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001221/0.5504, allocations: 0.5323 MB / 0.607 GB, free: 12.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.5504, allocations: 8 kB / 0.607 GB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.5504, allocations: 3.938 kB / 0.607 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.5504, allocations: 0 / 0.607 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006121/0.5511, allocations: 111.8 kB / 0.6071 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.5511, allocations: 4 kB / 0.6071 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000422/0.5515, allocations: 39.53 kB / 0.6072 GB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.997e-05/0.5516, allocations: 27.95 kB / 0.6072 GB, free: 12.76 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * Array equations: 0 * 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.00012/0.5517, allocations: 120.2 kB / 0.6073 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.407e-05/0.5517, allocations: 7.906 kB / 0.6073 GB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001519/0.5533, allocations: 0.6458 MB / 0.6079 GB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.5533, allocations: 4 kB / 0.608 GB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.5533, allocations: 4 kB / 0.608 GB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.5533, allocations: 0 / 0.608 GB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003173/0.5565, allocations: 1.121 MB / 0.6091 GB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.5565, allocations: 3.953 kB / 0.6091 GB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004951/0.557, allocations: 111.2 kB / 0.6092 GB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.557, allocations: 3.984 kB / 0.6092 GB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.515e-05/0.5571, allocations: 27.95 kB / 0.6092 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.5571, allocations: 3.938 kB / 0.6092 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.5571, allocations: 4 kB / 0.6092 GB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.5582, allocations: 0.57 MB / 0.6098 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.312e-05/0.5582, allocations: 92.94 kB / 0.6098 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.519e-05/0.5583, allocations: 11.39 kB / 0.6099 GB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003784/0.5587, allocations: 31.97 kB / 0.6099 GB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.138e-05/0.5587, allocations: 14.55 kB / 0.6099 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-05/0.5587, allocations: 30.33 kB / 0.6099 GB, free: 10.15 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.338e-05/0.5588, allocations: 83.27 kB / 0.61 GB, free: 10.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5588, allocations: 0 / 0.61 GB, free: 10.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001408/0.5602, allocations: 0.6277 MB / 0.6106 GB, free: 9.449 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * 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.002437/0.5626, allocations: 345.1 kB / 0.611 GB, free: 9.113 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005684/0.5632, allocations: 375.3 kB / 0.6113 GB, free: 8.867 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.5632, allocations: 0 / 0.6113 GB, free: 8.867 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000265/0.5635, allocations: 163.5 kB / 0.6115 GB, free: 8.746 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.5637, allocations: 9.375 kB / 0.6115 GB, free: 8.742 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/0.5655, allocations: 473.8 kB / 0.6119 GB, free: 8.293 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002053/0.5657, allocations: 0.7046 MB / 0.6126 GB, free: 7.559 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004945/0.5662, allocations: 120.9 kB / 0.6127 GB, free: 7.438 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002876/0.5665, allocations: 83.3 kB / 0.6128 GB, free: 7.355 MB / 410.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5665, allocations: 4 kB / 0.6128 GB, free: 7.352 MB / 410.7 MB Notification: Performance of Templates: time 0.02636/0.5929, allocations: 20.19 MB / 0.6325 GB, free: 3.191 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches