Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 182.8 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.246/1.246, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0007692/0.0007692, allocations: 89.84 kB / 267 MB, free: 9.273 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.3339/0.3339, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.902e-05/2.905e-05, allocations: 4 kB / 425.3 MB, free: 8.188 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1063, allocations: 58.84 MB / 484.1 MB, free: 13.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3365/0.4429, allocations: 85.26 MB / 0.5561 GB, free: 18.37 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002024/0.4431, allocations: 68.03 kB / 0.5561 GB, free: 18.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0222/0.4653, allocations: 8.235 MB / 0.5642 GB, free: 13.24 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.4654, allocations: 0 / 0.5642 GB, free: 13.24 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.4654, allocations: 0 / 0.5642 GB, free: 13.24 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000254/0.4657, allocations: 337.9 kB / 0.5645 GB, free: 12.87 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.4657, allocations: 8.031 kB / 0.5645 GB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.314e-05/0.4657, allocations: 4.688 kB / 0.5645 GB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.495e-05/0.4658, allocations: 167 kB / 0.5647 GB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.4658, allocations: 8 kB / 0.5647 GB, free: 12.65 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.363e-06/0.4658, allocations: 0 / 0.5647 GB, free: 12.65 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.382e-05/0.4659, allocations: 33.69 kB / 0.5647 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.4659, allocations: 0 / 0.5647 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.466, allocations: 3.938 kB / 0.5647 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.466, allocations: 1.375 kB / 0.5647 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.593e-05/0.466, allocations: 0 / 0.5647 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001014/0.4661, allocations: 156.8 kB / 0.5649 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.114e-05/0.4661, allocations: 26.55 kB / 0.5649 GB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.151e-05/0.4662, allocations: 4.859 kB / 0.5649 GB, free: 12.37 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.4662, allocations: 0 / 0.5649 GB, free: 12.37 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.606e-05/0.4662, allocations: 34.62 kB / 0.5649 GB, free: 12.32 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.4662, allocations: 0 / 0.5649 GB, free: 12.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 9.921e-05/0.4663, allocations: 33.64 kB / 0.565 GB, free: 12.29 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.224e-05/0.4663, allocations: 51.41 kB / 0.565 GB, free: 12.22 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.617e-05/0.4664, allocations: 93.03 kB / 0.5651 GB, free: 12.12 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.4664, allocations: 28.89 kB / 0.5651 GB, free: 12.09 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.531e-05/0.4664, allocations: 80.14 kB / 0.5652 GB, free: 12.01 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.4665, allocations: 6.328 kB / 0.5652 GB, free: 12.01 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.044e-06/0.4665, allocations: 0 / 0.5652 GB, free: 12.01 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.321e-05/0.4665, allocations: 314.8 kB / 0.5655 GB, free: 11.69 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.366e-06/0.4665, allocations: 0 / 0.5655 GB, free: 11.69 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.482e-06/0.4665, allocations: 0 / 0.5655 GB, free: 11.69 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.414e-05/0.4666, allocations: 12.14 kB / 0.5655 GB, free: 11.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.4666, allocations: 0 / 0.5655 GB, free: 11.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.227e-05/0.4666, allocations: 40.7 kB / 0.5656 GB, free: 11.64 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.4666, allocations: 6.344 kB / 0.5656 GB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.4667, allocations: 0.5 kB / 0.5656 GB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.4667, allocations: 3.984 kB / 0.5656 GB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.362e-06/0.4667, allocations: 0 / 0.5656 GB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.4667, allocations: 7.938 kB / 0.5656 GB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.505e-05/0.4667, allocations: 4 kB / 0.5656 GB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.4667, allocations: 0 / 0.5656 GB, free: 11.62 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 (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 prepare postOptimizeDAE: time 3.896e-05/0.4668, allocations: 111.3 kB / 0.5657 GB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.384e-06/0.4668, allocations: 3.906 kB / 0.5657 GB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.859e-05/0.4669, allocations: 44.12 kB / 0.5657 GB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.4669, allocations: 4 kB / 0.5657 GB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.4669, allocations: 3.938 kB / 0.5657 GB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.4669, allocations: 0 / 0.5657 GB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.113e-05/0.467, allocations: 145.7 kB / 0.5659 GB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.467, allocations: 11.94 kB / 0.5659 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5e-07/0.467, allocations: 0 / 0.5659 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.467, allocations: 0 / 0.5659 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.467, allocations: 0 / 0.5659 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.467, allocations: 0 / 0.5659 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-07/0.467, allocations: 0 / 0.5659 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.165e-05/0.4671, allocations: 56.33 kB / 0.5659 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.73e-05/0.4671, allocations: 89.08 kB / 0.566 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.288e-06/0.4671, allocations: 4 kB / 0.566 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.025e-05/0.4671, allocations: 0 / 0.566 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.227e-05/0.4671, allocations: 3.062 kB / 0.566 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-06/0.4672, allocations: 5.312 kB / 0.566 GB, free: 11.06 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.589e-05/0.4672, allocations: 75.28 kB / 0.5661 GB, free: 10.99 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4672, allocations: 0 / 0.5661 GB, free: 10.99 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002385/0.4674, allocations: 51.92 kB / 0.5662 GB, free: 10.94 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.0002265/0.4677, allocations: 154.6 kB / 0.5663 GB, free: 10.78 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 6.085e-05/0.4677, allocations: 29.7 kB / 0.5663 GB, free: 10.75 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4677, allocations: 0 / 0.5663 GB, free: 10.75 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.237e-05/0.4678, allocations: 29.7 kB / 0.5664 GB, free: 10.71 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.976e-05/0.4679, allocations: 4.781 kB / 0.5664 GB, free: 10.71 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001672/0.468, allocations: 52.36 kB / 0.5664 GB, free: 10.64 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.307e-05/0.4681, allocations: 0.677 MB / 0.5671 GB, free: 9.934 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.094e-05/0.4681, allocations: 4.125 kB / 0.5671 GB, free: 9.93 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.376e-06/0.4682, allocations: 11.44 kB / 0.5671 GB, free: 9.918 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4682, allocations: 1.312 kB / 0.5671 GB, free: 9.918 MB / 394.7 MB Notification: Performance of Templates: time 0.002223/0.4704, allocations: 0.8478 MB / 0.5679 GB, free: 9.086 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches