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.001343/0.001343, allocations: 108.3 kB / 20.48 MB, free: 0.9805 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.001407/0.001407, allocations: 218.5 kB / 23.78 MB, free: 4.215 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.491/1.491, allocations: 230.5 MB / 257.5 MB, free: 7.723 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.2348/0.2348, allocations: 46.94 MB / 360.9 MB, free: 3.867 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.00238/0.00238, allocations: 79.86 kB / 0.4962 GB, free: 7.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.332, allocations: 66.09 MB / 0.5608 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01628/0.3483, allocations: 11.46 MB / 0.572 GB, free: 8.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.3498, allocations: 1.234 MB / 0.5732 GB, free: 7.242 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.674e-05/0.3499, allocations: 4 kB / 0.5732 GB, free: 7.238 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001772/0.35, allocations: 35.81 kB / 0.5732 GB, free: 7.203 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005921/0.356, allocations: 2.205 MB / 0.5754 GB, free: 5 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.841e-06/0.356, allocations: 0 / 0.5754 GB, free: 5 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.3561, allocations: 35.75 kB / 0.5754 GB, free: 4.965 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.984e-05/0.3561, allocations: 4 kB / 0.5754 GB, free: 4.961 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.507e-05/0.3562, allocations: 19.86 kB / 0.5754 GB, free: 4.941 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.211e-05/0.3563, allocations: 15.92 kB / 0.5754 GB, free: 4.926 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.357e-06/0.3563, allocations: 0 / 0.5754 GB, free: 4.926 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006867/0.3631, allocations: 3.707 MB / 0.579 GB, free: 1.215 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.518e-05/0.3632, allocations: 0 / 0.579 GB, free: 1.215 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.578e-05/0.3632, allocations: 11.94 kB / 0.5791 GB, free: 1.203 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003304/0.3665, allocations: 1.976 MB / 0.581 GB, free: 15.22 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3665, allocations: 0 / 0.581 GB, free: 15.22 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3665, allocations: 0 / 0.581 GB, free: 15.22 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.3665, allocations: 4 kB / 0.581 GB, free: 15.22 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.001124/0.3676, allocations: 0.4966 MB / 0.5815 GB, free: 14.69 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.3677, allocations: 8.031 kB / 0.5815 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.284e-05/0.3677, allocations: 38.75 kB / 0.5815 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001429/0.3679, allocations: 12.88 kB / 0.5815 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.368, allocations: 106.5 kB / 0.5816 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.368, allocations: 4.375 kB / 0.5816 GB, free: 14.49 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.368, allocations: 8.312 kB / 0.5816 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002581/0.3683, allocations: 95.28 kB / 0.5817 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.3683, allocations: 0 / 0.5817 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.3683, allocations: 0 / 0.5817 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.3683, allocations: 8 kB / 0.5817 GB, free: 14.37 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/0.3685, allocations: 47.89 kB / 0.5818 GB, free: 14.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.0004787/0.3689, allocations: 332 kB / 0.5821 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.3691, allocations: 46.55 kB / 0.5822 GB, free: 13.9 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.538e-05/0.3691, allocations: 20.94 kB / 0.5822 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01987/0.389, allocations: 5.679 MB / 0.5877 GB, free: 8.188 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.861e-05/0.3891, allocations: 38.56 kB / 0.5878 GB, free: 8.141 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 2.394e-06/0.3891, allocations: 0 / 0.5878 GB, free: 8.141 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005234/0.3896, allocations: 105.5 kB / 0.5879 GB, free: 8.031 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.3896, allocations: 51.41 kB / 0.5879 GB, free: 7.969 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.839e-05/0.3897, allocations: 106 kB / 0.588 GB, free: 7.855 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.3898, allocations: 25.7 kB / 0.588 GB, free: 7.824 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.992e-05/0.3898, allocations: 88.08 kB / 0.5881 GB, free: 7.734 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.3898, allocations: 19.84 kB / 0.5881 GB, free: 7.715 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.647e-05/0.3899, allocations: 21.72 kB / 0.5882 GB, free: 7.688 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.39, allocations: 322.8 kB / 0.5885 GB, free: 7.363 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.308e-05/0.39, allocations: 8 kB / 0.5885 GB, free: 7.355 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.727e-05/0.3901, allocations: 22.58 kB / 0.5885 GB, free: 7.324 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.653e-05/0.3901, allocations: 42.5 kB / 0.5885 GB, free: 7.273 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3901, allocations: 0 / 0.5885 GB, free: 7.273 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001129/0.3903, allocations: 65.58 kB / 0.5886 GB, free: 7.203 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3903, allocations: 4 kB / 0.5886 GB, free: 7.199 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3903, allocations: 4.062 kB / 0.5886 GB, free: 7.195 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.3903, allocations: 4 kB / 0.5886 GB, free: 7.191 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.374e-05/0.3904, allocations: 11.94 kB / 0.5886 GB, free: 7.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.3904, allocations: 7.922 kB / 0.5886 GB, free: 7.172 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.957e-05/0.3904, allocations: 12.06 kB / 0.5886 GB, free: 7.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.3904, allocations: 4 kB / 0.5886 GB, free: 7.156 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.852e-05/0.3905, allocations: 109.8 kB / 0.5887 GB, free: 7.039 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.3905, allocations: 0 / 0.5887 GB, free: 7.039 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004726/0.391, allocations: 401.2 kB / 0.5891 GB, free: 6.637 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.391, allocations: 7.984 kB / 0.5891 GB, free: 6.629 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.391, allocations: 4 kB / 0.5891 GB, free: 6.625 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.391, allocations: 3.938 kB / 0.5891 GB, free: 6.621 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002969/0.3913, allocations: 253.4 kB / 0.5894 GB, free: 6.332 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.3913, allocations: 0 / 0.5894 GB, free: 6.332 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.853e-05/0.3914, allocations: 11.94 kB / 0.5894 GB, free: 6.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.3914, allocations: 4 kB / 0.5894 GB, free: 6.316 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.3914, allocations: 0 / 0.5894 GB, free: 6.316 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.3914, allocations: 3.984 kB / 0.5894 GB, free: 6.312 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3914, allocations: 0 / 0.5894 GB, free: 6.312 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003012/0.3917, allocations: 294 kB / 0.5897 GB, free: 6.008 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.361e-05/0.3917, allocations: 19.83 kB / 0.5897 GB, free: 5.988 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.3917, allocations: 3.938 kB / 0.5897 GB, free: 5.984 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.902e-05/0.3918, allocations: 4 kB / 0.5897 GB, free: 5.98 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.688e-05/0.3918, allocations: 4 kB / 0.5897 GB, free: 5.977 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.3918, allocations: 3.938 kB / 0.5897 GB, free: 5.973 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.406e-05/0.3919, allocations: 83.27 kB / 0.5898 GB, free: 5.891 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3919, allocations: 0 / 0.5898 GB, free: 5.891 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001307/0.3932, allocations: 447.4 kB / 0.5902 GB, free: 5.453 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.002274/0.3954, allocations: 1.293 MB / 0.5915 GB, free: 4.137 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001771/0.3956, allocations: 91.84 kB / 0.5916 GB, free: 4.047 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3956, allocations: 0 / 0.5916 GB, free: 4.047 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.307e-05/0.3957, allocations: 64.17 kB / 0.5916 GB, free: 3.984 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.396, allocations: 16.05 kB / 0.5916 GB, free: 3.969 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.3971, allocations: 478 kB / 0.5921 GB, free: 3.457 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.969e-05/0.3972, allocations: 97.91 kB / 0.5922 GB, free: 3.34 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.221e-05/0.3973, allocations: 23.95 kB / 0.5922 GB, free: 3.316 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.099e-05/0.3973, allocations: 28.48 kB / 0.5922 GB, free: 3.289 MB / 430.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3973, allocations: 4 kB / 0.5923 GB, free: 3.285 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04824/0.4456, allocations: 16.24 MB / 0.6081 GB, free: 3.133 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.94, allocations: 15.59 kB / 0.6081 GB, free: 3.121 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 & 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.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: 15.007945083023515]