Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 221.5 MB / 230.7 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008836/0.0008836, allocations: 93.8 kB / 281.6 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.243/0.243, allocations: 44.14 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.399e-05/1.403e-05, allocations: 224 / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1347, allocations: 61.92 MB / 0.4947 GB, free: 1.25 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3719/0.5066, allocations: 84.92 MB / 0.5776 GB, free: 11.6 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001747/0.5068, allocations: 63.95 kB / 0.5777 GB, free: 11.54 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009155/0.516, allocations: 3.029 MB / 0.5806 GB, free: 8.516 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.516, allocations: 0 / 0.5806 GB, free: 8.516 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.516, allocations: 4 kB / 0.5806 GB, free: 8.512 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.0003704/0.5164, allocations: 361 kB / 0.581 GB, free: 8.117 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.5165, allocations: 11.98 kB / 0.581 GB, free: 8.105 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.88e-05/0.5165, allocations: 7.906 kB / 0.581 GB, free: 8.098 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.5166, allocations: 171 kB / 0.5812 GB, free: 7.891 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.5167, allocations: 7.891 kB / 0.5812 GB, free: 7.883 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.5167, allocations: 8 kB / 0.5812 GB, free: 7.875 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001073/0.5168, allocations: 27.92 kB / 0.5812 GB, free: 7.848 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.224e-05/0.5169, allocations: 46.25 kB / 0.5812 GB, free: 7.797 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.5169, allocations: 0 / 0.5812 GB, free: 7.797 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.5169, allocations: 3.984 kB / 0.5812 GB, free: 7.793 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.517, allocations: 0 / 0.5812 GB, free: 7.793 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001679/0.5171, allocations: 146.1 kB / 0.5814 GB, free: 7.613 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.5173, allocations: 50.84 kB / 0.5814 GB, free: 7.555 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.845e-05/0.5174, allocations: 32.73 kB / 0.5815 GB, free: 7.52 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002259/0.5176, allocations: 113.1 kB / 0.5816 GB, free: 7.391 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.5177, allocations: 38.5 kB / 0.5816 GB, free: 7.344 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.5177, allocations: 0 / 0.5816 GB, free: 7.344 MB / 394.7 MB Notification: Performance of matching and sorting (n=19): time 0.1245/0.6421, allocations: 5.451 MB / 0.5869 GB, free: 1.852 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.6422, allocations: 55.41 kB / 0.587 GB, free: 1.785 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.402e-05/0.6423, allocations: 93 kB / 0.5871 GB, free: 1.688 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.534e-05/0.6424, allocations: 25.7 kB / 0.5871 GB, free: 1.656 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.214e-05/0.6424, allocations: 84.14 kB / 0.5872 GB, free: 1.57 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.905e-05/0.6425, allocations: 67.09 kB / 0.5872 GB, free: 1.504 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.855e-05/0.6426, allocations: 0 / 0.5872 GB, free: 1.504 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.6427, allocations: 314.8 kB / 0.5875 GB, free: 1.188 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002652/0.643, allocations: 187.9 kB / 0.5877 GB, free: 1.004 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002496/0.6432, allocations: 183.9 kB / 0.5879 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.6443, allocations: 287.6 kB / 0.5882 GB, free: 0.543 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.6443, allocations: 0 / 0.5882 GB, free: 0.543 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001564/0.6458, allocations: 0.5696 MB / 0.5887 GB, free: 15.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.6459, allocations: 7.938 kB / 0.5887 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.6459, allocations: 0 / 0.5887 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.6459, allocations: 4 kB / 0.5887 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006883/0.6466, allocations: 111.8 kB / 0.5888 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.6466, allocations: 0 / 0.5888 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004142/0.6471, allocations: 39.89 kB / 0.5889 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-05/0.6471, allocations: 35.94 kB / 0.5889 GB, free: 15.77 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.000131/0.6473, allocations: 101 kB / 0.589 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.182e-05/0.6473, allocations: 11.86 kB / 0.589 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001875/0.6492, allocations: 0.6743 MB / 0.5897 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/0.6492, allocations: 7.953 kB / 0.5897 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.6492, allocations: 3.938 kB / 0.5897 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.6493, allocations: 4 kB / 0.5897 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003524/0.6528, allocations: 1.132 MB / 0.5908 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.6528, allocations: 0 / 0.5908 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005363/0.6534, allocations: 116 kB / 0.5909 GB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.6534, allocations: 0 / 0.5909 GB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.421e-05/0.6534, allocations: 27.95 kB / 0.5909 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.6534, allocations: 0 / 0.5909 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.6534, allocations: 4 kB / 0.5909 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/0.6548, allocations: 0.6124 MB / 0.5915 GB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.886e-05/0.6549, allocations: 93.19 kB / 0.5916 GB, free: 12.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.409e-05/0.6549, allocations: 0 / 0.5916 GB, free: 12.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003949/0.6554, allocations: 31.91 kB / 0.5917 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.045e-05/0.6554, allocations: 12.23 kB / 0.5917 GB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.326e-05/0.6554, allocations: 31.95 kB / 0.5917 GB, free: 12.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.848e-05/0.6555, allocations: 95.2 kB / 0.5918 GB, free: 12.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6555, allocations: 0 / 0.5918 GB, free: 12.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001678/0.6572, allocations: 0.6207 MB / 0.5924 GB, free: 12.04 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.002643/0.6598, allocations: 338.6 kB / 0.5927 GB, free: 11.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005929/0.6605, allocations: 365.8 kB / 0.5931 GB, free: 11.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6605, allocations: 0 / 0.5931 GB, free: 11.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002357/0.6607, allocations: 164.1 kB / 0.5932 GB, free: 11.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.6609, allocations: 8.062 kB / 0.5932 GB, free: 11.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/0.6629, allocations: 457 kB / 0.5937 GB, free: 10.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.6632, allocations: 0.7042 MB / 0.5944 GB, free: 9.957 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000555/0.6637, allocations: 120.9 kB / 0.5945 GB, free: 9.836 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002926/0.664, allocations: 91.3 kB / 0.5946 GB, free: 9.746 MB / 410.7 MB Notification: Performance of SimCode: time 4.11e-07/0.6641, allocations: 0 / 0.5946 GB, free: 9.746 MB / 410.7 MB Notification: Performance of Templates: time 0.03358/0.6976, allocations: 20.5 MB / 0.6146 GB, free: 5.281 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches