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.0009279/0.0009279, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 221.3 MB / 236 MB, free: 2.98 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.0009075/0.0009075, allocations: 94.48 kB / 287 MB, free: 256 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1847/0.1847, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.513e-05/4.515e-05, allocations: 8.203 kB / 451.8 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1149, allocations: 61.92 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3597/0.4746, allocations: 84.96 MB / 0.5847 GB, free: 4.387 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/0.4749, allocations: 67.95 kB / 0.5847 GB, free: 4.32 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001587/0.4765, allocations: 0.6135 MB / 0.5853 GB, free: 3.711 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4765, allocations: 0 / 0.5853 GB, free: 3.711 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.4765, allocations: 0 / 0.5853 GB, free: 3.711 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.0002439/0.4768, allocations: 319.2 kB / 0.5856 GB, free: 3.355 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.4768, allocations: 12.03 kB / 0.5856 GB, free: 3.344 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.266e-05/0.4769, allocations: 0 / 0.5856 GB, free: 3.344 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.477, allocations: 167 kB / 0.5858 GB, free: 3.141 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.477, allocations: 0 / 0.5858 GB, free: 3.141 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.4771, allocations: 4 kB / 0.5858 GB, free: 3.137 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.36e-05/0.4772, allocations: 45.64 kB / 0.5859 GB, free: 3.086 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.4772, allocations: 0 / 0.5859 GB, free: 3.086 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.4772, allocations: 0 / 0.5859 GB, free: 3.086 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.4772, allocations: 0 / 0.5859 GB, free: 3.086 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.504e-05/0.4772, allocations: 4 kB / 0.5859 GB, free: 3.082 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/0.4774, allocations: 154.5 kB / 0.586 GB, free: 2.883 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.4776, allocations: 38.52 kB / 0.586 GB, free: 2.836 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.43e-05/0.4776, allocations: 12.86 kB / 0.5861 GB, free: 2.82 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002749/0.4779, allocations: 117.2 kB / 0.5862 GB, free: 2.688 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.4779, allocations: 42.5 kB / 0.5862 GB, free: 2.637 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.4779, allocations: 4 kB / 0.5862 GB, free: 2.633 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009694/0.4789, allocations: 161.4 kB / 0.5864 GB, free: 2.469 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/0.4789, allocations: 55.41 kB / 0.5864 GB, free: 2.402 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.453e-05/0.479, allocations: 88.22 kB / 0.5865 GB, free: 2.312 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.479, allocations: 25.7 kB / 0.5865 GB, free: 2.281 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.315e-05/0.4791, allocations: 80.14 kB / 0.5866 GB, free: 2.199 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.4791, allocations: 15.81 kB / 0.5866 GB, free: 2.184 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-06/0.4791, allocations: 2.953 kB / 0.5866 GB, free: 2.184 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.166e-05/0.4792, allocations: 314.8 kB / 0.5869 GB, free: 1.867 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.707e-05/0.4792, allocations: 16.12 kB / 0.5869 GB, free: 1.852 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.185e-05/0.4793, allocations: 10.25 kB / 0.5869 GB, free: 1.844 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.76e-05/0.4793, allocations: 8 kB / 0.587 GB, free: 1.836 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4793, allocations: 0 / 0.587 GB, free: 1.836 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.969e-05/0.4794, allocations: 65.56 kB / 0.587 GB, free: 1.766 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.4794, allocations: 7.953 kB / 0.587 GB, free: 1.758 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.4794, allocations: 0 / 0.587 GB, free: 1.758 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.4795, allocations: 0 / 0.587 GB, free: 1.758 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.4796, allocations: 19.98 kB / 0.587 GB, free: 1.738 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.4796, allocations: 4 kB / 0.587 GB, free: 1.734 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.915e-05/0.4797, allocations: 7.984 kB / 0.5871 GB, free: 1.727 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.4797, allocations: 0 / 0.5871 GB, free: 1.727 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 5.884e-05/0.4798, allocations: 112.9 kB / 0.5872 GB, free: 1.609 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.318e-06/0.4798, allocations: 0 / 0.5872 GB, free: 1.609 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001633/0.4799, allocations: 82 kB / 0.5872 GB, free: 1.52 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.4799, allocations: 0 / 0.5872 GB, free: 1.52 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.48, allocations: 0 / 0.5872 GB, free: 1.52 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.48, allocations: 3.984 kB / 0.5872 GB, free: 1.516 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005077/0.4805, allocations: 335.3 kB / 0.5876 GB, free: 1.129 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.4805, allocations: 8.25 kB / 0.5876 GB, free: 1.121 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.4806, allocations: 24.02 kB / 0.5876 GB, free: 1.098 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.4806, allocations: 4 kB / 0.5876 GB, free: 1.094 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.4806, allocations: 192 / 0.5876 GB, free: 1.094 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.4806, allocations: 0 / 0.5876 GB, free: 1.094 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4806, allocations: 3.828 kB / 0.5876 GB, free: 1.094 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.4808, allocations: 182 kB / 0.5878 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.961e-05/0.4809, allocations: 81.11 kB / 0.5879 GB, free: 0.793 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.4809, allocations: 0 / 0.5879 GB, free: 0.793 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.481, allocations: 7.984 kB / 0.5879 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.334e-05/0.481, allocations: 4 kB / 0.5879 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.481, allocations: 0 / 0.5879 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.826e-05/0.4811, allocations: 83.27 kB / 0.5879 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4811, allocations: 0 / 0.5879 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002015/0.4813, allocations: 16.09 kB / 0.588 GB, free: 0.6836 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.0001286/0.4814, allocations: 95.25 kB / 0.5881 GB, free: 0.582 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.718e-05/0.4815, allocations: 31.94 kB / 0.5881 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.4815, allocations: 0 / 0.5881 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.908e-05/0.4815, allocations: 11.98 kB / 0.5881 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001163/0.4817, allocations: 8.891 kB / 0.5881 GB, free: 0.5312 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003226/0.482, allocations: 94.33 kB / 0.5882 GB, free: 424 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.4823, allocations: 0.6809 MB / 0.5889 GB, free: 15.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.875e-05/0.4823, allocations: 4 kB / 0.5889 GB, free: 15.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.382e-05/0.4824, allocations: 15.42 kB / 0.5889 GB, free: 15.69 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4824, allocations: 0 / 0.5889 GB, free: 15.69 MB / 410.7 MB Notification: Performance of Templates: time 0.002222/0.4846, allocations: 0.6032 MB / 0.5895 GB, free: 15.09 MB / 410.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