Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 102.9 kB / 16.27 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001108, allocations: 187.8 kB / 17.19 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2039/0.2039, allocations: 43.53 MB / 313.9 MB, free: 0.5156 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002328/0.002328, allocations: 62.38 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0889/0.09125, allocations: 57.79 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001725/0.09302, allocations: 0.5459 MB / 441.2 MB, free: 6.262 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002506/0.09328, allocations: 51.78 kB / 441.2 MB, free: 6.211 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.922e-05/0.09332, allocations: 0 / 441.2 MB, free: 6.211 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.7e-05/0.09335, allocations: 0 / 441.2 MB, free: 6.211 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002214/0.09358, allocations: 19.91 kB / 441.2 MB, free: 6.191 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.84e-05/0.09361, allocations: 7.984 kB / 441.2 MB, free: 6.184 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.357e-05/0.09366, allocations: 7.938 kB / 441.2 MB, free: 6.176 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.379e-05/0.09372, allocations: 7.938 kB / 441.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.637e-05/0.09374, allocations: 0 / 441.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.565e-05/0.09379, allocations: 4 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.09381, allocations: 3.938 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.496e-05/0.09389, allocations: 23.97 kB / 441.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.194e-05/0.09391, allocations: 8 kB / 441.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.729e-05/0.09393, allocations: 7.922 kB / 441.3 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 7.944e-05/0.09402, allocations: 7.984 kB / 441.3 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.09403, allocations: 4 kB / 441.3 MB, free: 6.109 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.09403, allocations: 0 / 441.3 MB, free: 6.109 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.09404, allocations: 0 / 441.3 MB, free: 6.109 MB / 318.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.0002659/0.09432, allocations: 331.7 kB / 441.6 MB, free: 5.734 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.09436, allocations: 11.89 kB / 441.7 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.904e-05/0.0944, allocations: 34.75 kB / 441.7 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.306e-05/0.09443, allocations: 0.9375 kB / 441.7 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.304e-05/0.0945, allocations: 168.3 kB / 441.9 MB, free: 5.477 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.09452, allocations: 4.312 kB / 441.9 MB, free: 5.473 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.09454, allocations: 8.375 kB / 441.9 MB, free: 5.465 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.736e-05/0.09462, allocations: 30.27 kB / 441.9 MB, free: 5.43 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.09464, allocations: 7.938 kB / 441.9 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.071e-06/0.09465, allocations: 0 / 441.9 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.09466, allocations: 0 / 441.9 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.456e-05/0.0947, allocations: 11.98 kB / 441.9 MB, free: 5.41 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001151/0.09482, allocations: 145.7 kB / 442.1 MB, free: 5.219 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.09499, allocations: 38.5 kB / 442.1 MB, free: 5.172 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.593e-05/0.09502, allocations: 20.94 kB / 442.1 MB, free: 5.148 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003131/0.09534, allocations: 113.1 kB / 442.2 MB, free: 5.02 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.427e-05/0.09537, allocations: 30.56 kB / 442.3 MB, free: 4.98 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.09537, allocations: 0 / 442.3 MB, free: 4.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.001187/0.09656, allocations: 193.3 kB / 442.4 MB, free: 4.785 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.0966, allocations: 55.39 kB / 442.5 MB, free: 4.719 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.774e-05/0.09665, allocations: 89.86 kB / 442.6 MB, free: 4.621 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.09666, allocations: 29.7 kB / 442.6 MB, free: 4.586 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.215e-05/0.09668, allocations: 80.14 kB / 442.7 MB, free: 4.504 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.09671, allocations: 15.75 kB / 442.7 MB, free: 4.488 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.09675, allocations: 26.39 kB / 442.7 MB, free: 4.457 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.073e-05/0.09679, allocations: 310.8 kB / 443 MB, free: 4.145 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.333e-05/0.09687, allocations: 19.98 kB / 443.1 MB, free: 4.125 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.255e-05/0.09694, allocations: 15.98 kB / 443.1 MB, free: 4.109 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.09708, allocations: 52.77 kB / 443.1 MB, free: 4.055 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.09708, allocations: 0 / 443.1 MB, free: 4.055 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001732/0.09726, allocations: 81.59 kB / 443.2 MB, free: 3.969 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.09729, allocations: 8 kB / 443.2 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.0973, allocations: 0 / 443.2 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.09731, allocations: 288 / 443.2 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.09743, allocations: 15.92 kB / 443.2 MB, free: 3.945 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.09745, allocations: 4 kB / 443.2 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.165e-05/0.09753, allocations: 3.984 kB / 443.2 MB, free: 3.938 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.09755, allocations: 4 kB / 443.2 MB, free: 3.934 MB / 318.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 5.207e-05/0.0976, allocations: 117.8 kB / 443.4 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/0.09762, allocations: 15.83 kB / 443.4 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002362/0.09786, allocations: 89.14 kB / 443.5 MB, free: 3.699 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.09787, allocations: 3.938 kB / 443.5 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.09788, allocations: 0 / 443.5 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.09789, allocations: 0 / 443.5 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006087/0.09851, allocations: 363.6 kB / 443.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.09852, allocations: 0 / 443.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.921e-05/0.09861, allocations: 19.98 kB / 443.8 MB, free: 3.262 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.09862, allocations: 0 / 443.8 MB, free: 3.262 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.09864, allocations: 0 / 443.8 MB, free: 3.262 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.09864, allocations: 4.031 kB / 443.8 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.09865, allocations: 4 kB / 443.8 MB, free: 3.254 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.09885, allocations: 180.2 kB / 444 MB, free: 3.059 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.91e-05/0.09888, allocations: 77.11 kB / 444.1 MB, free: 2.965 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.0989, allocations: 4 kB / 444.1 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.09901, allocations: 15.98 kB / 444.1 MB, free: 2.945 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.36e-05/0.09903, allocations: 0 / 444.1 MB, free: 2.945 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.09904, allocations: 4 kB / 444.1 MB, free: 2.941 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.659e-05/0.09906, allocations: 75.28 kB / 444.2 MB, free: 2.867 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.09906, allocations: 0 / 444.2 MB, free: 2.867 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002272/0.09929, allocations: 8 kB / 444.2 MB, free: 2.859 MB / 318.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.000392/0.09969, allocations: 0.721 MB / 444.9 MB, free: 2.109 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002087/0.09992, allocations: 47.95 kB / 445 MB, free: 2.062 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.09994, allocations: 4 kB / 445 MB, free: 2.059 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.458e-05/0.1, allocations: 23.92 kB / 445 MB, free: 2.035 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.1002, allocations: 8.062 kB / 445 MB, free: 2.027 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004963/0.1007, allocations: 159.5 kB / 445.2 MB, free: 1.828 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.1009, allocations: 0.6729 MB / 445.8 MB, free: 1.129 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.392e-05/0.1009, allocations: 8 kB / 445.8 MB, free: 1.121 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.844e-05/0.101, allocations: 19.42 kB / 445.9 MB, free: 1.102 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.101, allocations: 0 / 445.9 MB, free: 1.102 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01576/0.1167, allocations: 1.447 MB / 447.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.276/7.392, allocations: 6.797 kB / 447.3 MB, free: 15.66 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches