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.001711/0.001711, allocations: 114 kB / 20.44 MB, free: 1.469 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.002201/0.002201, allocations: 214 kB / 23.74 MB, free: 4.695 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.469/1.469, allocations: 230.5 MB / 257.4 MB, free: 8.016 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.253/0.253, allocations: 46.92 MB / 360.8 MB, free: 4.203 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.002289/0.002289, allocations: 79.88 kB / 0.4962 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.33, allocations: 66.08 MB / 0.5607 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01802/0.348, allocations: 12.6 MB / 0.573 GB, free: 7.668 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001641/0.3496, allocations: 1.401 MB / 0.5744 GB, free: 6.262 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.097e-05/0.3497, allocations: 7.938 kB / 0.5744 GB, free: 6.254 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000171/0.3498, allocations: 35.8 kB / 0.5744 GB, free: 6.219 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005556/0.3554, allocations: 2.231 MB / 0.5766 GB, free: 3.988 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.13e-06/0.3554, allocations: 0 / 0.5766 GB, free: 3.988 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 8.952e-05/0.3555, allocations: 39.67 kB / 0.5767 GB, free: 3.949 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.643e-05/0.3555, allocations: 0 / 0.5767 GB, free: 3.949 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.813e-05/0.3556, allocations: 19.97 kB / 0.5767 GB, free: 3.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.689e-05/0.3556, allocations: 11.94 kB / 0.5767 GB, free: 3.918 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.3557, allocations: 4 kB / 0.5767 GB, free: 3.914 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006717/0.3624, allocations: 3.858 MB / 0.5805 GB, free: 56 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.545e-05/0.3624, allocations: 3.984 kB / 0.5805 GB, free: 52 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.16e-05/0.3624, allocations: 15.88 kB / 0.5805 GB, free: 36 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003043/0.3655, allocations: 1.98 MB / 0.5824 GB, free: 14.05 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3655, allocations: 0 / 0.5824 GB, free: 14.05 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3655, allocations: 3.938 kB / 0.5824 GB, free: 14.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.774e-06/0.3655, allocations: 0 / 0.5824 GB, free: 14.05 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.001152/0.3666, allocations: 0.4967 MB / 0.5829 GB, free: 13.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.3667, allocations: 8.031 kB / 0.5829 GB, free: 13.51 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.695e-05/0.3667, allocations: 38.73 kB / 0.5829 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.3669, allocations: 12.89 kB / 0.583 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.367, allocations: 106.5 kB / 0.5831 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-06/0.367, allocations: 384 / 0.5831 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.367, allocations: 8.359 kB / 0.5831 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002612/0.3673, allocations: 99.23 kB / 0.5832 GB, free: 13.21 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.3673, allocations: 0 / 0.5832 GB, free: 13.21 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.525e-06/0.3673, allocations: 3.938 kB / 0.5832 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3673, allocations: 0 / 0.5832 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001702/0.3675, allocations: 51.95 kB / 0.5832 GB, free: 13.15 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.0004704/0.3679, allocations: 332 kB / 0.5835 GB, free: 12.78 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.3681, allocations: 54.55 kB / 0.5836 GB, free: 12.72 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.592e-05/0.3681, allocations: 16.94 kB / 0.5836 GB, free: 12.7 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01978/0.3879, allocations: 5.652 MB / 0.5891 GB, free: 7.039 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.608e-05/0.388, allocations: 34.56 kB / 0.5891 GB, free: 6.996 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 2.254e-06/0.388, allocations: 0 / 0.5891 GB, free: 6.996 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005015/0.3885, allocations: 109.6 kB / 0.5893 GB, free: 6.883 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.3885, allocations: 51.41 kB / 0.5893 GB, free: 6.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.3886, allocations: 97.98 kB / 0.5894 GB, free: 6.715 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.3886, allocations: 33.69 kB / 0.5894 GB, free: 6.676 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.655e-05/0.3887, allocations: 88.09 kB / 0.5895 GB, free: 6.586 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.526e-05/0.3887, allocations: 11.84 kB / 0.5895 GB, free: 6.574 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.975e-05/0.3888, allocations: 21.72 kB / 0.5895 GB, free: 6.547 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.3889, allocations: 326.8 kB / 0.5899 GB, free: 6.219 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.406e-05/0.389, allocations: 4 kB / 0.5899 GB, free: 6.215 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.227e-05/0.389, allocations: 30.56 kB / 0.5899 GB, free: 6.176 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.73e-05/0.3891, allocations: 42.69 kB / 0.5899 GB, free: 6.125 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.3891, allocations: 0 / 0.5899 GB, free: 6.125 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001275/0.3892, allocations: 65.75 kB / 0.59 GB, free: 6.055 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.3892, allocations: 6.344 kB / 0.59 GB, free: 6.051 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.3892, allocations: 4 kB / 0.59 GB, free: 6.047 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.3892, allocations: 4 kB / 0.59 GB, free: 6.043 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.192e-05/0.3893, allocations: 11.98 kB / 0.59 GB, free: 6.031 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.3893, allocations: 0 / 0.59 GB, free: 6.031 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.836e-05/0.3894, allocations: 11.89 kB / 0.59 GB, free: 6.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.3894, allocations: 3.984 kB / 0.59 GB, free: 6.016 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.0001073/0.3895, allocations: 121.8 kB / 0.5901 GB, free: 5.887 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.3895, allocations: 0 / 0.5901 GB, free: 5.887 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004917/0.39, allocations: 395.1 kB / 0.5905 GB, free: 5.492 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.39, allocations: 3.984 kB / 0.5905 GB, free: 5.488 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.39, allocations: 0 / 0.5905 GB, free: 5.488 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.39, allocations: 3.938 kB / 0.5905 GB, free: 5.484 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003096/0.3903, allocations: 261.2 kB / 0.5908 GB, free: 5.188 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.3903, allocations: 0 / 0.5908 GB, free: 5.188 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.264e-05/0.3904, allocations: 8 kB / 0.5908 GB, free: 5.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3904, allocations: 4 kB / 0.5908 GB, free: 5.176 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.3904, allocations: 0 / 0.5908 GB, free: 5.176 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3904, allocations: 0 / 0.5908 GB, free: 5.176 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3904, allocations: 0 / 0.5908 GB, free: 5.176 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003024/0.3907, allocations: 297.6 kB / 0.5911 GB, free: 4.871 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.444e-05/0.3907, allocations: 23.84 kB / 0.5911 GB, free: 4.848 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.3907, allocations: 4 kB / 0.5911 GB, free: 4.844 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.022e-05/0.3908, allocations: 3.984 kB / 0.5911 GB, free: 4.84 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.3908, allocations: 4 kB / 0.5911 GB, free: 4.836 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.3908, allocations: 3.938 kB / 0.5911 GB, free: 4.832 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.764e-05/0.3909, allocations: 83.28 kB / 0.5912 GB, free: 4.75 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3909, allocations: 0 / 0.5912 GB, free: 4.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001389/0.3922, allocations: 451.3 kB / 0.5916 GB, free: 4.309 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.002388/0.3946, allocations: 1.289 MB / 0.5929 GB, free: 2.992 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001789/0.3948, allocations: 83.91 kB / 0.593 GB, free: 2.91 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3948, allocations: 3.938 kB / 0.593 GB, free: 2.906 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.916e-05/0.3949, allocations: 71.91 kB / 0.593 GB, free: 2.836 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.3952, allocations: 24 kB / 0.5931 GB, free: 2.812 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.3963, allocations: 466 kB / 0.5935 GB, free: 2.312 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004359/0.3967, allocations: 0.7086 MB / 0.5942 GB, free: 1.578 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.76e-05/0.3968, allocations: 31.84 kB / 0.5942 GB, free: 1.547 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.593e-05/0.3969, allocations: 35.42 kB / 0.5943 GB, free: 1.512 MB / 430.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3969, allocations: 0 / 0.5943 GB, free: 1.512 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05065/0.4475, allocations: 15.9 MB / 0.6098 GB, free: 1.695 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.87, allocations: 4 kB / 0.6098 GB, free: 1.691 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.993794468929991]