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: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001276/0.001276, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001548/0.001548, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 227.4 MB / 247 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2382/0.2382, allocations: 46.13 MB / 344.4 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002324/0.002324, allocations: 79.86 kB / 480.9 MB, free: 4.422 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3683, allocations: 62.45 MB / 0.5307 GB, free: 13.33 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03731/0.4057, allocations: 26.93 MB / 0.557 GB, free: 6.625 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003683/0.4094, allocations: 2.944 MB / 0.5598 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.675e-05/0.4095, allocations: 3.938 kB / 0.5598 GB, free: 3.668 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002969/0.4099, allocations: 55.64 kB / 0.5599 GB, free: 3.613 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001853/0.4117, allocations: 0.7227 MB / 0.5606 GB, free: 2.887 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003715/0.4121, allocations: 137.8 kB / 0.5607 GB, free: 2.758 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005678/0.4127, allocations: 378.1 kB / 0.5611 GB, free: 2.387 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.411e-05/0.4128, allocations: 13.69 kB / 0.5611 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04379/0.4565, allocations: 15.49 MB / 0.5762 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004327/0.457, allocations: 147.4 kB / 0.5764 GB, free: 2.613 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.156e-05/0.4571, allocations: 8 kB / 0.5764 GB, free: 2.605 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009635/0.4667, allocations: 3.444 MB / 0.5797 GB, free: 15.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.4669, allocations: 51.73 kB / 0.5798 GB, free: 15.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001698/0.4671, allocations: 107.5 kB / 0.5799 GB, free: 14.97 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001038/0.4681, allocations: 470.5 kB / 0.5803 GB, free: 14.51 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4681, allocations: 3.938 kB / 0.5803 GB, free: 14.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4681, allocations: 0 / 0.5803 GB, free: 14.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.4682, allocations: 0 / 0.5803 GB, free: 14.5 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.001236/0.4694, allocations: 0.6039 MB / 0.5809 GB, free: 13.85 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.4695, allocations: 12.03 kB / 0.5809 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.027e-05/0.4695, allocations: 54.73 kB / 0.581 GB, free: 13.78 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001996/0.4697, allocations: 32.78 kB / 0.581 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/0.4701, allocations: 228 kB / 0.5812 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001477/0.4703, allocations: 127.9 kB / 0.5814 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.878e-05/0.4703, allocations: 27.92 kB / 0.5814 GB, free: 13.31 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005543/0.4709, allocations: 323.6 kB / 0.5817 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.4709, allocations: 0 / 0.5817 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.204e-05/0.4709, allocations: 16 kB / 0.5817 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.289e-05/0.471, allocations: 8 kB / 0.5817 GB, free: 12.94 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009021/0.4719, allocations: 0.7352 MB / 0.5824 GB, free: 12.21 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.001698/0.4736, allocations: 1.304 MB / 0.5837 GB, free: 10.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003948/0.474, allocations: 159.7 kB / 0.5839 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.4741, allocations: 93.42 kB / 0.584 GB, free: 10.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002944/0.4771, allocations: 2.81 MB / 0.5867 GB, free: 7.184 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.4771, allocations: 34.5 kB / 0.5867 GB, free: 7.141 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.874e-06/0.4772, allocations: 0 / 0.5867 GB, free: 7.141 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.000358/0.4775, allocations: 117.5 kB / 0.5868 GB, free: 7.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.4776, allocations: 51.41 kB / 0.5869 GB, free: 6.957 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.4778, allocations: 227.5 kB / 0.5871 GB, free: 6.723 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.4778, allocations: 29.7 kB / 0.5871 GB, free: 6.688 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.478, allocations: 227.3 kB / 0.5874 GB, free: 6.461 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.605e-05/0.478, allocations: 43.67 kB / 0.5874 GB, free: 6.418 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.4781, allocations: 86.05 kB / 0.5875 GB, free: 6.328 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.4783, allocations: 334.8 kB / 0.5878 GB, free: 5.992 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.255e-05/0.4784, allocations: 44.84 kB / 0.5878 GB, free: 5.949 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000331/0.4787, allocations: 351.2 kB / 0.5882 GB, free: 5.461 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004691/0.4792, allocations: 444.6 kB / 0.5886 GB, free: 4.879 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.4792, allocations: 4 kB / 0.5886 GB, free: 4.875 MB / 446.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005641/0.4798, allocations: 381.7 kB / 0.589 GB, free: 4.496 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.4798, allocations: 8 kB / 0.589 GB, free: 4.488 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.4798, allocations: 15.94 kB / 0.589 GB, free: 4.473 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.593e-05/0.4798, allocations: 12 kB / 0.589 GB, free: 4.461 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.4801, allocations: 99.83 kB / 0.5891 GB, free: 4.363 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.303e-05/0.4801, allocations: 19.88 kB / 0.5891 GB, free: 4.344 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/0.4804, allocations: 59.56 kB / 0.5892 GB, free: 4.285 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.916e-05/0.4804, allocations: 31.98 kB / 0.5892 GB, free: 4.254 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.0001505/0.4806, allocations: 149.9 kB / 0.5893 GB, free: 4.098 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.902e-05/0.4806, allocations: 23.8 kB / 0.5894 GB, free: 4.074 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002915/0.4809, allocations: 148.8 kB / 0.5895 GB, free: 3.918 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.481, allocations: 7.984 kB / 0.5895 GB, free: 3.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.481, allocations: 4 kB / 0.5895 GB, free: 3.906 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.481, allocations: 0 / 0.5895 GB, free: 3.906 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005381/0.4815, allocations: 400.9 kB / 0.5899 GB, free: 3.449 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.4815, allocations: 4 kB / 0.5899 GB, free: 3.445 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.878e-05/0.4816, allocations: 15.98 kB / 0.5899 GB, free: 3.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.4816, allocations: 4 kB / 0.5899 GB, free: 3.426 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/0.4816, allocations: 4.094 kB / 0.5899 GB, free: 3.422 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.4816, allocations: 4 kB / 0.5899 GB, free: 3.418 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4817, allocations: 0 / 0.5899 GB, free: 3.418 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002154/0.4819, allocations: 205.9 kB / 0.5901 GB, free: 3.191 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.258e-05/0.482, allocations: 97 kB / 0.5902 GB, free: 3.078 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.739e-05/0.482, allocations: 11.94 kB / 0.5902 GB, free: 3.066 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.4822, allocations: 7.984 kB / 0.5902 GB, free: 3.059 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.49e-05/0.4822, allocations: 7.938 kB / 0.5903 GB, free: 3.051 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.4822, allocations: 4 kB / 0.5903 GB, free: 3.047 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001397/0.4824, allocations: 156.5 kB / 0.5904 GB, free: 2.895 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4824, allocations: 0 / 0.5904 GB, free: 2.895 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004872/0.4829, allocations: 103.8 kB / 0.5905 GB, free: 2.793 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.000739/0.4836, allocations: 0.8008 MB / 0.5913 GB, free: 1.957 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003083/0.4839, allocations: 170.1 kB / 0.5914 GB, free: 1.793 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.4839, allocations: 3.938 kB / 0.5915 GB, free: 1.789 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.734e-05/0.484, allocations: 24 kB / 0.5915 GB, free: 1.766 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004361/0.4845, allocations: 45.7 kB / 0.5915 GB, free: 1.727 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003258/0.4877, allocations: 2.817 MB / 0.5943 GB, free: 14.52 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.4881, allocations: 0.7285 MB / 0.595 GB, free: 13.76 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001877/0.4883, allocations: 54.91 kB / 0.595 GB, free: 13.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.184e-05/0.4884, allocations: 63.41 kB / 0.5951 GB, free: 13.64 MB / 462.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4884, allocations: 0 / 0.5951 GB, free: 13.64 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02835/0.5168, allocations: 5.234 MB / 0.6002 GB, free: 8.531 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.246/8.763, allocations: 10.47 kB / 0.6002 GB, free: 8.527 MB / 462.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > 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