Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001624/0.001624, allocations: 200 kB / 16.1 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.293/1.293, allocations: 226.5 MB / 243.4 MB, free: 8.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001107/0.001107, allocations: 102.1 kB / 295.5 MB, free: 6.863 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.317/0.317, allocations: 44.82 MB / 392.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002675/0.0002677, allocations: 8 kB / 465.4 MB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2897, allocations: 62.97 MB / 0.516 GB, free: 37.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01137/0.3012, allocations: 12.87 MB / 0.5285 GB, free: 28.15 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01964/0.3208, allocations: 24.61 MB / 0.5526 GB, free: 10.73 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000253/0.3211, allocations: 0 / 0.5526 GB, free: 10.73 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003465/0.3215, allocations: 73.19 kB / 0.5526 GB, free: 10.7 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02025/0.3418, allocations: 6.626 MB / 0.5591 GB, free: 7.477 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009251/0.3427, allocations: 289.1 kB / 0.5594 GB, free: 7.289 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00577/0.3485, allocations: 3.206 MB / 0.5625 GB, free: 6.477 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.459e-05/0.3486, allocations: 24.22 kB / 0.5625 GB, free: 6.469 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007182/0.3493, allocations: 251.9 kB / 0.5628 GB, free: 6.332 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01046/0.3598, allocations: 5.665 MB / 0.5683 GB, free: 3.754 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.353e-05/0.3599, allocations: 8 kB / 0.5683 GB, free: 3.746 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02476/0.3847, allocations: 11.17 MB / 0.5792 GB, free: 8.559 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.3849, allocations: 51.69 kB / 0.5793 GB, free: 8.508 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002925/0.3852, allocations: 157.2 kB / 0.5794 GB, free: 8.348 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009521/0.3947, allocations: 4.538 MB / 0.5839 GB, free: 3.801 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.3947, allocations: 0 / 0.5839 GB, free: 3.801 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.3947, allocations: 0 / 0.5839 GB, free: 3.801 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.3948, allocations: 0 / 0.5839 GB, free: 3.801 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.004705/0.3995, allocations: 1.556 MB / 0.5854 GB, free: 2.195 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.3995, allocations: 8.031 kB / 0.5854 GB, free: 2.188 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.617e-05/0.3996, allocations: 70.72 kB / 0.5855 GB, free: 2.109 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001344/0.401, allocations: 188.5 kB / 0.5856 GB, free: 1.926 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.4013, allocations: 264 kB / 0.5859 GB, free: 1.629 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.4013, allocations: 29.03 kB / 0.5859 GB, free: 1.602 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.152e-05/0.4014, allocations: 31.94 kB / 0.5859 GB, free: 1.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/0.4032, allocations: 0.7486 MB / 0.5867 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.4033, allocations: 0 / 0.5867 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.251e-05/0.4033, allocations: 19.98 kB / 0.5867 GB, free: 0.75 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.4033, allocations: 8 kB / 0.5867 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00186/0.4052, allocations: 0.8177 MB / 0.5875 GB, free: 15.92 MB / 410.7 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.003093/0.4083, allocations: 2.714 MB / 0.5902 GB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.4094, allocations: 350.4 kB / 0.5905 GB, free: 12.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.4096, allocations: 68.83 kB / 0.5906 GB, free: 12.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5545/0.9641, allocations: 147.4 MB / 0.7345 GB, free: 128.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001164/0.9653, allocations: 448.9 kB / 0.7349 GB, free: 128.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=31): time 3.547e-06/0.9654, allocations: 0 / 0.7349 GB, free: 128.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32): time 0.003296/0.9687, allocations: 1.117 MB / 0.736 GB, free: 127.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.431e-05/0.9688, allocations: 381.3 kB / 0.7363 GB, free: 127 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.9689, allocations: 190.3 kB / 0.7365 GB, free: 126.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/0.969, allocations: 33.7 kB / 0.7366 GB, free: 126.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.814e-05/0.969, allocations: 183.6 kB / 0.7367 GB, free: 126.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.042e-05/0.9691, allocations: 114.2 kB / 0.7368 GB, free: 126.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-05/0.9692, allocations: 8 kB / 0.7368 GB, free: 126.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 4.89e-05/0.9692, allocations: 330.8 kB / 0.7372 GB, free: 126.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.9693, allocations: 81.06 kB / 0.7372 GB, free: 126.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002082/0.9696, allocations: 337.6 kB / 0.7376 GB, free: 125.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004228/0.97, allocations: 480.2 kB / 0.738 GB, free: 125 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.97, allocations: 4 kB / 0.738 GB, free: 125 MB / 0.4948 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006687/0.9707, allocations: 469.1 kB / 0.7385 GB, free: 124.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.9707, allocations: 8 kB / 0.7385 GB, free: 124.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.9707, allocations: 16.16 kB / 0.7385 GB, free: 124.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.9707, allocations: 12 kB / 0.7385 GB, free: 124.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/0.9721, allocations: 211.6 kB / 0.7387 GB, free: 124.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004124/0.9726, allocations: 1.186 MB / 0.7399 GB, free: 123.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003107/0.9729, allocations: 26.44 kB / 0.7399 GB, free: 123 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.597e-05/0.973, allocations: 43.98 kB / 0.7399 GB, free: 123 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000169/0.9731, allocations: 165.5 kB / 0.7401 GB, free: 122.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.087e-05/0.9732, allocations: 27.72 kB / 0.7401 GB, free: 122.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002347/0.9756, allocations: 2.885 MB / 0.7429 GB, free: 119.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.501e-05/0.9756, allocations: 19.97 kB / 0.743 GB, free: 119.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.9756, allocations: 4 kB / 0.743 GB, free: 119.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.9756, allocations: 7.984 kB / 0.743 GB, free: 119.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000888/0.9765, allocations: 0.9621 MB / 0.7439 GB, free: 118.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.9766, allocations: 7.844 kB / 0.7439 GB, free: 118.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005258/0.9771, allocations: 104.6 kB / 0.744 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002161/0.9773, allocations: 162.7 kB / 0.7442 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.255e-05/0.9774, allocations: 19.92 kB / 0.7442 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000258/0.9776, allocations: 0.6459 MB / 0.7448 GB, free: 117.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.9776, allocations: 0 / 0.7448 GB, free: 117.9 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008672/0.9785, allocations: 0.969 MB / 0.7458 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002357/0.9788, allocations: 354.8 kB / 0.7461 GB, free: 116.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.906e-05/0.9789, allocations: 12 kB / 0.7461 GB, free: 116.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000331/0.9792, allocations: 23.98 kB / 0.7461 GB, free: 116.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.9793, allocations: 31.84 kB / 0.7462 GB, free: 116.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-05/0.9793, allocations: 16 kB / 0.7462 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00043/0.9797, allocations: 467 kB / 0.7466 GB, free: 116 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9797, allocations: 0 / 0.7466 GB, free: 116 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004224/0.984, allocations: 1.624 MB / 0.7482 GB, free: 114.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 11 ($cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.008467/0.9924, allocations: 3.136 MB / 0.7513 GB, free: 111.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001404/0.9939, allocations: 0.5286 MB / 0.7518 GB, free: 111 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.9939, allocations: 0 / 0.7518 GB, free: 111 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003704/0.9943, allocations: 369.6 kB / 0.7521 GB, free: 110.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.9953, allocations: 131.5 kB / 0.7523 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8421/1.837, allocations: 350.5 MB / 1.095 GB, free: 175.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006631/1.838, allocations: 0.9799 MB / 1.095 GB, free: 175 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004756/1.839, allocations: 315.6 kB / 1.096 GB, free: 174.7 MB / 0.5261 GB Notification: Performance of SimCode: time 2.214e-06/1.839, allocations: 0 / 1.096 GB, free: 174.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.025/7.864, allocations: 38.88 MB / 1.134 GB, free: 148.1 MB / 0.5261 GB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches