Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 174.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.385/1.385, allocations: 221.5 MB / 230.7 MB, free: 7.566 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.0008844/0.0008845, allocations: 101 kB / 281.6 MB, free: 5.32 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.1853/0.1853, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.866e-05/1.858e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1125, allocations: 61.91 MB / 0.4947 GB, free: 1.258 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3546/0.4672, allocations: 84.3 MB / 0.577 GB, free: 12.24 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001921/0.4674, allocations: 67.97 kB / 0.577 GB, free: 12.17 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00167/0.4691, allocations: 0.6208 MB / 0.5777 GB, free: 11.55 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4691, allocations: 0 / 0.5777 GB, free: 11.55 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.4691, allocations: 0 / 0.5777 GB, free: 11.55 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002436/0.4694, allocations: 314.5 kB / 0.578 GB, free: 11.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.4694, allocations: 11.98 kB / 0.578 GB, free: 11.19 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.711e-05/0.4695, allocations: 4.75 kB / 0.578 GB, free: 11.19 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.4696, allocations: 170.9 kB / 0.5781 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.4696, allocations: 0 / 0.5781 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.4696, allocations: 0 / 0.5781 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.489e-05/0.4697, allocations: 7.953 kB / 0.5781 GB, free: 10.97 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.633e-05/0.4698, allocations: 33.7 kB / 0.5782 GB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.4698, allocations: 3.984 kB / 0.5782 GB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-06/0.4698, allocations: 4 kB / 0.5782 GB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.4698, allocations: 7.938 kB / 0.5782 GB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001359/0.47, allocations: 126.2 kB / 0.5783 GB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.4701, allocations: 38.55 kB / 0.5783 GB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.384e-05/0.4702, allocations: 8.859 kB / 0.5784 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002849/0.4704, allocations: 121.2 kB / 0.5785 GB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.4705, allocations: 40.75 kB / 0.5785 GB, free: 10.52 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.4705, allocations: 0 / 0.5785 GB, free: 10.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.00109/0.4716, allocations: 169.4 kB / 0.5787 GB, free: 10.34 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.4716, allocations: 55.34 kB / 0.5787 GB, free: 10.28 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.144e-05/0.4717, allocations: 89 kB / 0.5788 GB, free: 10.18 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.4717, allocations: 29.7 kB / 0.5788 GB, free: 10.15 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.89e-05/0.4718, allocations: 84.14 kB / 0.5789 GB, free: 10.06 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.4718, allocations: 7.812 kB / 0.5789 GB, free: 10.05 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-06/0.4718, allocations: 3.828 kB / 0.5789 GB, free: 10.05 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.4719, allocations: 318 kB / 0.5792 GB, free: 9.738 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.289e-05/0.472, allocations: 12 kB / 0.5792 GB, free: 9.727 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.863e-05/0.472, allocations: 8 kB / 0.5792 GB, free: 9.719 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.113e-05/0.4721, allocations: 15.98 kB / 0.5793 GB, free: 9.703 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.4721, allocations: 8.125 kB / 0.5793 GB, free: 9.695 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001271/0.4722, allocations: 57.67 kB / 0.5793 GB, free: 9.633 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.4722, allocations: 5.406 kB / 0.5793 GB, free: 9.629 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.4722, allocations: 0 / 0.5793 GB, free: 9.629 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.4723, allocations: 3.953 kB / 0.5793 GB, free: 9.625 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.4724, allocations: 19.92 kB / 0.5794 GB, free: 9.605 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.4724, allocations: 4 kB / 0.5794 GB, free: 9.602 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.776e-05/0.4725, allocations: 7.984 kB / 0.5794 GB, free: 9.594 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.4725, allocations: 0.875 kB / 0.5794 GB, free: 9.594 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 () * 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 8.402e-05/0.4726, allocations: 116.9 kB / 0.5795 GB, free: 9.473 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.052e-05/0.4726, allocations: 0 / 0.5795 GB, free: 9.473 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001859/0.4728, allocations: 69.84 kB / 0.5795 GB, free: 9.395 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.4728, allocations: 320 / 0.5795 GB, free: 9.395 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.4729, allocations: 3.953 kB / 0.5795 GB, free: 9.391 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.4729, allocations: 4 kB / 0.5796 GB, free: 9.387 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005768/0.4734, allocations: 320 kB / 0.5799 GB, free: 9.027 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.4735, allocations: 4 kB / 0.5799 GB, free: 9.023 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.4736, allocations: 16.03 kB / 0.5799 GB, free: 9.008 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.4736, allocations: 3.984 kB / 0.5799 GB, free: 9.004 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.4736, allocations: 7.984 kB / 0.5799 GB, free: 8.996 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4736, allocations: 0 / 0.5799 GB, free: 8.996 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.4736, allocations: 4 kB / 0.5799 GB, free: 8.992 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/0.4738, allocations: 174 kB / 0.5801 GB, free: 8.797 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.378e-05/0.4739, allocations: 77.11 kB / 0.5801 GB, free: 8.703 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.4739, allocations: 15.88 kB / 0.5801 GB, free: 8.688 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.474, allocations: 8 kB / 0.5802 GB, free: 8.68 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.57e-05/0.474, allocations: 7.984 kB / 0.5802 GB, free: 8.672 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.474, allocations: 0 / 0.5802 GB, free: 8.672 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.915e-05/0.4741, allocations: 75.28 kB / 0.5802 GB, free: 8.598 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4741, allocations: 2.953 kB / 0.5802 GB, free: 8.598 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002223/0.4743, allocations: 8 kB / 0.5802 GB, free: 8.59 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.0001212/0.4744, allocations: 95.25 kB / 0.5803 GB, free: 8.488 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.677e-05/0.4745, allocations: 36.02 kB / 0.5804 GB, free: 8.453 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.4745, allocations: 4 kB / 0.5804 GB, free: 8.449 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.606e-05/0.4746, allocations: 12 kB / 0.5804 GB, free: 8.438 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.4747, allocations: 0 / 0.5804 GB, free: 8.438 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003617/0.4751, allocations: 84.78 kB / 0.5805 GB, free: 8.328 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.4754, allocations: 0.6846 MB / 0.5811 GB, free: 7.617 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.321e-05/0.4754, allocations: 4 kB / 0.5811 GB, free: 7.613 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.324e-05/0.4755, allocations: 11.42 kB / 0.5811 GB, free: 7.602 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4755, allocations: 4 kB / 0.5812 GB, free: 7.598 MB / 394.7 MB Notification: Performance of Templates: time 0.002372/0.4779, allocations: 0.5667 MB / 0.5817 GB, free: 7.031 MB / 394.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches