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.001018/0.001018, allocations: 117.8 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001122/0.001122, allocations: 203.8 kB / 18.74 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2663/0.2663, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 71.88 kB / 480.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3959/0.3974, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03066/0.4281, allocations: 26.93 MB / 0.5568 GB, free: 6.77 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003292/0.4315, allocations: 2.951 MB / 0.5597 GB, free: 3.809 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001848/0.4317, allocations: 0 / 0.5597 GB, free: 3.809 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003211/0.4321, allocations: 51.66 kB / 0.5598 GB, free: 3.758 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001971/0.434, allocations: 0.7265 MB / 0.5605 GB, free: 3.027 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003654/0.4344, allocations: 133.4 kB / 0.5606 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006367/0.4351, allocations: 378.1 kB / 0.561 GB, free: 2.531 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.188e-05/0.4351, allocations: 21.67 kB / 0.561 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03698/0.4721, allocations: 15.49 MB / 0.5761 GB, free: 2.895 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004787/0.4726, allocations: 147.5 kB / 0.5763 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.223e-05/0.4727, allocations: 8 kB / 0.5763 GB, free: 2.742 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008342/0.4811, allocations: 3.444 MB / 0.5796 GB, free: 15.26 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.4812, allocations: 39.81 kB / 0.5797 GB, free: 15.22 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001883/0.4814, allocations: 111.5 kB / 0.5798 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001285/0.4827, allocations: 470.8 kB / 0.5802 GB, free: 14.65 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.4828, allocations: 0 / 0.5802 GB, free: 14.65 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.4828, allocations: 0 / 0.5802 GB, free: 14.65 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.327e-06/0.4828, allocations: 4 kB / 0.5802 GB, free: 14.65 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.001378/0.4842, allocations: 0.5931 MB / 0.5808 GB, free: 14.01 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.4842, allocations: 8.031 kB / 0.5808 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.738e-05/0.4843, allocations: 62.72 kB / 0.5809 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001909/0.4845, allocations: 28.66 kB / 0.5809 GB, free: 13.9 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003565/0.4849, allocations: 228 kB / 0.5811 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/0.485, allocations: 123.9 kB / 0.5812 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.983e-05/0.485, allocations: 35.88 kB / 0.5813 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005272/0.4856, allocations: 323.6 kB / 0.5816 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.4856, allocations: 0 / 0.5816 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.885e-05/0.4856, allocations: 12 kB / 0.5816 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.25e-05/0.4857, allocations: 8 kB / 0.5816 GB, free: 13.1 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007517/0.4864, allocations: 0.7429 MB / 0.5823 GB, free: 12.36 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.001411/0.4878, allocations: 1.3 MB / 0.5836 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003493/0.4882, allocations: 163.7 kB / 0.5837 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.4883, allocations: 89.42 kB / 0.5838 GB, free: 10.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002352/0.4907, allocations: 2.81 MB / 0.5866 GB, free: 7.336 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.4908, allocations: 38.56 kB / 0.5866 GB, free: 7.289 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.764e-06/0.4908, allocations: 0 / 0.5866 GB, free: 7.289 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002993/0.4911, allocations: 105.4 kB / 0.5867 GB, free: 7.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.4911, allocations: 59.41 kB / 0.5868 GB, free: 7.109 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.4913, allocations: 216.1 kB / 0.587 GB, free: 6.887 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.4913, allocations: 33.64 kB / 0.587 GB, free: 6.848 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.4915, allocations: 222.6 kB / 0.5872 GB, free: 6.625 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.4915, allocations: 51.38 kB / 0.5873 GB, free: 6.574 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.757e-05/0.4916, allocations: 82.03 kB / 0.5873 GB, free: 6.488 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.4917, allocations: 326.8 kB / 0.5877 GB, free: 6.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.893e-05/0.4918, allocations: 44.84 kB / 0.5877 GB, free: 6.117 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.4921, allocations: 347.2 kB / 0.588 GB, free: 5.633 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004126/0.4925, allocations: 444.6 kB / 0.5885 GB, free: 5.051 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.4925, allocations: 4 kB / 0.5885 GB, free: 5.047 MB / 446.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000554/0.493, allocations: 381.6 kB / 0.5888 GB, free: 4.668 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.4931, allocations: 12 kB / 0.5888 GB, free: 4.656 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/0.4931, allocations: 11.94 kB / 0.5888 GB, free: 4.645 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.704e-05/0.4931, allocations: 16 kB / 0.5889 GB, free: 4.629 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/0.4934, allocations: 99.77 kB / 0.589 GB, free: 4.531 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.05e-05/0.4934, allocations: 27.91 kB / 0.589 GB, free: 4.504 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.4936, allocations: 47.53 kB / 0.589 GB, free: 4.457 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.826e-05/0.4937, allocations: 32 kB / 0.5891 GB, free: 4.426 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.0001225/0.4938, allocations: 149.8 kB / 0.5892 GB, free: 4.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.985e-05/0.4938, allocations: 23.72 kB / 0.5892 GB, free: 4.246 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000256/0.4941, allocations: 140.9 kB / 0.5894 GB, free: 4.098 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.4941, allocations: 8 kB / 0.5894 GB, free: 4.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4941, allocations: 96 / 0.5894 GB, free: 4.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.4942, allocations: 3.938 kB / 0.5894 GB, free: 4.086 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004377/0.4946, allocations: 420.7 kB / 0.5898 GB, free: 3.609 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.4946, allocations: 0 / 0.5898 GB, free: 3.609 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.164e-05/0.4947, allocations: 20.05 kB / 0.5898 GB, free: 3.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.4947, allocations: 0 / 0.5898 GB, free: 3.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.4947, allocations: 8.094 kB / 0.5898 GB, free: 3.582 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4947, allocations: 0 / 0.5898 GB, free: 3.582 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4947, allocations: 0 / 0.5898 GB, free: 3.582 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.4949, allocations: 209.8 kB / 0.59 GB, free: 3.352 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.879e-05/0.495, allocations: 92.86 kB / 0.5901 GB, free: 3.242 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.991e-05/0.495, allocations: 12 kB / 0.5901 GB, free: 3.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.4952, allocations: 7.984 kB / 0.5901 GB, free: 3.223 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.657e-05/0.4952, allocations: 4 kB / 0.5901 GB, free: 3.219 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.4952, allocations: 7.984 kB / 0.5901 GB, free: 3.211 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001135/0.4953, allocations: 152.5 kB / 0.5903 GB, free: 3.062 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.342e-06/0.4953, allocations: 0 / 0.5903 GB, free: 3.062 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004748/0.4958, allocations: 103.8 kB / 0.5904 GB, free: 2.961 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.0005545/0.4964, allocations: 0.7928 MB / 0.5911 GB, free: 2.133 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002704/0.4967, allocations: 170.2 kB / 0.5913 GB, free: 1.969 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4967, allocations: 0 / 0.5913 GB, free: 1.969 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.66e-05/0.4967, allocations: 27.92 kB / 0.5913 GB, free: 1.941 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.4971, allocations: 51.08 kB / 0.5914 GB, free: 1.895 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002674/0.4998, allocations: 2.794 MB / 0.5941 GB, free: 14.71 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.5001, allocations: 0.7284 MB / 0.5948 GB, free: 13.95 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001702/0.5003, allocations: 54.91 kB / 0.5949 GB, free: 13.89 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.204e-05/0.5004, allocations: 59.42 kB / 0.5949 GB, free: 13.84 MB / 462.1 MB Notification: Performance of SimCode: time 4.01e-07/0.5004, allocations: 0 / 0.5949 GB, free: 13.84 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02248/0.5229, allocations: 5.291 MB / 0.6001 GB, free: 8.668 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.694/8.217, allocations: 14.5 kB / 0.6001 GB, free: 8.656 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