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.00164/0.00164, allocations: 183.9 kB / 15.76 MB, free: 6.367 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.436/1.436, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008465/0.0008463, allocations: 86.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2007/0.2007, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003316/0.0003317, allocations: 12 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1124, allocations: 58.86 MB / 490.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3286/0.441, allocations: 85.36 MB / 0.5621 GB, free: 14.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001903/0.4412, allocations: 68.09 kB / 0.5622 GB, free: 14.4 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02475/0.466, allocations: 8.227 MB / 0.5702 GB, free: 7.305 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.466, allocations: 0 / 0.5702 GB, free: 7.305 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.4661, allocations: 0 / 0.5702 GB, free: 7.305 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003894/0.4664, allocations: 345.6 kB / 0.5705 GB, free: 6.922 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.4665, allocations: 8.031 kB / 0.5705 GB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/0.4665, allocations: 7.984 kB / 0.5706 GB, free: 6.906 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.4667, allocations: 163.8 kB / 0.5707 GB, free: 6.707 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.4667, allocations: 0 / 0.5707 GB, free: 6.707 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.4667, allocations: 0 / 0.5707 GB, free: 6.707 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.4668, allocations: 42.81 kB / 0.5707 GB, free: 6.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.4668, allocations: 0 / 0.5707 GB, free: 6.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.4669, allocations: 0 / 0.5707 GB, free: 6.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/0.4669, allocations: 0 / 0.5707 GB, free: 6.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.914e-05/0.4669, allocations: 11.94 kB / 0.5708 GB, free: 6.648 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001577/0.4671, allocations: 152.6 kB / 0.5709 GB, free: 6.453 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.02e-05/0.4671, allocations: 19.17 kB / 0.5709 GB, free: 6.426 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.4671, allocations: 0.5 kB / 0.5709 GB, free: 6.426 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.4672, allocations: 35.12 kB / 0.571 GB, free: 6.383 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.4672, allocations: 0 / 0.571 GB, free: 6.383 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001475/0.4673, allocations: 42.88 kB / 0.571 GB, free: 6.336 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.4674, allocations: 52.16 kB / 0.571 GB, free: 6.273 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.934e-05/0.4675, allocations: 89.88 kB / 0.5711 GB, free: 6.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.4675, allocations: 25.7 kB / 0.5712 GB, free: 6.148 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.135e-05/0.4675, allocations: 81.08 kB / 0.5712 GB, free: 6.066 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.4676, allocations: 8.469 kB / 0.5712 GB, free: 6.059 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-06/0.4676, allocations: 0 / 0.5712 GB, free: 6.059 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.4677, allocations: 316 kB / 0.5715 GB, free: 5.742 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.187e-05/0.4677, allocations: 3.984 kB / 0.5715 GB, free: 5.738 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.262e-06/0.4678, allocations: 0.5 kB / 0.5715 GB, free: 5.738 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.443e-05/0.4678, allocations: 4 kB / 0.5716 GB, free: 5.734 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4678, allocations: 3.953 kB / 0.5716 GB, free: 5.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.582e-05/0.4678, allocations: 38.95 kB / 0.5716 GB, free: 5.688 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.4679, allocations: 10.75 kB / 0.5716 GB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.4679, allocations: 0 / 0.5716 GB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.4679, allocations: 3.938 kB / 0.5716 GB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/0.4679, allocations: 0 / 0.5716 GB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.4679, allocations: 4 kB / 0.5716 GB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.608e-05/0.4679, allocations: 0 / 0.5716 GB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.4679, allocations: 0.625 kB / 0.5716 GB, free: 5.672 MB / 378.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 (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 6.495e-05/0.468, allocations: 116.9 kB / 0.5717 GB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.207e-06/0.468, allocations: 7.953 kB / 0.5717 GB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.4681, allocations: 44.2 kB / 0.5718 GB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.4682, allocations: 4 kB / 0.5718 GB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.4682, allocations: 0 / 0.5718 GB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.4682, allocations: 3.984 kB / 0.5718 GB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.896e-05/0.4683, allocations: 141.7 kB / 0.5719 GB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.4683, allocations: 4 kB / 0.5719 GB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.954e-06/0.4683, allocations: 3.953 kB / 0.5719 GB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.4683, allocations: 0 / 0.5719 GB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.4683, allocations: 4.031 kB / 0.5719 GB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.4683, allocations: 3.984 kB / 0.5719 GB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.4683, allocations: 0 / 0.5719 GB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.515e-05/0.4684, allocations: 56.58 kB / 0.572 GB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.563e-05/0.4684, allocations: 77.11 kB / 0.5721 GB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.4684, allocations: 7.953 kB / 0.5721 GB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.65e-05/0.4685, allocations: 7.922 kB / 0.5721 GB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.177e-05/0.4685, allocations: 4.031 kB / 0.5721 GB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.4685, allocations: 4 kB / 0.5721 GB, free: 5.098 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.35e-05/0.4686, allocations: 82.91 kB / 0.5722 GB, free: 5.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4686, allocations: 0 / 0.5722 GB, free: 5.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002535/0.4688, allocations: 47.94 kB / 0.5722 GB, free: 4.973 MB / 378.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 () * Number of clocked 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.000271/0.4691, allocations: 147.1 kB / 0.5723 GB, free: 4.816 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001008/0.4692, allocations: 33.45 kB / 0.5724 GB, free: 4.781 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4692, allocations: 4.156 kB / 0.5724 GB, free: 4.777 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.238e-05/0.4693, allocations: 29.7 kB / 0.5724 GB, free: 4.742 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001014/0.4694, allocations: 0 / 0.5724 GB, free: 4.742 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002628/0.4696, allocations: 87.19 kB / 0.5725 GB, free: 4.629 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.4699, allocations: 0.677 MB / 0.5732 GB, free: 3.926 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.19e-05/0.4699, allocations: 0 / 0.5732 GB, free: 3.926 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.276e-05/0.4699, allocations: 7.438 kB / 0.5732 GB, free: 3.918 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4699, allocations: 64 / 0.5732 GB, free: 3.918 MB / 378.7 MB Notification: Performance of Templates: time 0.002719/0.4727, allocations: 0.8476 MB / 0.574 GB, free: 3.086 MB / 378.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