Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 211.6 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.442/1.442, allocations: 230.6 MB / 257.5 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2317/0.2317, allocations: 46.96 MB / 360.9 MB, free: 4.016 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 75.88 kB / 0.4961 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3739, allocations: 66.03 MB / 0.5606 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.0168/0.3907, allocations: 11.48 MB / 0.5718 GB, free: 8.727 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001609/0.3923, allocations: 1.222 MB / 0.573 GB, free: 7.5 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.942e-05/0.3923, allocations: 0 / 0.573 GB, free: 7.5 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001862/0.3925, allocations: 19.91 kB / 0.573 GB, free: 7.48 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005673/0.3982, allocations: 2.213 MB / 0.5752 GB, free: 5.27 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.434e-06/0.3982, allocations: 0 / 0.5752 GB, free: 5.27 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 9.965e-05/0.3983, allocations: 43.67 kB / 0.5752 GB, free: 5.227 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.385e-05/0.3983, allocations: 4 kB / 0.5752 GB, free: 5.223 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.515e-05/0.3984, allocations: 15.92 kB / 0.5752 GB, free: 5.207 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.498e-05/0.3984, allocations: 11.94 kB / 0.5752 GB, free: 5.195 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.358e-06/0.3984, allocations: 4 kB / 0.5752 GB, free: 5.191 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006333/0.4048, allocations: 3.832 MB / 0.579 GB, free: 1.355 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.006e-05/0.4048, allocations: 7.984 kB / 0.579 GB, free: 1.348 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.795e-05/0.4048, allocations: 11.94 kB / 0.579 GB, free: 1.336 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002918/0.4078, allocations: 1.969 MB / 0.5809 GB, free: 15.36 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.4078, allocations: 7.984 kB / 0.5809 GB, free: 15.36 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4078, allocations: 0 / 0.5809 GB, free: 15.36 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.4078, allocations: 3.938 kB / 0.5809 GB, free: 15.35 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.001049/0.4088, allocations: 0.4927 MB / 0.5814 GB, free: 14.83 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.4089, allocations: 8.031 kB / 0.5814 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.395e-05/0.4089, allocations: 38.73 kB / 0.5815 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.409, allocations: 12.89 kB / 0.5815 GB, free: 14.76 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.4092, allocations: 110.5 kB / 0.5816 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.4092, allocations: 384 / 0.5816 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.4092, allocations: 8.375 kB / 0.5816 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.4094, allocations: 91.25 kB / 0.5817 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.4094, allocations: 0 / 0.5817 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.4095, allocations: 4 kB / 0.5817 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.4095, allocations: 0 / 0.5817 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001661/0.4096, allocations: 55.92 kB / 0.5817 GB, free: 14.46 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.0004368/0.4101, allocations: 328 kB / 0.582 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.4102, allocations: 54.53 kB / 0.5821 GB, free: 14.03 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.97e-05/0.4103, allocations: 12.86 kB / 0.5821 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01918/0.4294, allocations: 5.687 MB / 0.5877 GB, free: 8.32 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.4295, allocations: 30.56 kB / 0.5877 GB, free: 8.281 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 2.184e-06/0.4295, allocations: 0 / 0.5877 GB, free: 8.281 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004531/0.4299, allocations: 109.6 kB / 0.5878 GB, free: 8.168 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.43, allocations: 51.41 kB / 0.5878 GB, free: 8.105 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.588e-05/0.4301, allocations: 101.8 kB / 0.5879 GB, free: 7.996 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.4301, allocations: 29.7 kB / 0.588 GB, free: 7.961 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.179e-05/0.4301, allocations: 88.09 kB / 0.588 GB, free: 7.871 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.4302, allocations: 19.83 kB / 0.5881 GB, free: 7.852 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.4302, allocations: 17.72 kB / 0.5881 GB, free: 7.828 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.4304, allocations: 318.8 kB / 0.5884 GB, free: 7.508 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.137e-05/0.4304, allocations: 7.984 kB / 0.5884 GB, free: 7.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.96e-05/0.4304, allocations: 30.58 kB / 0.5884 GB, free: 7.461 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.05e-05/0.4305, allocations: 38.52 kB / 0.5885 GB, free: 7.414 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.4305, allocations: 7.938 kB / 0.5885 GB, free: 7.406 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001093/0.4306, allocations: 73.56 kB / 0.5885 GB, free: 7.328 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.4306, allocations: 4 kB / 0.5885 GB, free: 7.324 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4306, allocations: 0 / 0.5885 GB, free: 7.324 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.4306, allocations: 4 kB / 0.5885 GB, free: 7.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.688e-05/0.4307, allocations: 8 kB / 0.5886 GB, free: 7.312 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.4307, allocations: 0 / 0.5886 GB, free: 7.312 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.249e-05/0.4307, allocations: 7.938 kB / 0.5886 GB, free: 7.305 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.4307, allocations: 0 / 0.5886 GB, free: 7.305 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 8.595e-05/0.4308, allocations: 121.8 kB / 0.5887 GB, free: 7.176 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.4308, allocations: 0 / 0.5887 GB, free: 7.176 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000433/0.4313, allocations: 399.1 kB / 0.5891 GB, free: 6.777 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.4313, allocations: 4 kB / 0.5891 GB, free: 6.773 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.4313, allocations: 4.359 kB / 0.5891 GB, free: 6.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.4313, allocations: 7.922 kB / 0.5891 GB, free: 6.762 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002997/0.4316, allocations: 257.3 kB / 0.5893 GB, free: 6.469 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.4316, allocations: 0 / 0.5893 GB, free: 6.469 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.962e-05/0.4316, allocations: 4 kB / 0.5893 GB, free: 6.465 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.4316, allocations: 0 / 0.5893 GB, free: 6.465 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.4316, allocations: 7.984 kB / 0.5893 GB, free: 6.457 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.4317, allocations: 3.938 kB / 0.5893 GB, free: 6.453 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4317, allocations: 4 kB / 0.5893 GB, free: 6.449 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002726/0.4319, allocations: 293.7 kB / 0.5896 GB, free: 6.148 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.017e-05/0.4319, allocations: 23.83 kB / 0.5896 GB, free: 6.125 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.432, allocations: 3.984 kB / 0.5896 GB, free: 6.121 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.722e-05/0.432, allocations: 0 / 0.5896 GB, free: 6.121 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.271e-05/0.432, allocations: 4 kB / 0.5896 GB, free: 6.117 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.432, allocations: 3.938 kB / 0.5896 GB, free: 6.113 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.953e-05/0.4321, allocations: 87.27 kB / 0.5897 GB, free: 6.027 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4321, allocations: 0 / 0.5897 GB, free: 6.027 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001199/0.4333, allocations: 443.4 kB / 0.5902 GB, free: 5.594 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.002206/0.4355, allocations: 1.292 MB / 0.5914 GB, free: 4.273 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001822/0.4357, allocations: 87.86 kB / 0.5915 GB, free: 4.188 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4357, allocations: 0 / 0.5915 GB, free: 4.188 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.422e-05/0.4357, allocations: 67.97 kB / 0.5916 GB, free: 4.121 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.4361, allocations: 20.05 kB / 0.5916 GB, free: 4.102 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009866/0.437, allocations: 466 kB / 0.592 GB, free: 3.602 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.495e-05/0.4371, allocations: 101.7 kB / 0.5921 GB, free: 3.484 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.482e-05/0.4372, allocations: 27.95 kB / 0.5922 GB, free: 3.457 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.137e-05/0.4373, allocations: 27.44 kB / 0.5922 GB, free: 3.43 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4373, allocations: 3.938 kB / 0.5922 GB, free: 3.426 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04897/0.4862, allocations: 16.24 MB / 0.608 GB, free: 3.309 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.6, allocations: 3.438 kB / 0.608 GB, free: 3.309 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_4_1_0_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.651203208020888]