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.001676/0.001676, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002308/0.002308, allocations: 215.4 kB / 23.73 MB, free: 4.406 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.56/1.56, allocations: 230.5 MB / 257.4 MB, free: 7.746 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.2387/0.2387, allocations: 46.95 MB / 360.8 MB, free: 3.914 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.002744/0.002744, allocations: 79.88 kB / 0.4961 GB, free: 7.551 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.3997, allocations: 66.09 MB / 0.5607 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01831/0.4181, allocations: 11.46 MB / 0.5719 GB, free: 8.492 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001664/0.4197, allocations: 1.222 MB / 0.5731 GB, free: 7.266 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.56e-05/0.4198, allocations: 0 / 0.5731 GB, free: 7.266 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002453/0.42, allocations: 31.81 kB / 0.5731 GB, free: 7.234 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007467/0.4275, allocations: 2.213 MB / 0.5753 GB, free: 5.023 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.25e-06/0.4275, allocations: 0 / 0.5753 GB, free: 5.023 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.4276, allocations: 35.75 kB / 0.5753 GB, free: 4.988 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.425e-05/0.4276, allocations: 11.97 kB / 0.5753 GB, free: 4.977 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.4277, allocations: 11.94 kB / 0.5753 GB, free: 4.965 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.271e-05/0.4278, allocations: 11.94 kB / 0.5753 GB, free: 4.953 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.021e-05/0.4278, allocations: 0 / 0.5753 GB, free: 4.953 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007934/0.4357, allocations: 3.707 MB / 0.5789 GB, free: 1.242 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.944e-05/0.4358, allocations: 4 kB / 0.5789 GB, free: 1.238 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.251e-05/0.4359, allocations: 19.92 kB / 0.579 GB, free: 1.219 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005374/0.4412, allocations: 1.969 MB / 0.5809 GB, free: 15.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.4412, allocations: 0 / 0.5809 GB, free: 15.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.627e-06/0.4412, allocations: 0 / 0.5809 GB, free: 15.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.4413, allocations: 0 / 0.5809 GB, free: 15.25 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.001399/0.4427, allocations: 0.5005 MB / 0.5814 GB, free: 14.71 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.4427, allocations: 8.031 kB / 0.5814 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.478e-05/0.4427, allocations: 34.69 kB / 0.5814 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.4429, allocations: 24.81 kB / 0.5814 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.443, allocations: 106.5 kB / 0.5815 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.4431, allocations: 384 / 0.5815 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.4431, allocations: 4.375 kB / 0.5815 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003261/0.4434, allocations: 91.3 kB / 0.5816 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.4434, allocations: 0 / 0.5816 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.4434, allocations: 0 / 0.5816 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.4434, allocations: 4 kB / 0.5816 GB, free: 14.4 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001775/0.4436, allocations: 55.89 kB / 0.5817 GB, free: 14.35 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.0005454/0.4442, allocations: 332 kB / 0.582 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.4444, allocations: 54.48 kB / 0.5821 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.434e-05/0.4444, allocations: 12.94 kB / 0.5821 GB, free: 13.9 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02023/0.4646, allocations: 5.687 MB / 0.5876 GB, free: 8.203 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.021e-05/0.4647, allocations: 34.55 kB / 0.5877 GB, free: 8.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 4.83e-06/0.4647, allocations: 7.984 kB / 0.5877 GB, free: 8.152 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005506/0.4652, allocations: 97.62 kB / 0.5878 GB, free: 8.051 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.4653, allocations: 51.41 kB / 0.5878 GB, free: 7.988 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.4654, allocations: 101.9 kB / 0.5879 GB, free: 7.879 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.4654, allocations: 25.7 kB / 0.5879 GB, free: 7.848 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.608e-05/0.4655, allocations: 96.02 kB / 0.588 GB, free: 7.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.4655, allocations: 15.84 kB / 0.588 GB, free: 7.734 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.385e-05/0.4656, allocations: 17.72 kB / 0.5881 GB, free: 7.711 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.4657, allocations: 322.8 kB / 0.5884 GB, free: 7.387 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.646e-05/0.4658, allocations: 12 kB / 0.5884 GB, free: 7.375 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.278e-05/0.4658, allocations: 26.56 kB / 0.5884 GB, free: 7.34 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.862e-05/0.4659, allocations: 34.58 kB / 0.5884 GB, free: 7.297 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4659, allocations: 7.938 kB / 0.5884 GB, free: 7.289 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001086/0.466, allocations: 61.58 kB / 0.5885 GB, free: 7.223 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.466, allocations: 4 kB / 0.5885 GB, free: 7.219 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.466, allocations: 3.984 kB / 0.5885 GB, free: 7.215 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.466, allocations: 12 kB / 0.5885 GB, free: 7.203 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.101e-05/0.4661, allocations: 15.98 kB / 0.5885 GB, free: 7.188 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.4661, allocations: 0 / 0.5885 GB, free: 7.188 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.615e-05/0.4662, allocations: 7.938 kB / 0.5885 GB, free: 7.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.4662, allocations: 0 / 0.5885 GB, free: 7.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 0.0001173/0.4663, allocations: 113.8 kB / 0.5886 GB, free: 7.059 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.065e-05/0.4663, allocations: 0 / 0.5886 GB, free: 7.059 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005187/0.4668, allocations: 395 kB / 0.589 GB, free: 6.664 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.4669, allocations: 7.984 kB / 0.589 GB, free: 6.656 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.4669, allocations: 0 / 0.589 GB, free: 6.656 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.4669, allocations: 7.938 kB / 0.589 GB, free: 6.648 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003323/0.4672, allocations: 253.3 kB / 0.5893 GB, free: 6.359 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.4672, allocations: 3.938 kB / 0.5893 GB, free: 6.355 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.246e-05/0.4672, allocations: 7.984 kB / 0.5893 GB, free: 6.348 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.4672, allocations: 0 / 0.5893 GB, free: 6.348 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.4672, allocations: 4 kB / 0.5893 GB, free: 6.344 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4672, allocations: 0 / 0.5893 GB, free: 6.344 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.4672, allocations: 0 / 0.5893 GB, free: 6.344 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003337/0.4676, allocations: 297.6 kB / 0.5896 GB, free: 6.039 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.248e-05/0.4676, allocations: 20.08 kB / 0.5896 GB, free: 6.02 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.4676, allocations: 0 / 0.5896 GB, free: 6.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.65e-05/0.4677, allocations: 16 kB / 0.5896 GB, free: 6.004 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.742e-05/0.4677, allocations: 3.984 kB / 0.5896 GB, free: 6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.4677, allocations: 3.938 kB / 0.5896 GB, free: 5.996 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.106e-05/0.4678, allocations: 79.7 kB / 0.5897 GB, free: 5.918 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4678, allocations: 0 / 0.5897 GB, free: 5.918 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001514/0.4693, allocations: 447.4 kB / 0.5901 GB, free: 5.48 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.002464/0.4718, allocations: 1.29 MB / 0.5914 GB, free: 4.164 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002012/0.472, allocations: 87.84 kB / 0.5915 GB, free: 4.078 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.472, allocations: 0 / 0.5915 GB, free: 4.078 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.768e-05/0.4721, allocations: 67.92 kB / 0.5915 GB, free: 4.012 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.4724, allocations: 15.92 kB / 0.5916 GB, free: 3.996 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.4736, allocations: 478.1 kB / 0.592 GB, free: 3.484 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001448/0.4738, allocations: 101.7 kB / 0.5921 GB, free: 3.367 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.734e-05/0.4739, allocations: 19.97 kB / 0.5921 GB, free: 3.348 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.661e-05/0.4739, allocations: 31.42 kB / 0.5922 GB, free: 3.316 MB / 430.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4739, allocations: 0 / 0.5922 GB, free: 3.316 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05705/0.531, allocations: 16.17 MB / 0.6079 GB, free: 3.238 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.75, allocations: 3.938 kB / 0.6079 GB, free: 3.234 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.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_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.83030740590766]