Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009011/0.0009011, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.538/1.538, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009779/0.0009779, allocations: 86.34 kB / 261.7 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1886/0.1886, allocations: 43.5 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.816e-05/1.807e-05, allocations: 4 kB / 418.2 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1163, allocations: 58.86 MB / 477.1 MB, free: 1.645 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3679/0.4843, allocations: 84.61 MB / 0.5485 GB, free: 9.055 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001799/0.4845, allocations: 66.67 kB / 0.5486 GB, free: 9.055 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02198/0.5065, allocations: 8.197 MB / 0.5566 GB, free: 3.145 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5066, allocations: 0 / 0.5566 GB, free: 3.145 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.5066, allocations: 0 / 0.5566 GB, free: 3.145 MB / 362.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.000315/0.5069, allocations: 338.4 kB / 0.5569 GB, free: 2.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.963e-05/0.507, allocations: 8.031 kB / 0.5569 GB, free: 2.762 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.224e-05/0.507, allocations: 8 kB / 0.557 GB, free: 2.754 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.136e-05/0.5071, allocations: 170.7 kB / 0.5571 GB, free: 2.551 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.5071, allocations: 0 / 0.5571 GB, free: 2.551 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.5072, allocations: 0 / 0.5571 GB, free: 2.551 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.479e-05/0.5072, allocations: 4 kB / 0.5571 GB, free: 2.547 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.737e-05/0.5073, allocations: 33.69 kB / 0.5572 GB, free: 2.508 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.5073, allocations: 0 / 0.5572 GB, free: 2.508 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.5074, allocations: 0 / 0.5572 GB, free: 2.508 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.5074, allocations: 4 kB / 0.5572 GB, free: 2.504 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003147/0.5077, allocations: 225.3 kB / 0.5574 GB, free: 2.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.887e-05/0.5077, allocations: 18.2 kB / 0.5574 GB, free: 2.227 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.269e-05/0.5078, allocations: 4.859 kB / 0.5574 GB, free: 2.219 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/0.5078, allocations: 8.844 kB / 0.5574 GB, free: 2.211 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.5078, allocations: 30.56 kB / 0.5574 GB, free: 2.172 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.744e-06/0.5078, allocations: 3.984 kB / 0.5574 GB, free: 2.168 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001833/0.508, allocations: 33.7 kB / 0.5575 GB, free: 2.129 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.808e-05/0.508, allocations: 55.41 kB / 0.5575 GB, free: 2.062 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.059e-05/0.5081, allocations: 88.88 kB / 0.5576 GB, free: 1.973 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.535e-06/0.5081, allocations: 29.64 kB / 0.5576 GB, free: 1.938 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.471e-05/0.5081, allocations: 92.03 kB / 0.5577 GB, free: 1.844 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.289e-06/0.5082, allocations: 7.844 kB / 0.5577 GB, free: 1.836 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-06/0.5082, allocations: 0 / 0.5577 GB, free: 1.836 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.07e-05/0.5082, allocations: 314.8 kB / 0.558 GB, free: 1.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.846e-06/0.5082, allocations: 7.969 kB / 0.558 GB, free: 1.516 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.754e-05/0.5083, allocations: 18.58 kB / 0.5581 GB, free: 1.488 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.582e-05/0.5083, allocations: 4 kB / 0.5581 GB, free: 1.484 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.5083, allocations: 0 / 0.5581 GB, free: 1.484 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.538e-05/0.5084, allocations: 49.62 kB / 0.5581 GB, free: 1.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.5084, allocations: 4 kB / 0.5581 GB, free: 1.426 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.5084, allocations: 4.094 kB / 0.5581 GB, free: 1.422 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.5085, allocations: 4 kB / 0.5581 GB, free: 1.418 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.538e-05/0.5085, allocations: 0 / 0.5581 GB, free: 1.418 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.5085, allocations: 4 kB / 0.5581 GB, free: 1.414 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.093e-05/0.5085, allocations: 4 kB / 0.5581 GB, free: 1.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.5086, allocations: 7.875 kB / 0.5581 GB, free: 1.406 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.271e-05/0.5086, allocations: 112.9 kB / 0.5582 GB, free: 1.289 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.5087, allocations: 0 / 0.5582 GB, free: 1.289 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.5088, allocations: 45.39 kB / 0.5583 GB, free: 1.238 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.5088, allocations: 0 / 0.5583 GB, free: 1.238 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.5088, allocations: 0 / 0.5583 GB, free: 1.238 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.5088, allocations: 0 / 0.5583 GB, free: 1.238 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.5089, allocations: 134.2 kB / 0.5584 GB, free: 1.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.5089, allocations: 0 / 0.5584 GB, free: 1.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.32e-07/0.5089, allocations: 0 / 0.5584 GB, free: 1.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.5089, allocations: 0 / 0.5584 GB, free: 1.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.509, allocations: 4 kB / 0.5584 GB, free: 1.066 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.509, allocations: 0 / 0.5584 GB, free: 1.066 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.509, allocations: 4.031 kB / 0.5584 GB, free: 1.062 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.649e-05/0.5091, allocations: 131.4 kB / 0.5585 GB, free: 0.9219 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.831e-05/0.5091, allocations: 81.06 kB / 0.5586 GB, free: 0.8242 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.5091, allocations: 0 / 0.5586 GB, free: 0.8242 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.045e-05/0.5092, allocations: 3.938 kB / 0.5586 GB, free: 0.8203 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.087e-05/0.5092, allocations: 4 kB / 0.5586 GB, free: 0.8164 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.5092, allocations: 0 / 0.5586 GB, free: 0.8164 MB / 362.7 MB Notification: Performance of sorting global known variables: time 1.85e-05/0.5092, allocations: 87.17 kB / 0.5587 GB, free: 0.7344 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5092, allocations: 0 / 0.5587 GB, free: 0.7344 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003214/0.5095, allocations: 47.94 kB / 0.5588 GB, free: 0.6875 MB / 362.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002539/0.5098, allocations: 147 kB / 0.5589 GB, free: 0.5352 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.234e-05/0.5099, allocations: 33.7 kB / 0.5589 GB, free: 0.4961 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5099, allocations: 0 / 0.5589 GB, free: 0.4961 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.449e-05/0.5099, allocations: 33.86 kB / 0.559 GB, free: 472 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/0.5101, allocations: 15.88 kB / 0.559 GB, free: 456 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001831/0.5103, allocations: 51.95 kB / 0.559 GB, free: 380 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/0.5105, allocations: 0.6806 MB / 0.5597 GB, free: 15.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2e-05/0.5105, allocations: 3.953 kB / 0.5597 GB, free: 15.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.3e-05/0.5105, allocations: 7.438 kB / 0.5597 GB, free: 15.65 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5105, allocations: 0 / 0.5597 GB, free: 15.65 MB / 378.7 MB Notification: Performance of Templates: time 0.002972/0.5135, allocations: 0.8281 MB / 0.5605 GB, free: 14.84 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches