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.001363/0.001363, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001469/0.001469, allocations: 215.2 kB / 23.75 MB, free: 4.668 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.434/1.434, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.2201/0.2201, allocations: 46.95 MB / 360.9 MB, free: 4.27 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.002105/0.002105, allocations: 63.91 kB / 0.4961 GB, free: 7.922 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3749, allocations: 66.04 MB / 0.5606 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01794/0.3928, allocations: 12.61 MB / 0.573 GB, free: 7.836 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001702/0.3945, allocations: 1.401 MB / 0.5743 GB, free: 6.43 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.829e-05/0.3946, allocations: 0 / 0.5743 GB, free: 6.43 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001988/0.3948, allocations: 35.81 kB / 0.5744 GB, free: 6.395 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00642/0.4012, allocations: 2.233 MB / 0.5765 GB, free: 4.16 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.426e-06/0.4012, allocations: 8 kB / 0.5765 GB, free: 4.152 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000114/0.4013, allocations: 39.69 kB / 0.5766 GB, free: 4.113 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.196e-05/0.4014, allocations: 3.984 kB / 0.5766 GB, free: 4.109 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.428e-05/0.4015, allocations: 11.98 kB / 0.5766 GB, free: 4.098 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.162e-05/0.4015, allocations: 11.94 kB / 0.5766 GB, free: 4.086 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.4015, allocations: 4 kB / 0.5766 GB, free: 4.082 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007504/0.409, allocations: 3.859 MB / 0.5804 GB, free: 224 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.7e-05/0.4091, allocations: 3.984 kB / 0.5804 GB, free: 220 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.862e-05/0.4091, allocations: 15.88 kB / 0.5804 GB, free: 204 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003882/0.413, allocations: 1.98 MB / 0.5823 GB, free: 14.21 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.413, allocations: 0 / 0.5823 GB, free: 14.21 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.413, allocations: 0 / 0.5823 GB, free: 14.21 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.413, allocations: 0 / 0.5823 GB, free: 14.21 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.001473/0.4145, allocations: 0.4928 MB / 0.5828 GB, free: 13.69 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.4145, allocations: 12.03 kB / 0.5828 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.67e-05/0.4146, allocations: 38.75 kB / 0.5829 GB, free: 13.63 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001794/0.4147, allocations: 12.88 kB / 0.5829 GB, free: 13.62 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.4149, allocations: 106.5 kB / 0.583 GB, free: 13.49 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.4149, allocations: 384 / 0.583 GB, free: 13.49 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.4149, allocations: 8.375 kB / 0.583 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002926/0.4152, allocations: 91.23 kB / 0.5831 GB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.4152, allocations: 0 / 0.5831 GB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.4152, allocations: 7.984 kB / 0.5831 GB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.4152, allocations: 4 kB / 0.5831 GB, free: 13.37 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001858/0.4154, allocations: 51.84 kB / 0.5831 GB, free: 13.32 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.0004683/0.4159, allocations: 328 kB / 0.5834 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.416, allocations: 58.47 kB / 0.5835 GB, free: 12.89 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.101e-05/0.4161, allocations: 12.86 kB / 0.5835 GB, free: 12.87 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01919/0.4353, allocations: 5.656 MB / 0.589 GB, free: 7.207 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.385e-05/0.4353, allocations: 34.56 kB / 0.5891 GB, free: 7.164 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.843e-06/0.4353, allocations: 0 / 0.5891 GB, free: 7.164 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004743/0.4358, allocations: 109.6 kB / 0.5892 GB, free: 7.051 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.4358, allocations: 55.41 kB / 0.5892 GB, free: 6.984 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.999e-05/0.4359, allocations: 101.8 kB / 0.5893 GB, free: 6.875 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.4359, allocations: 25.7 kB / 0.5893 GB, free: 6.844 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.238e-05/0.436, allocations: 92.03 kB / 0.5894 GB, free: 6.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.436, allocations: 15.84 kB / 0.5894 GB, free: 6.734 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-05/0.4361, allocations: 21.7 kB / 0.5895 GB, free: 6.707 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.4362, allocations: 318.8 kB / 0.5898 GB, free: 6.387 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.458e-05/0.4362, allocations: 8 kB / 0.5898 GB, free: 6.379 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.656e-05/0.4362, allocations: 26.56 kB / 0.5898 GB, free: 6.344 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.099e-05/0.4363, allocations: 38.89 kB / 0.5898 GB, free: 6.297 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4363, allocations: 4 kB / 0.5898 GB, free: 6.293 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001179/0.4364, allocations: 69.59 kB / 0.5899 GB, free: 6.219 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.4364, allocations: 8.062 kB / 0.5899 GB, free: 6.211 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4365, allocations: 0 / 0.5899 GB, free: 6.211 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.4365, allocations: 4 kB / 0.5899 GB, free: 6.207 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.259e-05/0.4365, allocations: 8 kB / 0.5899 GB, free: 6.199 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.4366, allocations: 3.984 kB / 0.5899 GB, free: 6.195 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.422e-05/0.4366, allocations: 11.89 kB / 0.5899 GB, free: 6.184 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/0.4366, allocations: 4 kB / 0.59 GB, free: 6.18 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.993e-05/0.4367, allocations: 113.8 kB / 0.5901 GB, free: 6.059 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.4367, allocations: 3.938 kB / 0.5901 GB, free: 6.055 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004473/0.4372, allocations: 395.1 kB / 0.5904 GB, free: 5.66 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.4372, allocations: 7.984 kB / 0.5904 GB, free: 5.652 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4372, allocations: 0 / 0.5904 GB, free: 5.652 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.4372, allocations: 3.938 kB / 0.5905 GB, free: 5.648 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002952/0.4375, allocations: 257.2 kB / 0.5907 GB, free: 5.355 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.4375, allocations: 0 / 0.5907 GB, free: 5.355 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.426e-05/0.4375, allocations: 8 kB / 0.5907 GB, free: 5.348 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.4375, allocations: 0 / 0.5907 GB, free: 5.348 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.4375, allocations: 4 kB / 0.5907 GB, free: 5.344 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.4375, allocations: 0 / 0.5907 GB, free: 5.344 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.4375, allocations: 7.984 kB / 0.5907 GB, free: 5.336 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002776/0.4378, allocations: 293.6 kB / 0.591 GB, free: 5.035 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.926e-05/0.4378, allocations: 15.84 kB / 0.591 GB, free: 5.02 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.4378, allocations: 7.875 kB / 0.591 GB, free: 5.012 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.781e-05/0.4379, allocations: 4.25 kB / 0.591 GB, free: 5.008 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.349e-05/0.4379, allocations: 0 / 0.591 GB, free: 5.008 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-06/0.4379, allocations: 7.938 kB / 0.591 GB, free: 5 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.748e-05/0.438, allocations: 91.27 kB / 0.5911 GB, free: 4.91 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.438, allocations: 0 / 0.5911 GB, free: 4.91 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0012/0.4392, allocations: 451.3 kB / 0.5915 GB, free: 4.469 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.002626/0.4418, allocations: 1.284 MB / 0.5928 GB, free: 3.156 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001925/0.442, allocations: 83.91 kB / 0.5929 GB, free: 3.074 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.442, allocations: 0 / 0.5929 GB, free: 3.074 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.091e-05/0.4421, allocations: 67.92 kB / 0.5929 GB, free: 3.008 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.4424, allocations: 26.45 kB / 0.593 GB, free: 2.984 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.4437, allocations: 466.2 kB / 0.5934 GB, free: 2.484 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.444, allocations: 0.7086 MB / 0.5941 GB, free: 1.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.739e-05/0.4441, allocations: 35.88 kB / 0.5941 GB, free: 1.715 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.187e-05/0.4441, allocations: 31.44 kB / 0.5942 GB, free: 1.684 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4441, allocations: 0 / 0.5942 GB, free: 1.684 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05019/0.4943, allocations: 15.9 MB / 0.6097 GB, free: 1.895 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.92, allocations: 4.062 kB / 0.6097 GB, free: 1.891 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.mat","/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.881567243020982]