Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000958/0.0009581, allocations: 169.7 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.44/1.44, allocations: 221.5 MB / 230.7 MB, free: 7.59 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.001189/0.00119, allocations: 89.84 kB / 281.6 MB, free: 5.332 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.1936/0.1936, allocations: 44.15 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.748e-05/1.75e-05, allocations: 224 / 444.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1321, allocations: 61.92 MB / 0.4947 GB, free: 1.27 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4159/0.548, allocations: 84.36 MB / 0.5771 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/0.5483, allocations: 59.97 kB / 0.5771 GB, free: 12.14 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001434/0.5497, allocations: 0.575 MB / 0.5777 GB, free: 11.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.5497, allocations: 0 / 0.5777 GB, free: 11.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.5497, allocations: 0 / 0.5777 GB, free: 11.57 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002467/0.55, allocations: 318.5 kB / 0.578 GB, free: 11.21 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.55, allocations: 19.86 kB / 0.578 GB, free: 11.19 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.292e-05/0.5501, allocations: 0 / 0.578 GB, free: 11.19 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.5502, allocations: 163.1 kB / 0.5781 GB, free: 10.99 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.5502, allocations: 0 / 0.5781 GB, free: 10.99 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.5502, allocations: 4 kB / 0.5782 GB, free: 10.99 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.182e-05/0.5503, allocations: 15.95 kB / 0.5782 GB, free: 10.97 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.477e-05/0.5504, allocations: 51.41 kB / 0.5782 GB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.5504, allocations: 0 / 0.5782 GB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.5504, allocations: 0 / 0.5782 GB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-06/0.5504, allocations: 0 / 0.5782 GB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002609/0.5507, allocations: 297.6 kB / 0.5785 GB, free: 10.58 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.896e-05/0.5507, allocations: 30.53 kB / 0.5785 GB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.807e-05/0.5508, allocations: 9 kB / 0.5785 GB, free: 10.53 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.5508, allocations: 3.984 kB / 0.5785 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.5508, allocations: 41.78 kB / 0.5786 GB, free: 10.48 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.5508, allocations: 0 / 0.5786 GB, free: 10.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001891/0.551, allocations: 49.53 kB / 0.5786 GB, free: 10.42 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.5511, allocations: 59.41 kB / 0.5787 GB, free: 10.35 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.477e-05/0.5511, allocations: 85 kB / 0.5788 GB, free: 10.26 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.5512, allocations: 29.7 kB / 0.5788 GB, free: 10.23 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.034e-05/0.5512, allocations: 80.14 kB / 0.5789 GB, free: 10.14 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.13e-05/0.5512, allocations: 11.64 kB / 0.5789 GB, free: 10.14 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-06/0.5512, allocations: 0 / 0.5789 GB, free: 10.14 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.5514, allocations: 322.8 kB / 0.5792 GB, free: 9.812 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.194e-05/0.5514, allocations: 0 / 0.5792 GB, free: 9.812 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.322e-05/0.5514, allocations: 25.84 kB / 0.5792 GB, free: 9.781 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.107e-05/0.5515, allocations: 4 kB / 0.5792 GB, free: 9.777 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.5515, allocations: 0 / 0.5792 GB, free: 9.777 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.121e-05/0.5516, allocations: 57.61 kB / 0.5793 GB, free: 9.715 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.5516, allocations: 7.953 kB / 0.5793 GB, free: 9.707 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.5516, allocations: 4 kB / 0.5793 GB, free: 9.703 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.5516, allocations: 0 / 0.5793 GB, free: 9.703 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.423e-05/0.5517, allocations: 8 kB / 0.5793 GB, free: 9.695 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.5517, allocations: 4.031 kB / 0.5793 GB, free: 9.691 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.153e-05/0.5517, allocations: 3.938 kB / 0.5793 GB, free: 9.688 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.5517, allocations: 4 kB / 0.5793 GB, free: 9.684 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 5.851e-05/0.5518, allocations: 105 kB / 0.5794 GB, free: 9.574 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/0.5518, allocations: 3.906 kB / 0.5794 GB, free: 9.57 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001332/0.552, allocations: 71.44 kB / 0.5795 GB, free: 9.492 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.552, allocations: 0 / 0.5795 GB, free: 9.492 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.552, allocations: 0 / 0.5795 GB, free: 9.492 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.552, allocations: 0 / 0.5795 GB, free: 9.492 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.5521, allocations: 138.3 kB / 0.5796 GB, free: 9.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5521, allocations: 0 / 0.5796 GB, free: 9.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.199e-05/0.5522, allocations: 11.98 kB / 0.5796 GB, free: 9.309 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.5522, allocations: 0 / 0.5796 GB, free: 9.309 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.5522, allocations: 0 / 0.5796 GB, free: 9.309 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.5522, allocations: 4 kB / 0.5796 GB, free: 9.305 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5522, allocations: 3.953 kB / 0.5796 GB, free: 9.301 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/0.5523, allocations: 144.2 kB / 0.5798 GB, free: 9.145 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.531e-05/0.5524, allocations: 81.11 kB / 0.5798 GB, free: 9.047 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.5524, allocations: 7.922 kB / 0.5799 GB, free: 9.039 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.202e-05/0.5524, allocations: 256 / 0.5799 GB, free: 9.039 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.675e-05/0.5525, allocations: 7.953 kB / 0.5799 GB, free: 9.031 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.5525, allocations: 8 kB / 0.5799 GB, free: 9.023 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.506e-05/0.5525, allocations: 82.23 kB / 0.5799 GB, free: 8.945 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5525, allocations: 0 / 0.5799 GB, free: 8.945 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002131/0.5528, allocations: 4 kB / 0.5799 GB, free: 8.941 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0001179/0.5529, allocations: 101.6 kB / 0.58 GB, free: 8.832 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.234e-05/0.553, allocations: 23.98 kB / 0.5801 GB, free: 8.809 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.183e-06/0.553, allocations: 0 / 0.5801 GB, free: 8.809 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.33e-05/0.553, allocations: 15.94 kB / 0.5801 GB, free: 8.793 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001149/0.5531, allocations: 0 / 0.5801 GB, free: 8.793 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001725/0.5533, allocations: 67.84 kB / 0.5801 GB, free: 8.703 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.5535, allocations: 0.6807 MB / 0.5808 GB, free: 7.996 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.311e-05/0.5536, allocations: 8.062 kB / 0.5808 GB, free: 7.988 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.81e-05/0.5536, allocations: 7.438 kB / 0.5808 GB, free: 7.98 MB / 394.7 MB Notification: Performance of SimCode: time 3.21e-07/0.5536, allocations: 0 / 0.5808 GB, free: 7.98 MB / 394.7 MB Notification: Performance of Templates: time 0.001964/0.5556, allocations: 406.7 kB / 0.5812 GB, free: 7.586 MB / 394.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches