Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_3_2_3_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 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 99.67 kB / 15.98 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 194.1 kB / 16.9 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.645/1.645, allocations: 205.1 MB / 222.8 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3717/0.3717, allocations: 43.5 MB / 313.6 MB, free: 8.574 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002575/0.002575, allocations: 71.89 kB / 382.3 MB, free: 8.527 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1391, allocations: 57.79 MB / 440.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.3056/0.4447, allocations: 26.97 MB / 467.1 MB, free: 34.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002578/0.4474, allocations: 2.953 MB / 470 MB, free: 33.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.933e-05/0.4475, allocations: 2.938 kB / 470 MB, free: 33.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002698/0.4478, allocations: 41.08 kB / 470.1 MB, free: 33.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001606/0.4494, allocations: 0.6733 MB / 470.8 MB, free: 32.99 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003219/0.4497, allocations: 136.2 kB / 470.9 MB, free: 32.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005126/0.4503, allocations: 367 kB / 471.2 MB, free: 32.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.053e-05/0.4504, allocations: 10.34 kB / 471.3 MB, free: 32.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03241/0.4828, allocations: 14.89 MB / 486.1 MB, free: 27.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004079/0.4832, allocations: 152.2 kB / 486.3 MB, free: 27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.298e-05/0.4833, allocations: 9.031 kB / 486.3 MB, free: 27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006761/0.49, allocations: 3.432 MB / 489.7 MB, free: 25.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.4902, allocations: 42.91 kB / 489.8 MB, free: 25.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.4903, allocations: 109.5 kB / 489.9 MB, free: 25.31 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009006/0.4912, allocations: 480.2 kB / 490.4 MB, free: 25.15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4912, allocations: 0 / 490.4 MB, free: 25.15 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4912, allocations: 7.938 kB / 490.4 MB, free: 25.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.4913, allocations: 0 / 490.4 MB, free: 25.14 MB / 382.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.00107/0.4923, allocations: 0.5905 MB / 491 MB, free: 24.67 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.4924, allocations: 13.52 kB / 491 MB, free: 24.67 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.4e-05/0.4925, allocations: 65.31 kB / 491 MB, free: 24.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001495/0.4926, allocations: 24.92 kB / 491.1 MB, free: 24.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.4929, allocations: 227.1 kB / 491.3 MB, free: 24.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/0.493, allocations: 121.2 kB / 491.4 MB, free: 24.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.828e-05/0.493, allocations: 26.22 kB / 491.4 MB, free: 24.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005656/0.4936, allocations: 331 kB / 491.7 MB, free: 24.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.4936, allocations: 0 / 491.7 MB, free: 24.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.032e-05/0.4937, allocations: 12.25 kB / 491.8 MB, free: 24.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.218e-05/0.4937, allocations: 10.69 kB / 491.8 MB, free: 24.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.4947, allocations: 0.7349 MB / 492.5 MB, free: 23.92 MB / 382.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.001249/0.496, allocations: 1.303 MB / 493.8 MB, free: 22.76 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003618/0.4963, allocations: 165.7 kB / 494 MB, free: 22.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.4965, allocations: 91.7 kB / 494.1 MB, free: 22.65 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001999/0.4985, allocations: 2.798 MB / 496.9 MB, free: 19.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.4986, allocations: 45.64 kB / 496.9 MB, free: 19.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.703e-06/0.4986, allocations: 0 / 496.9 MB, free: 19.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002931/0.4989, allocations: 113.6 kB / 497 MB, free: 19.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.4989, allocations: 53.42 kB / 497.1 MB, free: 19.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.4991, allocations: 223.5 kB / 497.3 MB, free: 19.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.4991, allocations: 30.77 kB / 497.3 MB, free: 19.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.4992, allocations: 214.9 kB / 497.5 MB, free: 19.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/0.4993, allocations: 47.16 kB / 497.6 MB, free: 19.08 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.397e-05/0.4994, allocations: 86.48 kB / 497.6 MB, free: 19.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.103e-05/0.4994, allocations: 332.1 kB / 498 MB, free: 18.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.48e-05/0.4995, allocations: 45.44 kB / 498 MB, free: 18.69 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/0.4998, allocations: 349.2 kB / 498.4 MB, free: 18.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003501/0.5001, allocations: 441.9 kB / 498.8 MB, free: 17.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-06/0.5001, allocations: 3.656 kB / 498.8 MB, free: 17.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000536/0.5007, allocations: 381.3 kB / 499.2 MB, free: 17.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.5007, allocations: 9.438 kB / 499.2 MB, free: 17.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/0.5007, allocations: 11.94 kB / 499.2 MB, free: 17.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.003e-05/0.5008, allocations: 17.95 kB / 499.2 MB, free: 17.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.501, allocations: 100.7 kB / 499.3 MB, free: 17.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.419e-05/0.501, allocations: 24.2 kB / 499.3 MB, free: 17.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002459/0.5013, allocations: 57.12 kB / 499.4 MB, free: 17.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.989e-05/0.5013, allocations: 29.69 kB / 499.4 MB, free: 17.55 MB / 382.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.0001022/0.5015, allocations: 148.5 kB / 499.6 MB, free: 17.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.73e-05/0.5015, allocations: 17.66 kB / 499.6 MB, free: 17.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002908/0.5018, allocations: 153.2 kB / 499.7 MB, free: 17.31 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.5018, allocations: 1.984 kB / 499.7 MB, free: 17.31 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.5018, allocations: 0.5 kB / 499.7 MB, free: 17.31 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.5018, allocations: 2.172 kB / 499.7 MB, free: 17.31 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003908/0.5022, allocations: 420.9 kB / 0.4884 GB, free: 16.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.5023, allocations: 0.9688 kB / 0.4884 GB, free: 16.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.922e-05/0.5023, allocations: 13.69 kB / 0.4884 GB, free: 16.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.5023, allocations: 1.156 kB / 0.4884 GB, free: 16.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.5023, allocations: 2.25 kB / 0.4884 GB, free: 16.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.5024, allocations: 4.844 kB / 0.4884 GB, free: 16.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.5024, allocations: 0.8438 kB / 0.4884 GB, free: 16.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.5025, allocations: 209.2 kB / 0.4886 GB, free: 16.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.488e-05/0.5026, allocations: 98.5 kB / 0.4887 GB, free: 16.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.614e-05/0.5026, allocations: 7.812 kB / 0.4887 GB, free: 16.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.5028, allocations: 3.5 kB / 0.4887 GB, free: 16.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.493e-05/0.5028, allocations: 9.797 kB / 0.4888 GB, free: 16.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.5028, allocations: 13.38 kB / 0.4888 GB, free: 16.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001205/0.5029, allocations: 156.4 kB / 0.4889 GB, free: 16.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5029, allocations: 0 / 0.4889 GB, free: 16.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004826/0.5034, allocations: 95.5 kB / 0.489 GB, free: 16.5 MB / 382.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.0004937/0.5039, allocations: 0.7998 MB / 0.4898 GB, free: 15.76 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002829/0.5042, allocations: 172.1 kB / 0.4899 GB, free: 15.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5042, allocations: 1.531 kB / 0.49 GB, free: 15.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.856e-05/0.5043, allocations: 28.98 kB / 0.49 GB, free: 15.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004166/0.5047, allocations: 46.23 kB / 0.49 GB, free: 15.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002664/0.5074, allocations: 2.86 MB / 0.4928 GB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001897/0.5076, allocations: 0.7233 MB / 0.4935 GB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002337/0.5078, allocations: 62.77 kB / 0.4936 GB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.403e-05/0.5079, allocations: 60.92 kB / 0.4936 GB, free: 12.38 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.5079, allocations: 5.156 kB / 0.4936 GB, free: 12.37 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01956/0.5275, allocations: 5.071 MB / 0.4986 GB, free: 11.71 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001583/0.5277, allocations: 223.3 kB / 0.4988 GB, free: 11.46 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.979/2.507, allocations: 0 / 0.4988 GB, free: 11.46 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches