Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_3.2.3_cpp_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.001479/0.00148, allocations: 181.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.032/2.032, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.00105/0.00105, allocations: 82.66 kB / 267.5 MB, free: 14.05 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.2776/0.2776, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.298e-05/4.33e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1142, allocations: 58.86 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4726/0.5868, allocations: 85.26 MB / 0.556 GB, free: 2.324 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/0.5871, allocations: 76.64 kB / 0.5561 GB, free: 2.285 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0445/0.6316, allocations: 8.226 MB / 0.5642 GB, free: 11.19 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.6317, allocations: 0 / 0.5642 GB, free: 11.19 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.6317, allocations: 3.75 kB / 0.5642 GB, free: 11.19 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.0003933/0.6321, allocations: 330.5 kB / 0.5645 GB, free: 10.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.6322, allocations: 11.97 kB / 0.5645 GB, free: 10.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.609e-05/0.6322, allocations: 0 / 0.5645 GB, free: 10.81 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.6324, allocations: 171 kB / 0.5646 GB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.6324, allocations: 3.938 kB / 0.5647 GB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.6324, allocations: 4 kB / 0.5647 GB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.6325, allocations: 37.12 kB / 0.5647 GB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.6326, allocations: 0 / 0.5647 GB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.6326, allocations: 0 / 0.5647 GB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.6326, allocations: 0 / 0.5647 GB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.723e-05/0.6326, allocations: 4 kB / 0.5647 GB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001622/0.6328, allocations: 148.8 kB / 0.5648 GB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.469e-05/0.6329, allocations: 22.55 kB / 0.5649 GB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.086e-05/0.6329, allocations: 8.859 kB / 0.5649 GB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.6329, allocations: 4.047 kB / 0.5649 GB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.633, allocations: 34.56 kB / 0.5649 GB, free: 10.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.874e-06/0.633, allocations: 0 / 0.5649 GB, free: 10.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001354/0.6331, allocations: 29.7 kB / 0.5649 GB, free: 10.24 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.6332, allocations: 54.84 kB / 0.565 GB, free: 10.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.843e-05/0.6333, allocations: 93.03 kB / 0.5651 GB, free: 10.08 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.6333, allocations: 25.7 kB / 0.5651 GB, free: 10.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.5e-05/0.6334, allocations: 150.6 kB / 0.5652 GB, free: 9.898 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.6334, allocations: 0 / 0.5652 GB, free: 9.898 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/0.6334, allocations: 4 kB / 0.5652 GB, free: 9.895 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.6336, allocations: 314.8 kB / 0.5655 GB, free: 9.578 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.782e-05/0.6336, allocations: 3.188 kB / 0.5655 GB, free: 9.578 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.431e-05/0.6336, allocations: 7.938 kB / 0.5656 GB, free: 9.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.283e-05/0.6336, allocations: 8.141 kB / 0.5656 GB, free: 9.562 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.6336, allocations: 0 / 0.5656 GB, free: 9.562 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.881e-05/0.6337, allocations: 37.61 kB / 0.5656 GB, free: 9.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.6338, allocations: 4 kB / 0.5656 GB, free: 9.516 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.6338, allocations: 0 / 0.5656 GB, free: 9.516 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.6338, allocations: 3.938 kB / 0.5656 GB, free: 9.512 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.238e-06/0.6338, allocations: 4 kB / 0.5656 GB, free: 9.508 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.6339, allocations: 0 / 0.5656 GB, free: 9.508 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.572e-05/0.6339, allocations: 0 / 0.5656 GB, free: 9.508 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.6339, allocations: 0 / 0.5656 GB, free: 9.508 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 () * 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 8.794e-05/0.634, allocations: 116.9 kB / 0.5657 GB, free: 9.387 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.634, allocations: 4 kB / 0.5657 GB, free: 9.383 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001523/0.6342, allocations: 48.33 kB / 0.5658 GB, free: 9.328 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.217e-06/0.6342, allocations: 0 / 0.5658 GB, free: 9.328 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.6342, allocations: 0 / 0.5658 GB, free: 9.328 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.6342, allocations: 3.984 kB / 0.5658 GB, free: 9.324 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.6344, allocations: 149.4 kB / 0.5659 GB, free: 9.133 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/0.6344, allocations: 11.98 kB / 0.5659 GB, free: 9.121 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.797e-06/0.6344, allocations: 3.984 kB / 0.5659 GB, free: 9.117 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.6344, allocations: 0 / 0.5659 GB, free: 9.117 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.6345, allocations: 0 / 0.5659 GB, free: 9.117 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.221e-06/0.6345, allocations: 3.984 kB / 0.5659 GB, free: 9.113 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.6345, allocations: 0 / 0.5659 GB, free: 9.113 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.6346, allocations: 57.08 kB / 0.566 GB, free: 9.039 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.92e-05/0.6347, allocations: 85.06 kB / 0.5661 GB, free: 8.938 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.6347, allocations: 4.031 kB / 0.5661 GB, free: 8.934 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.467e-05/0.6348, allocations: 3.984 kB / 0.5661 GB, free: 8.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.741e-05/0.6348, allocations: 7.188 kB / 0.5661 GB, free: 8.926 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.6348, allocations: 0 / 0.5661 GB, free: 8.926 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.69e-05/0.6349, allocations: 75.28 kB / 0.5662 GB, free: 8.852 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6349, allocations: 0 / 0.5662 GB, free: 8.852 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004199/0.6353, allocations: 47.94 kB / 0.5662 GB, free: 8.805 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 () * 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.0004021/0.6357, allocations: 150.8 kB / 0.5663 GB, free: 8.652 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000101/0.6359, allocations: 29.7 kB / 0.5664 GB, free: 8.617 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6359, allocations: 4 kB / 0.5664 GB, free: 8.613 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.96e-05/0.6359, allocations: 25.7 kB / 0.5664 GB, free: 8.582 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/0.6361, allocations: 6.578 kB / 0.5664 GB, free: 8.578 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002596/0.6364, allocations: 89.62 kB / 0.5665 GB, free: 8.465 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.6366, allocations: 0.6692 MB / 0.5672 GB, free: 7.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.869e-05/0.6367, allocations: 15.42 kB / 0.5672 GB, free: 7.754 MB / 378.7 MB Notification: Performance of SimCode: time 9.11e-07/0.6367, allocations: 4.125 kB / 0.5672 GB, free: 7.75 MB / 378.7 MB Notification: Performance of Templates: time 0.003374/0.6401, allocations: 0.966 MB / 0.5681 GB, free: 6.789 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches