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.001542/0.001542, allocations: 184.6 kB / 16.41 MB, free: 5.727 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.943/1.943, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001124/0.001123, allocations: 80.44 kB / 270.9 MB, free: 8.379 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.5036/0.5036, allocations: 43.56 MB / 362.7 MB, free: 51.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006387/0.0006388, allocations: 16 kB / 431.4 MB, free: 5.957 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1239, allocations: 58.84 MB / 490.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4546/0.5786, allocations: 85.35 MB / 0.5621 GB, free: 1.219 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/0.5788, allocations: 75.89 kB / 0.5621 GB, free: 1.145 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0462/0.6251, allocations: 8.227 MB / 0.5702 GB, free: 8.945 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.009e-06/0.6251, allocations: 0 / 0.5702 GB, free: 8.945 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.6251, allocations: 7.938 kB / 0.5702 GB, free: 8.938 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.0004321/0.6256, allocations: 344.7 kB / 0.5705 GB, free: 8.555 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.6256, allocations: 12.03 kB / 0.5705 GB, free: 8.543 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.514e-05/0.6257, allocations: 0.9375 kB / 0.5705 GB, free: 8.543 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.6258, allocations: 166.5 kB / 0.5707 GB, free: 8.344 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.6258, allocations: 0 / 0.5707 GB, free: 8.344 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.6259, allocations: 0 / 0.5707 GB, free: 8.344 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.626, allocations: 29.7 kB / 0.5707 GB, free: 8.309 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.626, allocations: 4 kB / 0.5707 GB, free: 8.305 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.626, allocations: 7.938 kB / 0.5707 GB, free: 8.297 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.626, allocations: 0 / 0.5707 GB, free: 8.297 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.573e-05/0.6261, allocations: 4.969 kB / 0.5707 GB, free: 8.293 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001775/0.6263, allocations: 157.7 kB / 0.5709 GB, free: 8.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.456e-05/0.6263, allocations: 14.58 kB / 0.5709 GB, free: 8.066 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.6264, allocations: 64 / 0.5709 GB, free: 8.066 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.6264, allocations: 42.56 kB / 0.5709 GB, free: 8.016 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.322e-06/0.6264, allocations: 0 / 0.5709 GB, free: 8.016 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001605/0.6266, allocations: 43.66 kB / 0.571 GB, free: 7.969 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.6266, allocations: 51.41 kB / 0.571 GB, free: 7.906 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.918e-05/0.6267, allocations: 85 kB / 0.5711 GB, free: 7.816 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.6267, allocations: 25.7 kB / 0.5711 GB, free: 7.785 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.584e-05/0.6268, allocations: 158.5 kB / 0.5713 GB, free: 7.629 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.6269, allocations: 4 kB / 0.5713 GB, free: 7.625 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/0.6269, allocations: 256 / 0.5713 GB, free: 7.625 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.627, allocations: 314.8 kB / 0.5716 GB, free: 7.309 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.909e-05/0.627, allocations: 0 / 0.5716 GB, free: 7.309 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.629e-05/0.6271, allocations: 7.938 kB / 0.5716 GB, free: 7.301 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.007e-05/0.6271, allocations: 0 / 0.5716 GB, free: 7.301 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.6271, allocations: 3.953 kB / 0.5716 GB, free: 7.297 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.806e-05/0.6272, allocations: 45.53 kB / 0.5716 GB, free: 7.246 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.6272, allocations: 4 kB / 0.5716 GB, free: 7.242 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.904e-05/0.6273, allocations: 4 kB / 0.5716 GB, free: 7.238 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.6273, allocations: 4.094 kB / 0.5717 GB, free: 7.234 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.553e-06/0.6273, allocations: 0 / 0.5717 GB, free: 7.234 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.6273, allocations: 0 / 0.5717 GB, free: 7.234 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.485e-05/0.6274, allocations: 0 / 0.5717 GB, free: 7.234 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.6274, allocations: 0 / 0.5717 GB, free: 7.234 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 () * 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 9.922e-05/0.6275, allocations: 117.8 kB / 0.5718 GB, free: 7.109 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.326e-05/0.6275, allocations: 3.953 kB / 0.5718 GB, free: 7.105 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001502/0.6277, allocations: 44.81 kB / 0.5718 GB, free: 7.059 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.6277, allocations: 0 / 0.5718 GB, free: 7.059 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.6277, allocations: 0 / 0.5718 GB, free: 7.059 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.6277, allocations: 0 / 0.5718 GB, free: 7.059 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.6279, allocations: 153.7 kB / 0.572 GB, free: 6.859 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.258e-06/0.6279, allocations: 7.938 kB / 0.572 GB, free: 6.852 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.476e-06/0.6279, allocations: 3.953 kB / 0.572 GB, free: 6.848 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.6279, allocations: 0 / 0.572 GB, free: 6.848 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.6279, allocations: 0 / 0.572 GB, free: 6.848 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.6279, allocations: 0 / 0.572 GB, free: 6.848 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.628, allocations: 8.031 kB / 0.572 GB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.6281, allocations: 61.12 kB / 0.572 GB, free: 6.762 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.935e-05/0.6281, allocations: 81.05 kB / 0.5721 GB, free: 6.664 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.6281, allocations: 3.953 kB / 0.5721 GB, free: 6.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.787e-05/0.6282, allocations: 4 kB / 0.5721 GB, free: 6.656 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.284e-05/0.6282, allocations: 0 / 0.5721 GB, free: 6.656 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.6283, allocations: 7.969 kB / 0.5721 GB, free: 6.648 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.256e-05/0.6283, allocations: 83.31 kB / 0.5722 GB, free: 6.566 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-07/0.6283, allocations: 0 / 0.5722 GB, free: 6.566 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004065/0.6287, allocations: 47.94 kB / 0.5723 GB, free: 6.52 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 () * 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.0003916/0.6291, allocations: 147.1 kB / 0.5724 GB, free: 6.367 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001088/0.6293, allocations: 37.64 kB / 0.5724 GB, free: 6.324 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.6293, allocations: 0 / 0.5724 GB, free: 6.324 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.51e-05/0.6293, allocations: 25.7 kB / 0.5725 GB, free: 6.293 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00012/0.6295, allocations: 10.3 kB / 0.5725 GB, free: 6.285 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002953/0.6298, allocations: 110.7 kB / 0.5726 GB, free: 6.148 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.6301, allocations: 0.6731 MB / 0.5732 GB, free: 5.449 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.281e-05/0.6301, allocations: 7.438 kB / 0.5732 GB, free: 5.445 MB / 394.7 MB Notification: Performance of SimCode: time 7.62e-07/0.6301, allocations: 0 / 0.5732 GB, free: 5.445 MB / 394.7 MB Notification: Performance of Templates: time 0.003424/0.6335, allocations: 0.9806 MB / 0.5742 GB, free: 4.469 MB / 394.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