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.000892/0.0008919, allocations: 179.2 kB / 18.09 MB, free: 3.754 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.281/1.281, allocations: 223.3 MB / 242.1 MB, free: 11.67 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008572/0.0008574, allocations: 101.1 kB / 293.3 MB, free: 10.75 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.308/0.308, allocations: 44.14 MB / 388.5 MB, free: 38.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000351/0.0003511, allocations: 12 kB / 461.1 MB, free: 1.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3167, allocations: 61.87 MB / 0.5107 GB, free: 38.32 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1017/0.4184, allocations: 85.03 MB / 0.5938 GB, free: 10.05 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002184/0.4187, allocations: 71.94 kB / 0.5938 GB, free: 9.988 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001558/0.4203, allocations: 0.6151 MB / 0.5944 GB, free: 9.371 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.534e-06/0.4203, allocations: 4 kB / 0.5944 GB, free: 9.367 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.4203, allocations: 0 / 0.5944 GB, free: 9.367 MB / 410.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.0002355/0.4205, allocations: 323.5 kB / 0.5947 GB, free: 9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.4206, allocations: 12.09 kB / 0.5948 GB, free: 8.988 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.557e-05/0.4206, allocations: 0.9375 kB / 0.5948 GB, free: 8.988 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.4207, allocations: 164.3 kB / 0.5949 GB, free: 8.789 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.4208, allocations: 4.375 kB / 0.5949 GB, free: 8.785 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.4208, allocations: 12.25 kB / 0.5949 GB, free: 8.773 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.854e-05/0.4209, allocations: 38.23 kB / 0.595 GB, free: 8.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.4209, allocations: 8.188 kB / 0.595 GB, free: 8.723 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.4209, allocations: 3.938 kB / 0.595 GB, free: 8.719 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.4209, allocations: 0 / 0.595 GB, free: 8.719 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.156e-05/0.421, allocations: 7.938 kB / 0.595 GB, free: 8.711 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001531/0.4211, allocations: 153.7 kB / 0.5951 GB, free: 8.512 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.4213, allocations: 38.55 kB / 0.5952 GB, free: 8.465 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.6e-05/0.4213, allocations: 12.86 kB / 0.5952 GB, free: 8.449 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000287/0.4216, allocations: 117.2 kB / 0.5953 GB, free: 8.316 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.4217, allocations: 34.56 kB / 0.5953 GB, free: 8.273 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.4217, allocations: 0 / 0.5953 GB, free: 8.273 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.001184/0.4229, allocations: 213.3 kB / 0.5955 GB, free: 8.059 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.4229, allocations: 55.41 kB / 0.5956 GB, free: 7.992 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.011e-05/0.423, allocations: 89.86 kB / 0.5957 GB, free: 7.895 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.423, allocations: 29.7 kB / 0.5957 GB, free: 7.859 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.95e-05/0.4231, allocations: 80.27 kB / 0.5958 GB, free: 7.777 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.562e-05/0.4231, allocations: 27.72 kB / 0.5958 GB, free: 7.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-06/0.4231, allocations: 0 / 0.5958 GB, free: 7.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.4232, allocations: 314.8 kB / 0.5961 GB, free: 7.434 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.44e-05/0.4233, allocations: 19.98 kB / 0.5961 GB, free: 7.414 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.079e-05/0.4234, allocations: 23.77 kB / 0.5961 GB, free: 7.395 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.4235, allocations: 56.83 kB / 0.5962 GB, free: 7.336 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.4236, allocations: 0 / 0.5962 GB, free: 7.336 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001874/0.4237, allocations: 89.59 kB / 0.5963 GB, free: 7.242 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.4238, allocations: 11.94 kB / 0.5963 GB, free: 7.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.4238, allocations: 0 / 0.5963 GB, free: 7.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.4238, allocations: 4 kB / 0.5963 GB, free: 7.227 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.4239, allocations: 15.98 kB / 0.5963 GB, free: 7.211 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.4239, allocations: 0 / 0.5963 GB, free: 7.211 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.914e-05/0.424, allocations: 7.984 kB / 0.5963 GB, free: 7.203 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.424, allocations: 4 kB / 0.5963 GB, free: 7.199 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 () * Number of clocked 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.61e-05/0.4241, allocations: 110.4 kB / 0.5964 GB, free: 7.082 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.076e-05/0.4241, allocations: 3.938 kB / 0.5964 GB, free: 7.078 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002482/0.4244, allocations: 101.5 kB / 0.5965 GB, free: 6.973 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.4244, allocations: 8 kB / 0.5965 GB, free: 6.965 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.4244, allocations: 3.938 kB / 0.5965 GB, free: 6.961 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4244, allocations: 4 kB / 0.5965 GB, free: 6.957 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006318/0.425, allocations: 367.2 kB / 0.5969 GB, free: 6.539 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4251, allocations: 0 / 0.5969 GB, free: 6.539 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.492e-05/0.4252, allocations: 15.98 kB / 0.5969 GB, free: 6.523 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.4252, allocations: 0 / 0.5969 GB, free: 6.523 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.4252, allocations: 4 kB / 0.5969 GB, free: 6.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.4252, allocations: 0 / 0.5969 GB, free: 6.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4252, allocations: 0 / 0.5969 GB, free: 6.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.4254, allocations: 192.6 kB / 0.5971 GB, free: 6.312 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.689e-05/0.4255, allocations: 81.11 kB / 0.5972 GB, free: 6.215 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.4255, allocations: 7.922 kB / 0.5972 GB, free: 6.207 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.4256, allocations: 8 kB / 0.5972 GB, free: 6.199 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.036e-05/0.4257, allocations: 15.97 kB / 0.5972 GB, free: 6.184 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.4257, allocations: 0 / 0.5972 GB, free: 6.184 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.836e-05/0.4257, allocations: 79.28 kB / 0.5973 GB, free: 6.105 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4257, allocations: 0 / 0.5973 GB, free: 6.105 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002086/0.4259, allocations: 8 kB / 0.5973 GB, free: 6.098 MB / 410.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 () * Number of clocked 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.0001284/0.4261, allocations: 95.25 kB / 0.5974 GB, free: 5.992 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001884/0.4262, allocations: 63.92 kB / 0.5974 GB, free: 5.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4263, allocations: 4 kB / 0.5974 GB, free: 5.926 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.405e-05/0.4263, allocations: 23.98 kB / 0.5975 GB, free: 5.902 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.4265, allocations: 4 kB / 0.5975 GB, free: 5.898 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004102/0.427, allocations: 151.5 kB / 0.5976 GB, free: 5.719 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.4272, allocations: 0.6808 MB / 0.5983 GB, free: 5.012 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.379e-05/0.4273, allocations: 8 kB / 0.5983 GB, free: 5.004 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.991e-05/0.4273, allocations: 11.42 kB / 0.5983 GB, free: 4.992 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4273, allocations: 4 kB / 0.5983 GB, free: 4.988 MB / 410.7 MB Notification: Performance of Templates: time 0.002237/0.4296, allocations: 0.5936 MB / 0.5989 GB, free: 4.395 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/jenkins1/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