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.001068/0.001068, allocations: 175.8 kB / 16.76 MB, free: 4.926 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.29/1.29, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007412/0.0007415, allocations: 92.95 kB / 271.3 MB, free: 8.234 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.3073/0.3073, allocations: 43.57 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003685/0.0003685, allocations: 11.98 kB / 432.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1063, allocations: 58.84 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2843/0.3907, allocations: 85.39 MB / 0.5633 GB, free: 0.6016 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000192/0.3909, allocations: 67.97 kB / 0.5634 GB, free: 0.5352 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02558/0.4165, allocations: 8.231 MB / 0.5714 GB, free: 8.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.692e-06/0.4166, allocations: 0 / 0.5714 GB, free: 8.34 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.4166, allocations: 3.938 kB / 0.5714 GB, free: 8.336 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.0003484/0.4169, allocations: 343.5 kB / 0.5718 GB, free: 7.949 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.417, allocations: 8.031 kB / 0.5718 GB, free: 7.941 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.417, allocations: 5.562 kB / 0.5718 GB, free: 7.938 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.575e-05/0.4171, allocations: 164.3 kB / 0.5719 GB, free: 7.738 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.4171, allocations: 4.359 kB / 0.5719 GB, free: 7.734 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.4171, allocations: 384 / 0.5719 GB, free: 7.734 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.4173, allocations: 38.27 kB / 0.572 GB, free: 7.691 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.4173, allocations: 192 / 0.572 GB, free: 7.691 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.4173, allocations: 3.938 kB / 0.572 GB, free: 7.688 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.4173, allocations: 7.984 kB / 0.572 GB, free: 7.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.545e-05/0.4173, allocations: 11.92 kB / 0.572 GB, free: 7.668 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003139/0.4176, allocations: 241.5 kB / 0.5722 GB, free: 7.387 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.63e-05/0.4177, allocations: 22.52 kB / 0.5723 GB, free: 7.355 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.363e-05/0.4177, allocations: 4.906 kB / 0.5723 GB, free: 7.348 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.4178, allocations: 3.984 kB / 0.5723 GB, free: 7.344 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.4178, allocations: 34.56 kB / 0.5723 GB, free: 7.301 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.233e-06/0.4178, allocations: 0 / 0.5723 GB, free: 7.301 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001513/0.418, allocations: 43.73 kB / 0.5723 GB, free: 7.254 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.418, allocations: 51.41 kB / 0.5724 GB, free: 7.191 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.787e-05/0.4181, allocations: 93.86 kB / 0.5725 GB, free: 7.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.4181, allocations: 29.69 kB / 0.5725 GB, free: 7.055 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.166e-05/0.4182, allocations: 84.05 kB / 0.5726 GB, free: 6.969 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.685e-06/0.4182, allocations: 12.25 kB / 0.5726 GB, free: 6.957 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.215e-06/0.4182, allocations: 0 / 0.5726 GB, free: 6.957 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.4183, allocations: 310.8 kB / 0.5729 GB, free: 6.645 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.057e-05/0.4183, allocations: 3.938 kB / 0.5729 GB, free: 6.641 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.613e-05/0.4183, allocations: 18.58 kB / 0.5729 GB, free: 6.613 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.336e-05/0.4184, allocations: 42.44 kB / 0.573 GB, free: 6.562 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.4184, allocations: 0 / 0.573 GB, free: 6.562 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.063e-05/0.4185, allocations: 53.55 kB / 0.573 GB, free: 6.504 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.4185, allocations: 4 kB / 0.573 GB, free: 6.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.4185, allocations: 4 kB / 0.573 GB, free: 6.496 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.4185, allocations: 3.984 kB / 0.573 GB, free: 6.492 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.725e-05/0.4186, allocations: 4 kB / 0.573 GB, free: 6.488 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.4186, allocations: 0 / 0.573 GB, free: 6.488 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.011e-05/0.4186, allocations: 4.094 kB / 0.573 GB, free: 6.484 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.4186, allocations: 4 kB / 0.573 GB, free: 6.48 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 () * Number of clocked 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 7.561e-05/0.4187, allocations: 109.8 kB / 0.5731 GB, free: 6.363 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/0.4187, allocations: 7.938 kB / 0.5731 GB, free: 6.355 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.4189, allocations: 44.81 kB / 0.5732 GB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.4189, allocations: 0 / 0.5732 GB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4189, allocations: 0 / 0.5732 GB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.4189, allocations: 4.031 kB / 0.5732 GB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.4191, allocations: 149.6 kB / 0.5733 GB, free: 6.109 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.4191, allocations: 4 kB / 0.5733 GB, free: 6.105 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.4191, allocations: 0 / 0.5733 GB, free: 6.105 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.4191, allocations: 0 / 0.5733 GB, free: 6.105 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.77e-06/0.4191, allocations: 0 / 0.5733 GB, free: 6.105 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4191, allocations: 0 / 0.5733 GB, free: 6.105 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4191, allocations: 0.75 kB / 0.5733 GB, free: 6.105 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.4192, allocations: 139.4 kB / 0.5735 GB, free: 5.953 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.558e-05/0.4193, allocations: 81.09 kB / 0.5735 GB, free: 5.855 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.889e-06/0.4193, allocations: 4 kB / 0.5735 GB, free: 5.852 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.981e-05/0.4193, allocations: 0 / 0.5735 GB, free: 5.852 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.072e-05/0.4193, allocations: 0 / 0.5735 GB, free: 5.852 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.4194, allocations: 0 / 0.5735 GB, free: 5.852 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.929e-05/0.4194, allocations: 83.28 kB / 0.5736 GB, free: 5.77 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4194, allocations: 3.938 kB / 0.5736 GB, free: 5.766 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000334/0.4197, allocations: 51.92 kB / 0.5737 GB, free: 5.715 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.0002582/0.42, allocations: 155.7 kB / 0.5738 GB, free: 5.555 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.218e-05/0.4201, allocations: 41.64 kB / 0.5739 GB, free: 5.508 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4201, allocations: 0 / 0.5739 GB, free: 5.508 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.94e-05/0.4201, allocations: 33.69 kB / 0.5739 GB, free: 5.469 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001894/0.4203, allocations: 7.875 kB / 0.5739 GB, free: 5.461 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001944/0.4205, allocations: 81.02 kB / 0.574 GB, free: 5.359 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001773/0.4207, allocations: 0.685 MB / 0.5747 GB, free: 4.648 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.783e-05/0.4208, allocations: 0 / 0.5747 GB, free: 4.648 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.267e-05/0.4208, allocations: 7.438 kB / 0.5747 GB, free: 4.641 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4208, allocations: 0 / 0.5747 GB, free: 4.641 MB / 394.7 MB Notification: Performance of Templates: time 0.002722/0.4235, allocations: 0.9777 MB / 0.5756 GB, free: 3.672 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/jenkins1/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