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.0009501/0.0009501, allocations: 183.4 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.271/1.271, allocations: 205.2 MB / 218.9 MB, free: 9.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008018/0.0008019, allocations: 95.81 kB / 267 MB, free: 9.277 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.3181/0.3181, allocations: 43.47 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.971e-05/2.984e-05, allocations: 8 kB / 425.3 MB, free: 8.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1093, allocations: 58.83 MB / 484.1 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3378/0.4471, allocations: 85.27 MB / 0.5561 GB, free: 18.31 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/0.4474, allocations: 74.88 kB / 0.5561 GB, free: 18.29 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02263/0.4701, allocations: 8.227 MB / 0.5642 GB, free: 13.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4701, allocations: 0 / 0.5642 GB, free: 13.23 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.4701, allocations: 0 / 0.5642 GB, free: 13.23 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.0002383/0.4704, allocations: 334.4 kB / 0.5645 GB, free: 12.86 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.4704, allocations: 8.031 kB / 0.5645 GB, free: 12.85 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/0.4705, allocations: 8.672 kB / 0.5645 GB, free: 12.85 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.216e-05/0.4705, allocations: 167 kB / 0.5647 GB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.4706, allocations: 3.625 kB / 0.5647 GB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.4706, allocations: 4 kB / 0.5647 GB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.629e-05/0.4707, allocations: 37.64 kB / 0.5647 GB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.4707, allocations: 0 / 0.5647 GB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.4707, allocations: 3.625 kB / 0.5647 GB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.4707, allocations: 1.375 kB / 0.5647 GB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.266e-05/0.4707, allocations: 7.984 kB / 0.5647 GB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002526/0.471, allocations: 241.2 kB / 0.5649 GB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.538e-05/0.4711, allocations: 22.27 kB / 0.565 GB, free: 12.28 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.149e-05/0.4711, allocations: 8.922 kB / 0.565 GB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.4711, allocations: 0 / 0.565 GB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.4711, allocations: 38.53 kB / 0.565 GB, free: 12.22 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.4711, allocations: 0 / 0.565 GB, free: 12.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001093/0.4712, allocations: 37.69 kB / 0.565 GB, free: 12.18 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.941e-05/0.4713, allocations: 51.41 kB / 0.5651 GB, free: 12.12 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.74e-05/0.4713, allocations: 102.3 kB / 0.5652 GB, free: 12.02 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.564e-06/0.4713, allocations: 25.7 kB / 0.5652 GB, free: 11.98 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.166e-05/0.4714, allocations: 84.05 kB / 0.5653 GB, free: 11.9 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.409e-06/0.4714, allocations: 0 / 0.5653 GB, free: 11.9 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-06/0.4714, allocations: 0 / 0.5653 GB, free: 11.9 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.399e-05/0.4714, allocations: 318.5 kB / 0.5656 GB, free: 11.58 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.417e-06/0.4714, allocations: 4 kB / 0.5656 GB, free: 11.58 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.755e-05/0.4715, allocations: 22.7 kB / 0.5656 GB, free: 11.55 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.449e-05/0.4715, allocations: 7.938 kB / 0.5656 GB, free: 11.54 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4715, allocations: 0 / 0.5656 GB, free: 11.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.485e-05/0.4716, allocations: 53.16 kB / 0.5657 GB, free: 11.48 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.4716, allocations: 10.34 kB / 0.5657 GB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.4716, allocations: 0 / 0.5657 GB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.4716, allocations: 4.094 kB / 0.5657 GB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.398e-05/0.4716, allocations: 4 kB / 0.5657 GB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.4717, allocations: 3.938 kB / 0.5657 GB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.573e-05/0.4717, allocations: 4 kB / 0.5657 GB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.4717, allocations: 3.953 kB / 0.5657 GB, free: 11.46 MB / 394.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 3.946e-05/0.4717, allocations: 107.4 kB / 0.5658 GB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.018e-05/0.4718, allocations: 3.984 kB / 0.5658 GB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.943e-05/0.4718, allocations: 48.39 kB / 0.5659 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.4719, allocations: 0 / 0.5659 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.4719, allocations: 0 / 0.5659 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.4719, allocations: 0 / 0.5659 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.601e-05/0.472, allocations: 157.4 kB / 0.566 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.472, allocations: 0 / 0.566 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.472, allocations: 0 / 0.566 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.472, allocations: 0 / 0.566 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.229e-06/0.472, allocations: 0 / 0.566 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.472, allocations: 0 / 0.566 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.472, allocations: 4 kB / 0.566 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.388e-05/0.4721, allocations: 131.5 kB / 0.5661 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.607e-05/0.4721, allocations: 81.11 kB / 0.5662 GB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.097e-06/0.4721, allocations: 3.938 kB / 0.5662 GB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.906e-05/0.4722, allocations: 3.688 kB / 0.5662 GB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.078e-05/0.4722, allocations: 0 / 0.5662 GB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.4722, allocations: 5.312 kB / 0.5662 GB, free: 10.84 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.677e-05/0.4722, allocations: 83.3 kB / 0.5663 GB, free: 10.76 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4722, allocations: 0 / 0.5663 GB, free: 10.76 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002616/0.4725, allocations: 47.94 kB / 0.5664 GB, free: 10.71 MB / 394.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.0002199/0.4727, allocations: 150.8 kB / 0.5665 GB, free: 10.56 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.996e-05/0.4728, allocations: 33.7 kB / 0.5665 GB, free: 10.52 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.4728, allocations: 0 / 0.5665 GB, free: 10.52 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.194e-05/0.4728, allocations: 33.64 kB / 0.5666 GB, free: 10.48 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001172/0.4729, allocations: 8.234 kB / 0.5666 GB, free: 10.48 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000151/0.4731, allocations: 58.25 kB / 0.5666 GB, free: 10.4 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.656e-05/0.4732, allocations: 0.677 MB / 0.5673 GB, free: 9.699 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.632e-05/0.4732, allocations: 0 / 0.5673 GB, free: 9.699 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.936e-06/0.4732, allocations: 7.438 kB / 0.5673 GB, free: 9.691 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4733, allocations: 5.312 kB / 0.5673 GB, free: 9.688 MB / 394.7 MB Notification: Performance of Templates: time 0.002512/0.4758, allocations: 0.8364 MB / 0.5681 GB, free: 8.867 MB / 394.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