Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.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.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007835/0.0007835, allocations: 96.11 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009139/0.0009139, allocations: 202.1 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.167/1.167, allocations: 227.7 MB / 246.8 MB, free: 11.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1728/0.1728, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002158/0.0002158, allocations: 8 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09011/0.09034, allocations: 63.56 MB / 483.2 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.005131/0.0955, allocations: 5.023 MB / 488.2 MB, free: 15 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002375/0.09789, allocations: 2.628 MB / 490.8 MB, free: 12.37 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.306e-05/0.09794, allocations: 0 / 490.8 MB, free: 12.37 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001821/0.09813, allocations: 31.83 kB / 490.9 MB, free: 12.34 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00169/0.09983, allocations: 0.9884 MB / 491.9 MB, free: 11.35 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.1001, allocations: 138.7 kB / 492 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003563/0.1005, allocations: 334.7 kB / 492.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.674e-05/0.1005, allocations: 13.53 kB / 492.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001045/0.1016, allocations: 0.8497 MB / 493.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/0.1018, allocations: 155.5 kB / 493.3 MB, free: 9.871 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.1018, allocations: 4 kB / 493.3 MB, free: 9.867 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001739/0.1036, allocations: 1.404 MB / 494.7 MB, free: 8.461 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.279e-05/0.1036, allocations: 35.89 kB / 494.8 MB, free: 8.426 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.641e-05/0.1037, allocations: 105.2 kB / 494.9 MB, free: 8.316 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006752/0.1044, allocations: 0.538 MB / 495.4 MB, free: 7.777 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.1044, allocations: 3.938 kB / 495.4 MB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1044, allocations: 0 / 495.4 MB, free: 7.773 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.1044, allocations: 0 / 495.4 MB, free: 7.773 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007576/0.1052, allocations: 0.5264 MB / 495.9 MB, free: 7.199 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.1053, allocations: 12.88 kB / 496 MB, free: 7.188 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.221e-05/0.1053, allocations: 50.73 kB / 496 MB, free: 7.129 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003816/0.1057, allocations: 52.64 kB / 496.1 MB, free: 7.078 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.1059, allocations: 212.1 kB / 496.3 MB, free: 6.832 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.1059, allocations: 16.12 kB / 496.3 MB, free: 6.816 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.1059, allocations: 16 kB / 496.3 MB, free: 6.801 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003482/0.1063, allocations: 244.5 kB / 496.5 MB, free: 6.527 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.1063, allocations: 0 / 496.5 MB, free: 6.527 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.99e-05/0.1063, allocations: 8 kB / 496.5 MB, free: 6.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.1064, allocations: 7.984 kB / 496.6 MB, free: 6.512 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003238/0.1067, allocations: 236.5 kB / 496.8 MB, free: 6.281 MB / 366.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.001078/0.1078, allocations: 1.361 MB / 498.1 MB, free: 4.777 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.1079, allocations: 86.55 kB / 498.2 MB, free: 4.684 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.819e-05/0.108, allocations: 40.84 kB / 498.3 MB, free: 4.641 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001349/0.1094, allocations: 2.063 MB / 0.4886 GB, free: 2.164 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002116/0.1096, allocations: 165.1 kB / 0.4888 GB, free: 1.965 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 1.313e-06/0.1096, allocations: 4 kB / 0.4888 GB, free: 1.961 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007644/0.1104, allocations: 351.1 kB / 0.4891 GB, free: 1.609 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.1105, allocations: 269.9 kB / 0.4894 GB, free: 1.285 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.1106, allocations: 153.7 kB / 0.4895 GB, free: 1.125 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.1106, allocations: 33.7 kB / 0.4895 GB, free: 1.086 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.63e-05/0.1107, allocations: 147.7 kB / 0.4897 GB, free: 0.9375 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.39e-05/0.1108, allocations: 63.09 kB / 0.4897 GB, free: 0.875 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/0.1108, allocations: 33.7 kB / 0.4898 GB, free: 0.8359 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.759e-05/0.1109, allocations: 318.8 kB / 0.4901 GB, free: 0.5156 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.687e-05/0.111, allocations: 43.97 kB / 0.4901 GB, free: 484 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.1111, allocations: 186.7 kB / 0.4903 GB, free: 228 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002569/0.1114, allocations: 258.1 kB / 0.4905 GB, free: 15.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1114, allocations: 0 / 0.4905 GB, free: 15.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003534/0.1118, allocations: 264.9 kB / 0.4908 GB, free: 15.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1118, allocations: 8 kB / 0.4908 GB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1118, allocations: 4.656 kB / 0.4908 GB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1118, allocations: 11.98 kB / 0.4908 GB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004143/0.1122, allocations: 104.5 kB / 0.4909 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003189/0.1126, allocations: 0.5938 MB / 0.4915 GB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.1127, allocations: 15.94 kB / 0.4915 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.184e-05/0.1128, allocations: 23.98 kB / 0.4915 GB, free: 14.86 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001042/0.1129, allocations: 133.9 kB / 0.4917 GB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.51e-05/0.1129, allocations: 19.81 kB / 0.4917 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004025/0.1133, allocations: 239.7 kB / 0.4919 GB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1133, allocations: 0 / 0.4919 GB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1133, allocations: 7.938 kB / 0.4919 GB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1133, allocations: 0 / 0.4919 GB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003537/0.1137, allocations: 448.8 kB / 0.4923 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.1137, allocations: 0 / 0.4923 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002988/0.114, allocations: 47.97 kB / 0.4924 GB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.114, allocations: 7.938 kB / 0.4924 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.114, allocations: 3.984 kB / 0.4924 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002454/0.1143, allocations: 0.586 MB / 0.493 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.1143, allocations: 4.031 kB / 0.493 GB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/0.1145, allocations: 142.5 kB / 0.4931 GB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.697e-05/0.1146, allocations: 116.9 kB / 0.4932 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/0.1146, allocations: 0 / 0.4932 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.1147, allocations: 16.08 kB / 0.4932 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.811e-05/0.1148, allocations: 4 kB / 0.4932 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.1148, allocations: 7.984 kB / 0.4933 GB, free: 12.92 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.413e-05/0.1149, allocations: 135.7 kB / 0.4934 GB, free: 12.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1149, allocations: 0 / 0.4934 GB, free: 12.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004106/0.1153, allocations: 135.9 kB / 0.4935 GB, free: 12.65 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008058/0.1161, allocations: 0.8502 MB / 0.4943 GB, free: 11.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004016/0.1165, allocations: 156.8 kB / 0.4945 GB, free: 11.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1165, allocations: 3.938 kB / 0.4945 GB, free: 11.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001697/0.1167, allocations: 60.14 kB / 0.4946 GB, free: 11.56 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.1171, allocations: 51.52 kB / 0.4946 GB, free: 11.51 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002558/0.1197, allocations: 2.591 MB / 0.4971 GB, free: 8.695 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.1199, allocations: 0.7168 MB / 0.4978 GB, free: 7.949 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002599/0.1202, allocations: 77.83 kB / 0.4979 GB, free: 7.875 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.785e-05/0.1203, allocations: 55.41 kB / 0.498 GB, free: 7.82 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1203, allocations: 0 / 0.498 GB, free: 7.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01612/0.1364, allocations: 6.312 MB / 0.5041 GB, free: 1.734 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002511/0.1367, allocations: 298.3 kB / 0.5044 GB, free: 1.355 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.753/1.889, allocations: 0 / 0.5044 GB, free: 1.355 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Essotherm650/Essotherm650.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches