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.001246/0.001246, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.00135/0.00135, allocations: 213.1 kB / 24.54 MB, free: 4.016 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.438/1.438, allocations: 230.3 MB / 258 MB, free: 8.254 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.2276/0.2276, allocations: 46.89 MB / 361.3 MB, free: 4.438 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.002208/0.002208, allocations: 71.88 kB / 0.4966 GB, free: 8.094 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.341, allocations: 66.03 MB / 0.561 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.0186/0.3596, allocations: 12.6 MB / 0.5733 GB, free: 8.027 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001634/0.3612, allocations: 1.417 MB / 0.5747 GB, free: 6.605 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.326e-05/0.3612, allocations: 0 / 0.5747 GB, free: 6.605 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001747/0.3614, allocations: 31.8 kB / 0.5748 GB, free: 6.574 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0057/0.3671, allocations: 2.237 MB / 0.5769 GB, free: 4.336 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.099e-06/0.3671, allocations: 0 / 0.5769 GB, free: 4.336 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 9.423e-05/0.3672, allocations: 39.67 kB / 0.577 GB, free: 4.297 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.518e-05/0.3673, allocations: 4 kB / 0.577 GB, free: 4.293 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.066e-05/0.3673, allocations: 19.92 kB / 0.577 GB, free: 4.273 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.645e-05/0.3674, allocations: 11.94 kB / 0.577 GB, free: 4.262 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.383e-06/0.3674, allocations: 0 / 0.577 GB, free: 4.262 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006783/0.3742, allocations: 3.855 MB / 0.5808 GB, free: 412 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.923e-05/0.3742, allocations: 7.984 kB / 0.5808 GB, free: 404 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.27e-05/0.3742, allocations: 15.88 kB / 0.5808 GB, free: 388 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003239/0.3775, allocations: 1.973 MB / 0.5827 GB, free: 14.4 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.3775, allocations: 0 / 0.5827 GB, free: 14.4 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3775, allocations: 0 / 0.5827 GB, free: 14.4 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.3775, allocations: 0 / 0.5827 GB, free: 14.4 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.001222/0.3787, allocations: 0.572 MB / 0.5833 GB, free: 13.78 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.3788, allocations: 16.03 kB / 0.5833 GB, free: 13.77 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.835e-05/0.3788, allocations: 34.73 kB / 0.5833 GB, free: 13.72 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/0.3789, allocations: 12.89 kB / 0.5833 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.3791, allocations: 172.3 kB / 0.5835 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-06/0.3791, allocations: 384 / 0.5835 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.3791, allocations: 4.375 kB / 0.5835 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002746/0.3794, allocations: 87.31 kB / 0.5836 GB, free: 13.4 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3794, allocations: 0 / 0.5836 GB, free: 13.4 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.3794, allocations: 4 kB / 0.5836 GB, free: 13.4 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.3794, allocations: 0 / 0.5836 GB, free: 13.4 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.3796, allocations: 51.89 kB / 0.5837 GB, free: 13.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.000514/0.3801, allocations: 361 kB / 0.584 GB, free: 12.94 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.3803, allocations: 54.53 kB / 0.584 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.057e-05/0.3803, allocations: 12.8 kB / 0.5841 GB, free: 12.86 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02215/0.4025, allocations: 10.44 MB / 0.5943 GB, free: 1.238 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.4025, allocations: 34.56 kB / 0.5943 GB, free: 1.195 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.843e-06/0.4025, allocations: 3.938 kB / 0.5943 GB, free: 1.191 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004901/0.403, allocations: 101.6 kB / 0.5944 GB, free: 1.086 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.403, allocations: 55.41 kB / 0.5944 GB, free: 1.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.138e-05/0.4031, allocations: 101.8 kB / 0.5945 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.4032, allocations: 25.7 kB / 0.5946 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.439e-05/0.4032, allocations: 88.09 kB / 0.5946 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.4032, allocations: 15.84 kB / 0.5947 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/0.4033, allocations: 21.7 kB / 0.5947 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.4034, allocations: 318.7 kB / 0.595 GB, free: 436 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.039e-05/0.4035, allocations: 12 kB / 0.595 GB, free: 424 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.093e-05/0.4035, allocations: 34.5 kB / 0.595 GB, free: 380 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.875e-05/0.4036, allocations: 30.95 kB / 0.5951 GB, free: 340 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.4036, allocations: 0 / 0.5951 GB, free: 340 kB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001097/0.4037, allocations: 65.61 kB / 0.5951 GB, free: 268 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.4037, allocations: 12.06 kB / 0.5951 GB, free: 256 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.4037, allocations: 3.984 kB / 0.5951 GB, free: 252 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.4037, allocations: 0 / 0.5951 GB, free: 252 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.627e-05/0.4038, allocations: 15.94 kB / 0.5951 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.4038, allocations: 4 kB / 0.5952 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.387e-05/0.4038, allocations: 7.891 kB / 0.5952 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.4038, allocations: 4 kB / 0.5952 GB, free: 220 kB / 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.364e-05/0.4039, allocations: 109.8 kB / 0.5953 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.404, allocations: 4 kB / 0.5953 GB, free: 96 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004815/0.4044, allocations: 395.1 kB / 0.5956 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.4045, allocations: 7.984 kB / 0.5957 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.4045, allocations: 0 / 0.5957 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.4045, allocations: 3.938 kB / 0.5957 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000312/0.4048, allocations: 290.4 kB / 0.5959 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.4048, allocations: 4 kB / 0.5959 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.002e-05/0.4048, allocations: 4 kB / 0.5959 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.4048, allocations: 0 / 0.5959 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-06/0.4048, allocations: 0 / 0.5959 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.4048, allocations: 8 kB / 0.596 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4048, allocations: 0 / 0.596 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/0.4051, allocations: 293.7 kB / 0.5962 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/0.4052, allocations: 92.95 kB / 0.5963 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.4052, allocations: 0 / 0.5963 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.962e-05/0.4052, allocations: 4 kB / 0.5963 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.15e-05/0.4053, allocations: 3.938 kB / 0.5963 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.4053, allocations: 7.938 kB / 0.5963 GB, free: 14.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.625e-05/0.4053, allocations: 87.27 kB / 0.5964 GB, free: 14.83 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4053, allocations: 0 / 0.5964 GB, free: 14.83 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00131/0.4066, allocations: 455.2 kB / 0.5969 GB, free: 14.38 MB / 446.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.002306/0.4089, allocations: 1.279 MB / 0.5981 GB, free: 13.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001816/0.4091, allocations: 91.83 kB / 0.5982 GB, free: 12.99 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4091, allocations: 0 / 0.5982 GB, free: 12.99 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.889e-05/0.4092, allocations: 63.98 kB / 0.5983 GB, free: 12.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.4095, allocations: 19.98 kB / 0.5983 GB, free: 12.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.4106, allocations: 481.9 kB / 0.5987 GB, free: 12.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.411, allocations: 0.7086 MB / 0.5994 GB, free: 11.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.622e-05/0.4111, allocations: 27.95 kB / 0.5994 GB, free: 11.63 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.091e-05/0.4111, allocations: 31.44 kB / 0.5995 GB, free: 11.6 MB / 446.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4111, allocations: 0 / 0.5995 GB, free: 11.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04633/0.4575, allocations: 15.8 MB / 0.6149 GB, free: 11.85 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.324/8.781, allocations: 6.875 kB / 0.6149 GB, free: 11.84 MB / 462.1 MB " [Timeout remaining time 651] (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.0.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: 11.815415838034824]