Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001277/0.001277, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001408/0.001408, allocations: 213.1 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 230.5 MB / 257.4 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2369/0.2369, allocations: 46.93 MB / 360.8 MB, free: 4.266 MB / 286.1 MB " [Timeout remaining time 180] 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.Media.TestOnly.WaterIF97_dewEnthalpy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002478/0.002478, allocations: 75.88 kB / 0.4962 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3747, allocations: 66.09 MB / 0.5607 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01676/0.3914, allocations: 12.6 MB / 0.573 GB, free: 7.648 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001618/0.393, allocations: 1.409 MB / 0.5744 GB, free: 6.234 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.801e-05/0.3931, allocations: 4 kB / 0.5744 GB, free: 6.23 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002166/0.3933, allocations: 31.8 kB / 0.5744 GB, free: 6.199 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006077/0.3994, allocations: 2.238 MB / 0.5766 GB, free: 3.965 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.739e-06/0.3994, allocations: 0 / 0.5766 GB, free: 3.965 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 9.929e-05/0.3995, allocations: 39.67 kB / 0.5767 GB, free: 3.926 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.821e-05/0.3995, allocations: 11.94 kB / 0.5767 GB, free: 3.914 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.599e-05/0.3996, allocations: 8 kB / 0.5767 GB, free: 3.906 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.571e-05/0.3997, allocations: 19.92 kB / 0.5767 GB, free: 3.887 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.428e-06/0.3997, allocations: 0 / 0.5767 GB, free: 3.887 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006957/0.4066, allocations: 3.855 MB / 0.5805 GB, free: 28 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.761e-05/0.4066, allocations: 3.938 kB / 0.5805 GB, free: 24 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.576e-05/0.4067, allocations: 11.94 kB / 0.5805 GB, free: 12 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003591/0.4103, allocations: 1.988 MB / 0.5824 GB, free: 14.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4103, allocations: 0 / 0.5824 GB, free: 14.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4103, allocations: 0 / 0.5824 GB, free: 14.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.4103, allocations: 0 / 0.5824 GB, free: 14.02 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001191/0.4115, allocations: 0.4928 MB / 0.5829 GB, free: 13.5 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.4115, allocations: 12.03 kB / 0.5829 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.306e-05/0.4116, allocations: 30.75 kB / 0.5829 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/0.4117, allocations: 20.88 kB / 0.583 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.4118, allocations: 106.5 kB / 0.5831 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.4119, allocations: 8.375 kB / 0.5831 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.4119, allocations: 4.375 kB / 0.5831 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002646/0.4121, allocations: 91.3 kB / 0.5832 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.4121, allocations: 0 / 0.5832 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.4121, allocations: 3.938 kB / 0.5832 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.4122, allocations: 4 kB / 0.5832 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001598/0.4123, allocations: 51.84 kB / 0.5832 GB, free: 13.12 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005167/0.4128, allocations: 336 kB / 0.5835 GB, free: 12.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001926/0.413, allocations: 58.52 kB / 0.5836 GB, free: 12.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.979e-05/0.4131, allocations: 16.86 kB / 0.5836 GB, free: 12.66 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01863/0.4317, allocations: 5.648 MB / 0.5891 GB, free: 7.008 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.4317, allocations: 38.5 kB / 0.5892 GB, free: 6.961 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.4317, allocations: 0 / 0.5892 GB, free: 6.961 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004521/0.4322, allocations: 101.6 kB / 0.5893 GB, free: 6.855 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.4322, allocations: 51.41 kB / 0.5893 GB, free: 6.793 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.443e-05/0.4323, allocations: 105.8 kB / 0.5894 GB, free: 6.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.4323, allocations: 29.7 kB / 0.5894 GB, free: 6.645 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.152e-05/0.4324, allocations: 88.09 kB / 0.5895 GB, free: 6.555 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.4324, allocations: 19.83 kB / 0.5895 GB, free: 6.535 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.4324, allocations: 17.72 kB / 0.5896 GB, free: 6.512 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.4326, allocations: 318.8 kB / 0.5899 GB, free: 6.191 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.948e-05/0.4326, allocations: 4 kB / 0.5899 GB, free: 6.188 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.166e-05/0.4326, allocations: 34.5 kB / 0.5899 GB, free: 6.145 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.052e-05/0.4327, allocations: 38.58 kB / 0.5899 GB, free: 6.098 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4327, allocations: 0 / 0.5899 GB, free: 6.098 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001137/0.4328, allocations: 65.61 kB / 0.59 GB, free: 6.027 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.4328, allocations: 8 kB / 0.59 GB, free: 6.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.4328, allocations: 0 / 0.59 GB, free: 6.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.4329, allocations: 0 / 0.59 GB, free: 6.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.111e-05/0.4329, allocations: 11.94 kB / 0.59 GB, free: 6.008 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.4329, allocations: 4 kB / 0.59 GB, free: 6.004 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.127e-05/0.433, allocations: 11.95 kB / 0.59 GB, free: 5.992 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.433, allocations: 4 kB / 0.59 GB, free: 5.988 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 9.32e-05/0.4331, allocations: 113.8 kB / 0.5901 GB, free: 5.867 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.4331, allocations: 4 kB / 0.5901 GB, free: 5.863 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004319/0.4335, allocations: 395 kB / 0.5905 GB, free: 5.469 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/0.4335, allocations: 0 / 0.5905 GB, free: 5.469 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.4335, allocations: 4 kB / 0.5905 GB, free: 5.465 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.4335, allocations: 7.938 kB / 0.5905 GB, free: 5.457 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002818/0.4338, allocations: 265.2 kB / 0.5908 GB, free: 5.156 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.4338, allocations: 432 / 0.5908 GB, free: 5.156 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.937e-05/0.4339, allocations: 4 kB / 0.5908 GB, free: 5.152 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.4339, allocations: 0 / 0.5908 GB, free: 5.152 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.4339, allocations: 3.984 kB / 0.5908 GB, free: 5.148 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.4339, allocations: 4.188 kB / 0.5908 GB, free: 5.145 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4339, allocations: 0 / 0.5908 GB, free: 5.145 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.4341, allocations: 297.6 kB / 0.5911 GB, free: 4.84 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.415e-05/0.4342, allocations: 27.83 kB / 0.5911 GB, free: 4.812 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.4342, allocations: 3.938 kB / 0.5911 GB, free: 4.809 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.764e-05/0.4342, allocations: 0 / 0.5911 GB, free: 4.809 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.473e-05/0.4342, allocations: 0 / 0.5911 GB, free: 4.809 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.4342, allocations: 15.86 kB / 0.5911 GB, free: 4.793 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.133e-05/0.4343, allocations: 83.28 kB / 0.5912 GB, free: 4.711 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4343, allocations: 0 / 0.5912 GB, free: 4.711 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00116/0.4354, allocations: 443.3 kB / 0.5916 GB, free: 4.277 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($cse1.region3boundary,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002141/0.4376, allocations: 1.283 MB / 0.5929 GB, free: 2.969 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001753/0.4378, allocations: 91.84 kB / 0.593 GB, free: 2.879 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.4378, allocations: 7.938 kB / 0.593 GB, free: 2.871 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.643e-05/0.4378, allocations: 59.98 kB / 0.593 GB, free: 2.812 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.4381, allocations: 19.92 kB / 0.5931 GB, free: 2.793 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009638/0.4391, allocations: 466 kB / 0.5935 GB, free: 2.293 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.4395, allocations: 0.7088 MB / 0.5942 GB, free: 1.559 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.479e-05/0.4395, allocations: 27.95 kB / 0.5942 GB, free: 1.531 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.247e-05/0.4396, allocations: 31.42 kB / 0.5942 GB, free: 1.5 MB / 430.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4396, allocations: 0 / 0.5942 GB, free: 1.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04774/0.4873, allocations: 15.91 MB / 0.6098 GB, free: 1.676 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.72, allocations: 7.328 kB / 0.6098 GB, free: 1.672 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/WaterIF97_dewEnthalpy/WaterIF97_dewEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.871494942002755]