Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001403/0.001403, allocations: 175.9 kB / 16.76 MB, free: 5.043 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.317/1.317, allocations: 205.4 MB / 222.9 MB, free: 8.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007618/0.0007617, allocations: 78.42 kB / 271.3 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3242/0.3242, allocations: 43.57 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005168/0.0005172, allocations: 12 kB / 432.6 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1398, allocations: 58.85 MB / 491.5 MB, free: 10.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2814/0.4212, allocations: 84.69 MB / 0.5627 GB, free: 1.277 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001975/0.4215, allocations: 67.97 kB / 0.5627 GB, free: 1.211 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009021/0.4305, allocations: 3.164 MB / 0.5658 GB, free: 14.07 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.4306, allocations: 0 / 0.5658 GB, free: 14.07 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.4306, allocations: 0 / 0.5658 GB, free: 14.07 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003362/0.4309, allocations: 367 kB / 0.5662 GB, free: 13.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.431, allocations: 12.03 kB / 0.5662 GB, free: 13.65 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.751e-05/0.431, allocations: 8.844 kB / 0.5662 GB, free: 13.64 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.4312, allocations: 169.2 kB / 0.5663 GB, free: 13.44 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.4312, allocations: 4.375 kB / 0.5663 GB, free: 13.44 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.345e-05/0.4313, allocations: 12.36 kB / 0.5664 GB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.4314, allocations: 66.22 kB / 0.5664 GB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.4314, allocations: 192 / 0.5664 GB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.4315, allocations: 15.88 kB / 0.5664 GB, free: 13.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-06/0.4315, allocations: 3.75 kB / 0.5664 GB, free: 13.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.781e-05/0.4316, allocations: 43.95 kB / 0.5665 GB, free: 13.3 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002189/0.4318, allocations: 177.5 kB / 0.5666 GB, free: 13.07 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.4319, allocations: 83.69 kB / 0.5667 GB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.739e-05/0.432, allocations: 32.84 kB / 0.5668 GB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002396/0.4322, allocations: 109.1 kB / 0.5669 GB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.4323, allocations: 40.48 kB / 0.5669 GB, free: 12.78 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.773e-06/0.4323, allocations: 0 / 0.5669 GB, free: 12.78 MB / 394.7 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.1079/0.5402, allocations: 5.538 MB / 0.5723 GB, free: 7.223 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.5403, allocations: 55.27 kB / 0.5724 GB, free: 7.156 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.128e-05/0.5404, allocations: 93.86 kB / 0.5725 GB, free: 7.055 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.884e-05/0.5404, allocations: 29.7 kB / 0.5725 GB, free: 7.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.818e-05/0.5405, allocations: 88.44 kB / 0.5726 GB, free: 6.926 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.453e-05/0.5405, allocations: 78.84 kB / 0.5726 GB, free: 6.848 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.743e-05/0.5406, allocations: 7.938 kB / 0.5726 GB, free: 6.84 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.5407, allocations: 326.8 kB / 0.573 GB, free: 6.512 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003377/0.541, allocations: 143.9 kB / 0.5731 GB, free: 6.371 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003472/0.5414, allocations: 131.9 kB / 0.5732 GB, free: 6.242 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001297/0.5427, allocations: 365.8 kB / 0.5736 GB, free: 5.883 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.5427, allocations: 0 / 0.5736 GB, free: 5.883 MB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001113/0.5438, allocations: 406.4 kB / 0.574 GB, free: 5.48 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.5439, allocations: 4 kB / 0.574 GB, free: 5.477 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.5439, allocations: 0 / 0.574 GB, free: 5.477 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.5439, allocations: 0 / 0.574 GB, free: 5.477 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000369/0.5443, allocations: 99.86 kB / 0.5741 GB, free: 5.379 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.5443, allocations: 0 / 0.5741 GB, free: 5.379 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.5445, allocations: 35.95 kB / 0.5741 GB, free: 5.344 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.058e-05/0.5445, allocations: 19.98 kB / 0.5741 GB, free: 5.324 MB / 394.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.976e-05/0.5446, allocations: 125.7 kB / 0.5742 GB, free: 5.191 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.387e-05/0.5447, allocations: 7.906 kB / 0.5742 GB, free: 5.184 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001388/0.546, allocations: 470.7 kB / 0.5747 GB, free: 4.719 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.5461, allocations: 4 kB / 0.5747 GB, free: 4.715 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.5461, allocations: 7.625 kB / 0.5747 GB, free: 4.711 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.5461, allocations: 0 / 0.5747 GB, free: 4.711 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002079/0.5482, allocations: 0.8664 MB / 0.5755 GB, free: 3.785 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.5482, allocations: 3.938 kB / 0.5755 GB, free: 3.781 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002844/0.5485, allocations: 91.94 kB / 0.5756 GB, free: 3.691 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.77e-06/0.5485, allocations: 4 kB / 0.5756 GB, free: 3.688 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.348e-05/0.5485, allocations: 7.984 kB / 0.5756 GB, free: 3.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.5485, allocations: 4 kB / 0.5757 GB, free: 3.676 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.5485, allocations: 0 / 0.5757 GB, free: 3.676 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.5496, allocations: 480.7 kB / 0.5761 GB, free: 3.184 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.244e-05/0.5497, allocations: 85.02 kB / 0.5762 GB, free: 3.082 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.132e-05/0.5497, allocations: 8 kB / 0.5762 GB, free: 3.074 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.5499, allocations: 43.91 kB / 0.5762 GB, free: 3.031 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.969e-05/0.55, allocations: 11.97 kB / 0.5763 GB, free: 3.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.329e-05/0.55, allocations: 19.98 kB / 0.5763 GB, free: 3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.924e-05/0.55, allocations: 75.28 kB / 0.5763 GB, free: 2.926 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.55, allocations: 0 / 0.5763 GB, free: 2.926 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001492/0.5515, allocations: 0.6168 MB / 0.5769 GB, free: 2.309 MB / 394.7 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 (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.002563/0.5541, allocations: 354.6 kB / 0.5773 GB, free: 1.953 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007785/0.5549, allocations: 307.6 kB / 0.5776 GB, free: 1.652 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.5549, allocations: 0 / 0.5776 GB, free: 1.652 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003218/0.5552, allocations: 155.9 kB / 0.5777 GB, free: 1.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.5555, allocations: 11.94 kB / 0.5777 GB, free: 1.488 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008985/0.5564, allocations: 407.3 kB / 0.5781 GB, free: 1.059 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.5566, allocations: 0.6973 MB / 0.5788 GB, free: 344 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003221/0.557, allocations: 78.33 kB / 0.5789 GB, free: 268 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.5571, allocations: 47.39 kB / 0.5789 GB, free: 220 kB / 394.7 MB Notification: Performance of SimCode: time 5.71e-07/0.5571, allocations: 0 / 0.5789 GB, free: 220 kB / 394.7 MB Notification: Performance of Templates: time 0.05886/0.616, allocations: 48.17 MB / 0.626 GB, free: 15.91 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches