Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001435/0.001435, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.277/1.277, allocations: 225.6 MB / 234.8 MB, free: 3.285 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008994/0.0008996, allocations: 97.47 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1797/0.1797, allocations: 45.15 MB / 383.8 MB, free: 292 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.25e-05/1.252e-05, allocations: 4 kB / 453.2 MB, free: 75.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1123, allocations: 63.25 MB / 0.5044 GB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3945/0.5068, allocations: 85.35 MB / 0.5877 GB, free: 1.227 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000161/0.507, allocations: 66.78 kB / 0.5878 GB, free: 1.191 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001315/0.5083, allocations: 0.6179 MB / 0.5884 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.5083, allocations: 0 / 0.5884 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.5083, allocations: 0 / 0.5884 GB, free: 0.6172 MB / 378.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.0001538/0.5085, allocations: 315 kB / 0.5887 GB, free: 276 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.5085, allocations: 12.03 kB / 0.5887 GB, free: 264 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.168e-05/0.5086, allocations: 4 kB / 0.5887 GB, free: 260 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.601e-05/0.5086, allocations: 167 kB / 0.5888 GB, free: 52 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.5087, allocations: 3.938 kB / 0.5889 GB, free: 48 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.5087, allocations: 0 / 0.5889 GB, free: 48 kB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.411e-05/0.5087, allocations: 4 kB / 0.5889 GB, free: 44 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.718e-05/0.5088, allocations: 37.67 kB / 0.5889 GB, free: 0 / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.5088, allocations: 0 / 0.5889 GB, free: 0 / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.096e-06/0.5088, allocations: 0 / 0.5889 GB, free: 0 / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.5088, allocations: 4.047 kB / 0.5889 GB, free: 15.99 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001208/0.509, allocations: 133.9 kB / 0.589 GB, free: 15.83 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.5091, allocations: 34.38 kB / 0.5891 GB, free: 15.79 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.329e-05/0.5092, allocations: 12.8 kB / 0.5891 GB, free: 15.78 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002651/0.5094, allocations: 121.2 kB / 0.5892 GB, free: 15.64 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.5095, allocations: 34.56 kB / 0.5892 GB, free: 15.6 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.943e-06/0.5095, allocations: 0 / 0.5892 GB, free: 15.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009965/0.5105, allocations: 171.6 kB / 0.5894 GB, free: 15.44 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.5105, allocations: 51.41 kB / 0.5894 GB, free: 15.38 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.711e-05/0.5106, allocations: 88.94 kB / 0.5895 GB, free: 15.28 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.5106, allocations: 29.7 kB / 0.5895 GB, free: 15.25 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.493e-05/0.5106, allocations: 84.27 kB / 0.5896 GB, free: 15.16 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.5107, allocations: 15.67 kB / 0.5896 GB, free: 15.15 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.151e-06/0.5107, allocations: 0 / 0.5896 GB, free: 15.15 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.5108, allocations: 314.1 kB / 0.5899 GB, free: 14.84 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.121e-05/0.5108, allocations: 11.81 kB / 0.5899 GB, free: 14.83 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.777e-05/0.5109, allocations: 7.812 kB / 0.59 GB, free: 14.82 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.258e-05/0.5109, allocations: 15.86 kB / 0.59 GB, free: 14.81 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.5109, allocations: 4.562 kB / 0.59 GB, free: 14.81 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001174/0.5111, allocations: 64.56 kB / 0.59 GB, free: 14.75 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.5111, allocations: 8 kB / 0.59 GB, free: 14.74 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.5111, allocations: 0 / 0.59 GB, free: 14.74 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.5111, allocations: 0 / 0.59 GB, free: 14.74 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.5112, allocations: 15.98 kB / 0.5901 GB, free: 14.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.5113, allocations: 7.938 kB / 0.5901 GB, free: 14.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.041e-05/0.5113, allocations: 7.984 kB / 0.5901 GB, free: 14.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-06/0.5114, allocations: 3.938 kB / 0.5901 GB, free: 14.7 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 7.317e-05/0.5114, allocations: 112.7 kB / 0.5902 GB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.018e-05/0.5115, allocations: 7.953 kB / 0.5902 GB, free: 14.58 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001895/0.5116, allocations: 73.38 kB / 0.5903 GB, free: 14.51 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.5117, allocations: 0 / 0.5903 GB, free: 14.51 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.5117, allocations: 0 / 0.5903 GB, free: 14.51 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.5117, allocations: 11.92 kB / 0.5903 GB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005224/0.5122, allocations: 315.5 kB / 0.5906 GB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.5122, allocations: 4 kB / 0.5906 GB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.888e-05/0.5123, allocations: 15.98 kB / 0.5906 GB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.5123, allocations: 0 / 0.5906 GB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.5123, allocations: 3.312 kB / 0.5906 GB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.5124, allocations: 0 / 0.5906 GB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.5124, allocations: 4 kB / 0.5906 GB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.5125, allocations: 181.4 kB / 0.5908 GB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.283e-05/0.5126, allocations: 77.11 kB / 0.5909 GB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.5126, allocations: 4 kB / 0.5909 GB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.5127, allocations: 7.984 kB / 0.5909 GB, free: 13.83 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.5127, allocations: 11.25 kB / 0.5909 GB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.5128, allocations: 0 / 0.5909 GB, free: 13.82 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.979e-05/0.5128, allocations: 75.28 kB / 0.5909 GB, free: 13.75 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5128, allocations: 0 / 0.5909 GB, free: 13.75 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000208/0.513, allocations: 8 kB / 0.591 GB, free: 13.74 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.0001227/0.5132, allocations: 95.25 kB / 0.591 GB, free: 13.64 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.797e-05/0.5133, allocations: 30.36 kB / 0.5911 GB, free: 13.61 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5133, allocations: 96 / 0.5911 GB, free: 13.61 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.497e-05/0.5133, allocations: 23.42 kB / 0.5911 GB, free: 13.59 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001218/0.5134, allocations: 3.953 kB / 0.5911 GB, free: 13.59 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003141/0.5138, allocations: 80.03 kB / 0.5912 GB, free: 13.49 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002154/0.514, allocations: 0.6807 MB / 0.5918 GB, free: 12.78 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.514e-05/0.514, allocations: 11.98 kB / 0.5919 GB, free: 12.77 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.058e-05/0.5141, allocations: 11.44 kB / 0.5919 GB, free: 12.76 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5141, allocations: 3.938 kB / 0.5919 GB, free: 12.76 MB / 394.7 MB Notification: Performance of Templates: time 0.002076/0.5162, allocations: 0.5778 MB / 0.5924 GB, free: 12.19 MB / 394.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches