Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001605/0.001605, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001782/0.001782, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2085/0.2085, allocations: 46.09 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 69.45 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09067/0.09209, allocations: 62.45 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001557/0.09368, allocations: 495.6 kB / 480.6 MB, free: 4.715 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002731/0.09397, allocations: 110.3 kB / 480.7 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.216e-05/0.094, allocations: 0 / 480.7 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.251e-05/0.09403, allocations: 0 / 480.7 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001884/0.09423, allocations: 19.91 kB / 480.7 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.611e-05/0.09425, allocations: 4 kB / 480.7 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.702e-05/0.0943, allocations: 4 kB / 480.7 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.833e-05/0.09434, allocations: 4 kB / 480.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.118e-05/0.09437, allocations: 7.938 kB / 480.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.43e-05/0.09441, allocations: 3.938 kB / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.799e-06/0.09442, allocations: 0 / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.956e-05/0.09451, allocations: 23.97 kB / 480.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.067e-05/0.09452, allocations: 3.984 kB / 480.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.464e-05/0.09454, allocations: 0 / 480.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.579e-05/0.09462, allocations: 23.92 kB / 480.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.09463, allocations: 0 / 480.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.09464, allocations: 4 kB / 480.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.09465, allocations: 3.984 kB / 480.8 MB, free: 4.508 MB / 350.1 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.0002591/0.09491, allocations: 311.6 kB / 481.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.09496, allocations: 12.03 kB / 481.1 MB, free: 4.141 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.931e-05/0.09499, allocations: 30.75 kB / 481.2 MB, free: 4.102 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.286e-05/0.09502, allocations: 4.922 kB / 481.2 MB, free: 4.098 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.229e-05/0.09512, allocations: 160.4 kB / 481.3 MB, free: 3.902 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.09513, allocations: 4.375 kB / 481.3 MB, free: 3.898 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.09515, allocations: 384 / 481.3 MB, free: 3.898 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.782e-05/0.09525, allocations: 50.17 kB / 481.4 MB, free: 3.844 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.09526, allocations: 3.938 kB / 481.4 MB, free: 3.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.09528, allocations: 0 / 481.4 MB, free: 3.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.09528, allocations: 0 / 481.4 MB, free: 3.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.923e-05/0.09532, allocations: 4 kB / 481.4 MB, free: 3.836 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000132/0.09546, allocations: 161.9 kB / 481.5 MB, free: 3.629 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.09562, allocations: 34.58 kB / 481.6 MB, free: 3.586 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.738e-05/0.09566, allocations: 16.94 kB / 481.6 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003318/0.096, allocations: 109.1 kB / 481.7 MB, free: 3.441 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.09603, allocations: 34.5 kB / 481.7 MB, free: 3.398 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.09604, allocations: 0 / 481.7 MB, free: 3.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.001268/0.09731, allocations: 193.3 kB / 481.9 MB, free: 3.203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.09736, allocations: 55.34 kB / 482 MB, free: 3.137 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.799e-05/0.09743, allocations: 97.86 kB / 482.1 MB, free: 3.031 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.09745, allocations: 25.7 kB / 482.1 MB, free: 3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.729e-05/0.09748, allocations: 80.27 kB / 482.2 MB, free: 2.918 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.09752, allocations: 19.8 kB / 482.2 MB, free: 2.898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.006e-05/0.09757, allocations: 21.7 kB / 482.2 MB, free: 2.871 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.09767, allocations: 314.8 kB / 482.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.605e-05/0.09776, allocations: 19.98 kB / 482.5 MB, free: 2.535 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.234e-05/0.09784, allocations: 15.98 kB / 482.6 MB, free: 2.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.098, allocations: 44.83 kB / 482.6 MB, free: 2.473 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.09801, allocations: 4 kB / 482.6 MB, free: 2.469 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002142/0.09823, allocations: 89.44 kB / 482.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.09825, allocations: 4 kB / 482.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.09826, allocations: 0 / 482.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.09828, allocations: 0 / 482.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.09841, allocations: 15.98 kB / 482.7 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.09842, allocations: 0 / 482.7 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.964e-05/0.09851, allocations: 11.98 kB / 482.7 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.09853, allocations: 4 kB / 482.7 MB, free: 2.34 MB / 350.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.562e-05/0.0986, allocations: 109.8 kB / 482.8 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.314e-05/0.09862, allocations: 3.938 kB / 482.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002606/0.09888, allocations: 89.39 kB / 482.9 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-06/0.09889, allocations: 0 / 482.9 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.09891, allocations: 12.06 kB / 482.9 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.09891, allocations: 0 / 482.9 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006873/0.09961, allocations: 355.3 kB / 483.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.09962, allocations: 0 / 483.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.719e-05/0.09972, allocations: 15.98 kB / 483.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.165e-06/0.09973, allocations: 4.031 kB / 483.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.09975, allocations: 4 kB / 483.3 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.09975, allocations: 0 / 483.3 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.09976, allocations: 0 / 483.3 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/0.1, allocations: 176.6 kB / 483.5 MB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.747e-05/0.1001, allocations: 88.95 kB / 483.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.1001, allocations: 7.984 kB / 483.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.1002, allocations: 7.984 kB / 483.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.087e-05/0.1002, allocations: 0 / 483.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.1002, allocations: 4 kB / 483.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.334e-05/0.1003, allocations: 83.27 kB / 483.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1003, allocations: 0 / 483.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002352/0.1005, allocations: 12 kB / 483.7 MB, free: 1.277 MB / 350.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005416/0.101, allocations: 0.7171 MB / 484.4 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002111/0.1013, allocations: 55.89 kB / 484.5 MB, free: 484 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1013, allocations: 0 / 484.5 MB, free: 484 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.448e-05/0.1014, allocations: 31.92 kB / 484.5 MB, free: 452 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.1016, allocations: 0 / 484.5 MB, free: 452 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005292/0.1021, allocations: 163.4 kB / 484.6 MB, free: 244 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.1024, allocations: 0.6729 MB / 485.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.099e-05/0.1024, allocations: 12.05 kB / 485.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.081e-05/0.1025, allocations: 11.44 kB / 485.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1025, allocations: 0 / 485.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01665/0.1192, allocations: 1.438 MB / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.503/7.622, allocations: 18.44 kB / 486.8 MB, free: 14.12 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.csv --start-time 0 --stop-time 1.3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00052 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches