Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001489/0.001489, allocations: 186.7 kB / 16.41 MB, free: 5.727 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.879/1.879, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001111/0.00111, allocations: 92.42 kB / 270.9 MB, free: 8.398 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.4922/0.4922, allocations: 43.54 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004992/0.0004991, allocations: 16 kB / 431.4 MB, free: 5.961 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1221, allocations: 58.85 MB / 490.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5186/0.6408, allocations: 84.65 MB / 0.5614 GB, free: 1.918 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.6411, allocations: 63.97 kB / 0.5615 GB, free: 1.855 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01574/0.6569, allocations: 3.175 MB / 0.5646 GB, free: 14.71 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.6569, allocations: 0 / 0.5646 GB, free: 14.71 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.6569, allocations: 0 / 0.5646 GB, free: 14.71 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.0005451/0.6575, allocations: 362.8 kB / 0.5649 GB, free: 14.31 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.6576, allocations: 12.02 kB / 0.5649 GB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.734e-05/0.6576, allocations: 11.34 kB / 0.5649 GB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.6578, allocations: 167 kB / 0.5651 GB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.6578, allocations: 8 kB / 0.5651 GB, free: 14.08 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.187e-05/0.6579, allocations: 4 kB / 0.5651 GB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.6581, allocations: 71.11 kB / 0.5652 GB, free: 14 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.6581, allocations: 3.984 kB / 0.5652 GB, free: 14 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.6581, allocations: 4 kB / 0.5652 GB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.6581, allocations: 1.031 kB / 0.5652 GB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.6583, allocations: 43.91 kB / 0.5652 GB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002573/0.6585, allocations: 181.5 kB / 0.5654 GB, free: 13.72 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.6588, allocations: 91.19 kB / 0.5655 GB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004175/0.6592, allocations: 109.1 kB / 0.5656 GB, free: 13.5 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.6593, allocations: 30.56 kB / 0.5656 GB, free: 13.46 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 5.76e-06/0.6593, allocations: 4 kB / 0.5656 GB, free: 13.46 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.243/0.9023, allocations: 5.542 MB / 0.571 GB, free: 7.898 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/0.9024, allocations: 59.27 kB / 0.5711 GB, free: 7.828 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.025e-05/0.9024, allocations: 92.94 kB / 0.5712 GB, free: 7.73 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.821e-05/0.9025, allocations: 29.7 kB / 0.5712 GB, free: 7.695 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.729e-05/0.9026, allocations: 150.9 kB / 0.5713 GB, free: 7.543 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.9027, allocations: 86.77 kB / 0.5714 GB, free: 7.457 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.853e-05/0.9028, allocations: 4 kB / 0.5714 GB, free: 7.453 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.9029, allocations: 318.8 kB / 0.5717 GB, free: 7.133 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007154/0.9036, allocations: 136 kB / 0.5719 GB, free: 7 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007219/0.9044, allocations: 139.9 kB / 0.572 GB, free: 6.863 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.9058, allocations: 171.9 kB / 0.5722 GB, free: 6.695 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.9059, allocations: 0 / 0.5722 GB, free: 6.695 MB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002377/0.9082, allocations: 402.4 kB / 0.5726 GB, free: 6.297 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.291e-05/0.9083, allocations: 8 kB / 0.5726 GB, free: 6.289 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.9084, allocations: 0 / 0.5726 GB, free: 6.289 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.9084, allocations: 7.938 kB / 0.5726 GB, free: 6.281 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007313/0.9091, allocations: 91.84 kB / 0.5727 GB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.555e-05/0.9092, allocations: 7.953 kB / 0.5727 GB, free: 6.184 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003974/0.9096, allocations: 35.97 kB / 0.5727 GB, free: 6.148 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.003e-05/0.9096, allocations: 15.98 kB / 0.5727 GB, free: 6.133 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 0.0001726/0.9098, allocations: 129.8 kB / 0.5728 GB, free: 5.996 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.185e-05/0.9099, allocations: 7.906 kB / 0.5728 GB, free: 5.988 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00276/0.9127, allocations: 481.8 kB / 0.5733 GB, free: 5.516 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.9127, allocations: 4 kB / 0.5733 GB, free: 5.512 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.9127, allocations: 0 / 0.5733 GB, free: 5.512 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.9127, allocations: 3.953 kB / 0.5733 GB, free: 5.508 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004196/0.9169, allocations: 0.8623 MB / 0.5742 GB, free: 4.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.917, allocations: 0 / 0.5742 GB, free: 4.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005938/0.9176, allocations: 91.92 kB / 0.5742 GB, free: 4.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.9176, allocations: 0 / 0.5742 GB, free: 4.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.281e-05/0.9177, allocations: 15.98 kB / 0.5743 GB, free: 4.484 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.637e-06/0.9177, allocations: 4 kB / 0.5743 GB, free: 4.48 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.9177, allocations: 0 / 0.5743 GB, free: 4.48 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002281/0.92, allocations: 0.4893 MB / 0.5747 GB, free: 3.957 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-05/0.9201, allocations: 88.14 kB / 0.5748 GB, free: 3.855 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.923e-05/0.9202, allocations: 11.94 kB / 0.5748 GB, free: 3.844 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003765/0.9206, allocations: 31.97 kB / 0.5749 GB, free: 3.812 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.9206, allocations: 19.94 kB / 0.5749 GB, free: 3.793 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.277e-05/0.9207, allocations: 15.98 kB / 0.5749 GB, free: 3.777 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.918e-05/0.9207, allocations: 79.28 kB / 0.575 GB, free: 3.699 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.9207, allocations: 0 / 0.575 GB, free: 3.699 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00231/0.9231, allocations: 0.6168 MB / 0.5756 GB, free: 3.082 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.004791/0.9279, allocations: 346.6 kB / 0.5759 GB, free: 2.734 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001657/0.9296, allocations: 311.9 kB / 0.5762 GB, free: 2.43 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.9296, allocations: 0 / 0.5762 GB, free: 2.43 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00072/0.9304, allocations: 148 kB / 0.5763 GB, free: 2.285 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.9306, allocations: 8 kB / 0.5764 GB, free: 2.277 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.9324, allocations: 437 kB / 0.5768 GB, free: 1.812 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.9328, allocations: 0.6978 MB / 0.5774 GB, free: 1.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002609/0.9331, allocations: 51.39 kB / 0.5775 GB, free: 1.043 MB / 394.7 MB Notification: Performance of SimCode: time 1.202e-06/0.9331, allocations: 0 / 0.5775 GB, free: 1.043 MB / 394.7 MB Notification: Performance of Templates: time 0.03496/0.968, allocations: 14.99 MB / 0.5921 GB, free: 2.066 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches