Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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: translateModel(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") translateModel(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001253/0.001253, allocations: 113.7 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001416/0.001416, allocations: 210.7 kB / 19.4 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 247.6 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3182/0.3182, allocations: 46.11 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 75.88 kB / 482 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4115/0.4131, allocations: 62.44 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03615/0.4493, allocations: 26.92 MB / 0.558 GB, free: 6.742 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003806/0.4531, allocations: 2.959 MB / 0.5609 GB, free: 3.773 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001577/0.4533, allocations: 0 / 0.5609 GB, free: 3.773 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003761/0.4538, allocations: 51.66 kB / 0.5609 GB, free: 3.723 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002278/0.4561, allocations: 0.7265 MB / 0.5616 GB, free: 2.992 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003791/0.4564, allocations: 135 kB / 0.5618 GB, free: 2.863 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006257/0.4571, allocations: 378.1 kB / 0.5621 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.118e-05/0.4572, allocations: 13.69 kB / 0.5621 GB, free: 2.48 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0425/0.4997, allocations: 15.5 MB / 0.5773 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004125/0.5001, allocations: 155.4 kB / 0.5774 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.097e-05/0.5002, allocations: 8 kB / 0.5774 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009418/0.5096, allocations: 3.436 MB / 0.5808 GB, free: 15.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.5098, allocations: 39.83 kB / 0.5808 GB, free: 15.19 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001782/0.5099, allocations: 103.5 kB / 0.5809 GB, free: 15.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.511, allocations: 482.8 kB / 0.5814 GB, free: 14.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.5111, allocations: 0 / 0.5814 GB, free: 14.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5111, allocations: 0 / 0.5814 GB, free: 14.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.5111, allocations: 0 / 0.5814 GB, free: 14.61 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001228/0.5123, allocations: 0.5892 MB / 0.582 GB, free: 13.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.5124, allocations: 12.02 kB / 0.582 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001757/0.5126, allocations: 28.66 kB / 0.582 GB, free: 13.94 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003499/0.5129, allocations: 232 kB / 0.5822 GB, free: 13.67 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001281/0.513, allocations: 119.9 kB / 0.5823 GB, free: 13.53 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.617e-05/0.5131, allocations: 32.05 kB / 0.5824 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005192/0.5136, allocations: 327.6 kB / 0.5827 GB, free: 13.15 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.5136, allocations: 0 / 0.5827 GB, free: 13.15 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.336e-05/0.5137, allocations: 12 kB / 0.5827 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.5137, allocations: 4 kB / 0.5827 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000778/0.5145, allocations: 0.743 MB / 0.5834 GB, free: 12.39 MB / 446.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.001508/0.516, allocations: 1.3 MB / 0.5847 GB, free: 10.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003859/0.5164, allocations: 163.7 kB / 0.5848 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/0.5166, allocations: 81.48 kB / 0.5849 GB, free: 10.72 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002745/0.5193, allocations: 2.81 MB / 0.5877 GB, free: 7.383 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.447e-05/0.5194, allocations: 46.48 kB / 0.5877 GB, free: 7.328 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/0.5194, allocations: 0 / 0.5877 GB, free: 7.328 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003503/0.5198, allocations: 113.7 kB / 0.5878 GB, free: 7.211 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.5198, allocations: 55.41 kB / 0.5879 GB, free: 7.145 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002207/0.52, allocations: 216.1 kB / 0.5881 GB, free: 6.922 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.459e-05/0.5201, allocations: 25.7 kB / 0.5881 GB, free: 6.891 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.5202, allocations: 218.6 kB / 0.5883 GB, free: 6.672 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.632e-05/0.5203, allocations: 51.42 kB / 0.5884 GB, free: 6.621 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.5204, allocations: 85.97 kB / 0.5884 GB, free: 6.531 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.5205, allocations: 326.8 kB / 0.5887 GB, free: 6.203 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.53e-05/0.5206, allocations: 44.84 kB / 0.5888 GB, free: 6.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003235/0.521, allocations: 355.2 kB / 0.5891 GB, free: 5.664 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004978/0.5215, allocations: 444.6 kB / 0.5895 GB, free: 5.082 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.5215, allocations: 4 kB / 0.5896 GB, free: 5.078 MB / 446.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005767/0.5221, allocations: 385.6 kB / 0.5899 GB, free: 4.695 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.881e-05/0.5221, allocations: 12.19 kB / 0.5899 GB, free: 4.684 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-05/0.5221, allocations: 16 kB / 0.5899 GB, free: 4.668 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.223e-05/0.5222, allocations: 15.94 kB / 0.59 GB, free: 4.652 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00026/0.5225, allocations: 95.83 kB / 0.5901 GB, free: 4.559 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.61e-05/0.5225, allocations: 27.86 kB / 0.5901 GB, free: 4.531 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002447/0.5227, allocations: 47.53 kB / 0.5901 GB, free: 4.484 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.5228, allocations: 31.98 kB / 0.5902 GB, free: 4.453 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * 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.0001476/0.5229, allocations: 145.6 kB / 0.5903 GB, free: 4.301 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.231e-05/0.523, allocations: 19.81 kB / 0.5903 GB, free: 4.281 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002964/0.5233, allocations: 156.5 kB / 0.5905 GB, free: 4.117 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.5233, allocations: 0 / 0.5905 GB, free: 4.117 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.5233, allocations: 0 / 0.5905 GB, free: 4.117 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.5233, allocations: 0 / 0.5905 GB, free: 4.117 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005155/0.5239, allocations: 416.8 kB / 0.5909 GB, free: 3.645 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.5239, allocations: 0 / 0.5909 GB, free: 3.645 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-05/0.5239, allocations: 15.98 kB / 0.5909 GB, free: 3.629 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.5239, allocations: 0 / 0.5909 GB, free: 3.629 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.524, allocations: 4 kB / 0.5909 GB, free: 3.625 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.524, allocations: 0 / 0.5909 GB, free: 3.625 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.524, allocations: 4 kB / 0.5909 GB, free: 3.621 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/0.5242, allocations: 209.8 kB / 0.5911 GB, free: 3.391 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.817e-05/0.5243, allocations: 104.8 kB / 0.5912 GB, free: 3.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/0.5244, allocations: 0 / 0.5912 GB, free: 3.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.5245, allocations: 8.172 kB / 0.5912 GB, free: 3.262 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.899e-05/0.5245, allocations: 11.94 kB / 0.5912 GB, free: 3.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.5246, allocations: 11.94 kB / 0.5912 GB, free: 3.238 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001392/0.5247, allocations: 152.5 kB / 0.5914 GB, free: 3.094 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5247, allocations: 0 / 0.5914 GB, free: 3.094 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005123/0.5252, allocations: 99.83 kB / 0.5915 GB, free: 2.996 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0003018/0.5255, allocations: 155.2 kB / 0.5916 GB, free: 2.836 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003238/0.5259, allocations: 170 kB / 0.5918 GB, free: 2.672 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.5259, allocations: 3.938 kB / 0.5918 GB, free: 2.668 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.203e-05/0.5259, allocations: 28.55 kB / 0.5918 GB, free: 2.641 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004533/0.5264, allocations: 48.45 kB / 0.5918 GB, free: 2.594 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.5275, allocations: 0.5558 MB / 0.5924 GB, free: 1.996 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.5278, allocations: 0.7206 MB / 0.5931 GB, free: 1.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.481e-05/0.5279, allocations: 31.44 kB / 0.5931 GB, free: 1.219 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.5279, allocations: 4 kB / 0.5931 GB, free: 1.215 MB / 446.1 MB Notification: Performance of Templates: time 0.006841/0.5347, allocations: 3.361 MB / 0.5964 GB, free: 13.86 MB / 462.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches