Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00119/0.00119, allocations: 113.1 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001317/0.001317, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2414/0.2414, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 75.88 kB / 482 MB, free: 4.105 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4394/0.4411, allocations: 62.43 MB / 0.5316 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001735/0.4429, allocations: 0.5374 MB / 0.5322 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008242/0.4437, allocations: 406.9 kB / 0.5325 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.388e-05/0.4438, allocations: 0 / 0.5325 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.902e-05/0.4438, allocations: 0 / 0.5325 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.853e-05/0.4438, allocations: 5 kB / 0.5326 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000527/0.4444, allocations: 149.9 kB / 0.5327 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.274e-05/0.4444, allocations: 26.2 kB / 0.5327 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.248e-05/0.4445, allocations: 6.328 kB / 0.5327 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.076e-05/0.4445, allocations: 15.45 kB / 0.5327 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.379e-05/0.4446, allocations: 22.52 kB / 0.5328 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.4446, allocations: 3.188 kB / 0.5328 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00028/0.4449, allocations: 159.2 kB / 0.5329 GB, free: 12.69 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.4449, allocations: 10.11 kB / 0.5329 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.407e-05/0.445, allocations: 22.05 kB / 0.533 GB, free: 12.67 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002395/0.4452, allocations: 135.3 kB / 0.5331 GB, free: 12.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4452, allocations: 0 / 0.5331 GB, free: 12.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4452, allocations: 1.188 kB / 0.5331 GB, free: 12.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.054e-06/0.4453, allocations: 0 / 0.5331 GB, free: 12.59 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004502/0.4457, allocations: 357.9 kB / 0.5334 GB, free: 12.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.4458, allocations: 14.31 kB / 0.5334 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.4458, allocations: 6.281 kB / 0.5334 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.4459, allocations: 168 kB / 0.5336 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.446, allocations: 11.56 kB / 0.5336 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.297e-05/0.446, allocations: 4.469 kB / 0.5336 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.4461, allocations: 67.19 kB / 0.5337 GB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/0.4462, allocations: 9.625 kB / 0.5337 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.4462, allocations: 0 / 0.5337 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.4462, allocations: 1.719 kB / 0.5337 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.123e-05/0.4463, allocations: 45.33 kB / 0.5337 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001993/0.4465, allocations: 178.2 kB / 0.5339 GB, free: 11.7 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.4467, allocations: 90.55 kB / 0.534 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.066e-05/0.4467, allocations: 27.97 kB / 0.534 GB, free: 11.63 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002852/0.447, allocations: 106.8 kB / 0.5341 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.447, allocations: 35.94 kB / 0.5342 GB, free: 11.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.412e-06/0.4471, allocations: 1.375 kB / 0.5342 GB, free: 11.48 MB / 398.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.1223/0.5694, allocations: 5.621 MB / 0.5396 GB, free: 8.398 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.108e-05/0.5695, allocations: 65.28 kB / 0.5397 GB, free: 8.324 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.5697, allocations: 92.02 kB / 0.5398 GB, free: 8.227 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.065e-05/0.5697, allocations: 34.86 kB / 0.5398 GB, free: 8.188 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.549e-05/0.5697, allocations: 80.52 kB / 0.5399 GB, free: 8.102 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.5699, allocations: 75.8 kB / 0.54 GB, free: 8.035 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.57, allocations: 58.45 kB / 0.54 GB, free: 7.996 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.5702, allocations: 329 kB / 0.5403 GB, free: 7.668 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003886/0.5706, allocations: 114.2 kB / 0.5405 GB, free: 7.617 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003644/0.571, allocations: 111.3 kB / 0.5406 GB, free: 7.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001458/0.5724, allocations: 321.5 kB / 0.5409 GB, free: 7.434 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.5724, allocations: 1.094 kB / 0.5409 GB, free: 7.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001289/0.5737, allocations: 357.8 kB / 0.5412 GB, free: 7.262 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/0.5738, allocations: 9.25 kB / 0.5412 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.5738, allocations: 0 / 0.5412 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.66e-05/0.5738, allocations: 1.094 kB / 0.5412 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004291/0.5743, allocations: 79.12 kB / 0.5413 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.5743, allocations: 5.094 kB / 0.5413 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.5745, allocations: 24.91 kB / 0.5413 GB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.614e-05/0.5746, allocations: 17.86 kB / 0.5413 GB, free: 7.211 MB / 398.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * 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.0001562/0.5747, allocations: 121.9 kB / 0.5415 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.614e-05/0.5748, allocations: 7.656 kB / 0.5415 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001488/0.5763, allocations: 427.6 kB / 0.5419 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.5763, allocations: 2.844 kB / 0.5419 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/0.5763, allocations: 8 kB / 0.5419 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.5763, allocations: 3.984 kB / 0.5419 GB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002431/0.5788, allocations: 0.7788 MB / 0.5426 GB, free: 6.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.054e-06/0.5788, allocations: 7.938 kB / 0.5427 GB, free: 6.172 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000269/0.5791, allocations: 67.94 kB / 0.5427 GB, free: 6.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.776e-06/0.5791, allocations: 3.984 kB / 0.5427 GB, free: 6.102 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.088e-05/0.5791, allocations: 15.94 kB / 0.5427 GB, free: 6.086 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.682e-06/0.5791, allocations: 4 kB / 0.5427 GB, free: 6.082 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.5791, allocations: 3.984 kB / 0.5427 GB, free: 6.078 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.5803, allocations: 429.6 kB / 0.5432 GB, free: 5.637 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.036e-05/0.5804, allocations: 89.02 kB / 0.5432 GB, free: 5.531 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.202e-05/0.5804, allocations: 3.984 kB / 0.5432 GB, free: 5.527 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.5806, allocations: 23.97 kB / 0.5433 GB, free: 5.504 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.5807, allocations: 15.92 kB / 0.5433 GB, free: 5.488 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.977e-05/0.5807, allocations: 19.98 kB / 0.5433 GB, free: 5.469 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.602e-05/0.5808, allocations: 79.28 kB / 0.5434 GB, free: 5.391 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5808, allocations: 0 / 0.5434 GB, free: 5.391 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002053/0.5828, allocations: 0.6327 MB / 0.544 GB, free: 4.758 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * 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.003626/0.5865, allocations: 287 kB / 0.5443 GB, free: 4.469 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009366/0.5874, allocations: 263.6 kB / 0.5445 GB, free: 4.211 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.5874, allocations: 0 / 0.5445 GB, free: 4.211 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003845/0.5878, allocations: 131.8 kB / 0.5446 GB, free: 4.082 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.5882, allocations: 16.12 kB / 0.5447 GB, free: 4.066 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.5893, allocations: 357 kB / 0.545 GB, free: 3.672 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.5897, allocations: 0.697 MB / 0.5457 GB, free: 2.945 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.5898, allocations: 43.41 kB / 0.5457 GB, free: 2.902 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.5898, allocations: 4 kB / 0.5457 GB, free: 2.898 MB / 398.1 MB Notification: Performance of Templates: time 0.02654/0.6164, allocations: 14.15 MB / 0.5595 GB, free: 4.773 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches