Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009361/0.0009361, allocations: 180.5 kB / 17.41 MB, free: 4.402 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.311/1.311, allocations: 205.4 MB / 223.6 MB, free: 8.938 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.0007477/0.0007476, allocations: 87.41 kB / 271.9 MB, free: 8.246 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.3019/0.3019, allocations: 43.57 MB / 363.8 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004619/0.000462, allocations: 8 kB / 432.6 MB, free: 5.645 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1075, allocations: 58.85 MB / 491.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2599/0.3675, allocations: 84.01 MB / 0.562 GB, free: 2.254 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002104/0.3677, allocations: 67.95 kB / 0.562 GB, free: 2.188 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001479/0.3692, allocations: 0.6195 MB / 0.5626 GB, free: 1.574 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3692, allocations: 0 / 0.5626 GB, free: 1.574 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.3692, allocations: 0 / 0.5626 GB, free: 1.574 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000203/0.3694, allocations: 323.2 kB / 0.5629 GB, free: 1.211 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.3695, allocations: 8.031 kB / 0.5629 GB, free: 1.203 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.062e-05/0.3695, allocations: 6.75 kB / 0.563 GB, free: 1.199 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.008e-05/0.3696, allocations: 164.3 kB / 0.5631 GB, free: 1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.3696, allocations: 384 / 0.5631 GB, free: 1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.3697, allocations: 384 / 0.5631 GB, free: 1 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.658e-05/0.3697, allocations: 34.25 kB / 0.5631 GB, free: 0.9609 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.3698, allocations: 4.188 kB / 0.5631 GB, free: 0.957 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.3698, allocations: 7.938 kB / 0.5632 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.3698, allocations: 5.031 kB / 0.5632 GB, free: 0.9453 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.408e-05/0.3698, allocations: 11.92 kB / 0.5632 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001261/0.37, allocations: 154.8 kB / 0.5633 GB, free: 0.7383 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.3701, allocations: 34.61 kB / 0.5634 GB, free: 0.6953 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.521e-05/0.3702, allocations: 8.859 kB / 0.5634 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002567/0.3704, allocations: 121.2 kB / 0.5635 GB, free: 0.5469 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.48e-05/0.3705, allocations: 30.56 kB / 0.5635 GB, free: 0.5078 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3705, allocations: 0.7656 kB / 0.5635 GB, free: 0.5078 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.001106/0.3716, allocations: 221.3 kB / 0.5637 GB, free: 292 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.228e-05/0.3716, allocations: 51.41 kB / 0.5638 GB, free: 228 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.701e-05/0.3717, allocations: 93.86 kB / 0.5639 GB, free: 124 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.308e-06/0.3717, allocations: 32.61 kB / 0.5639 GB, free: 88 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.596e-05/0.3717, allocations: 84.14 kB / 0.564 GB, free: 16 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.3718, allocations: 15.73 kB / 0.564 GB, free: 15.98 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-06/0.3718, allocations: 2.953 kB / 0.564 GB, free: 15.98 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.3719, allocations: 322.9 kB / 0.5643 GB, free: 15.66 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.981e-05/0.372, allocations: 15.98 kB / 0.5643 GB, free: 15.64 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.218e-05/0.3721, allocations: 27.97 kB / 0.5643 GB, free: 15.62 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.3722, allocations: 56.83 kB / 0.5644 GB, free: 15.56 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3722, allocations: 0 / 0.5644 GB, free: 15.56 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001924/0.3724, allocations: 81.67 kB / 0.5645 GB, free: 15.47 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.3725, allocations: 7.938 kB / 0.5645 GB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.3725, allocations: 0 / 0.5645 GB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.3725, allocations: 4.281 kB / 0.5645 GB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.3726, allocations: 19.92 kB / 0.5645 GB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.904e-06/0.3726, allocations: 4 kB / 0.5645 GB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.209e-05/0.3727, allocations: 7.984 kB / 0.5645 GB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.3727, allocations: 0 / 0.5645 GB, free: 15.43 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.219e-05/0.3728, allocations: 113.8 kB / 0.5646 GB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.131e-05/0.3728, allocations: 7.922 kB / 0.5646 GB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002653/0.3731, allocations: 102.5 kB / 0.5647 GB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.3731, allocations: 0 / 0.5647 GB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3731, allocations: 0 / 0.5647 GB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.3731, allocations: 8 kB / 0.5647 GB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006257/0.3738, allocations: 359.2 kB / 0.5651 GB, free: 14.78 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3738, allocations: 8.031 kB / 0.5651 GB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.3739, allocations: 19.92 kB / 0.5651 GB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3739, allocations: 1.062 kB / 0.5651 GB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.986e-06/0.3739, allocations: 0 / 0.5651 GB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.3739, allocations: 0 / 0.5651 GB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3739, allocations: 7.828 kB / 0.5651 GB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.3742, allocations: 188.3 kB / 0.5653 GB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.127e-05/0.3742, allocations: 82.12 kB / 0.5654 GB, free: 14.45 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.3743, allocations: 5.562 kB / 0.5654 GB, free: 14.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.3744, allocations: 4 kB / 0.5654 GB, free: 14.44 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-05/0.3744, allocations: 11.98 kB / 0.5654 GB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.3744, allocations: 4 kB / 0.5654 GB, free: 14.43 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.961e-05/0.3744, allocations: 79.22 kB / 0.5655 GB, free: 14.35 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3744, allocations: 0 / 0.5655 GB, free: 14.35 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002137/0.3747, allocations: 12 kB / 0.5655 GB, free: 14.34 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001248/0.3748, allocations: 95.25 kB / 0.5656 GB, free: 14.23 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002132/0.375, allocations: 63.98 kB / 0.5656 GB, free: 14.17 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.375, allocations: 0 / 0.5656 GB, free: 14.17 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.498e-05/0.3751, allocations: 35.86 kB / 0.5657 GB, free: 14.14 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/0.3753, allocations: 4 kB / 0.5657 GB, free: 14.13 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004463/0.3758, allocations: 175.5 kB / 0.5658 GB, free: 13.93 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.376, allocations: 0.6731 MB / 0.5665 GB, free: 13.23 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.608e-05/0.3761, allocations: 11.42 kB / 0.5665 GB, free: 13.22 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3761, allocations: 4 kB / 0.5665 GB, free: 13.22 MB / 394.7 MB Notification: Performance of Templates: time 0.001895/0.378, allocations: 0.6594 MB / 0.5672 GB, free: 12.57 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches