Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",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.001244/0.001244, allocations: 107 kB / 17.33 MB, free: 6 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.00127/0.00127, allocations: 193.3 kB / 18.25 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 241.9 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2047/0.2047, allocations: 44.18 MB / 336.2 MB, free: 2.934 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 60.92 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1115, allocations: 60.83 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01735/0.1289, allocations: 13.94 MB / 482.8 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03104/0.16, allocations: 26.66 MB / 0.4975 GB, free: 5.867 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001784/0.1602, allocations: 11.94 kB / 0.4975 GB, free: 5.855 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003194/0.1606, allocations: 75.58 kB / 0.4976 GB, free: 5.781 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.242/0.4026, allocations: 7.534 MB / 0.5049 GB, free: 14.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008512/0.4035, allocations: 324.2 kB / 0.5052 GB, free: 14.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003568/0.407, allocations: 1.996 MB / 0.5072 GB, free: 13.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.4e-05/0.4071, allocations: 22.25 kB / 0.5072 GB, free: 13.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004357/0.4076, allocations: 266.5 kB / 0.5075 GB, free: 13.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005355/0.4129, allocations: 3.263 MB / 0.5106 GB, free: 12.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.962e-05/0.413, allocations: 9.875 kB / 0.5107 GB, free: 12.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01967/0.4327, allocations: 11.45 MB / 0.5218 GB, free: 12.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.4328, allocations: 51.58 kB / 0.5219 GB, free: 12.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003149/0.4332, allocations: 139.1 kB / 0.522 GB, free: 12.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01918/0.4523, allocations: 6.794 MB / 0.5287 GB, free: 10.58 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.329e-05/0.4524, allocations: 3.188 kB / 0.5287 GB, free: 10.58 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.4524, allocations: 0 / 0.5287 GB, free: 10.58 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.255e-05/0.4524, allocations: 0 / 0.5287 GB, free: 10.58 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.005396/0.4578, allocations: 1.614 MB / 0.5302 GB, free: 9.488 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.4579, allocations: 9.625 kB / 0.5302 GB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.386e-05/0.458, allocations: 71.56 kB / 0.5303 GB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001465/0.4594, allocations: 185.1 kB / 0.5305 GB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.4597, allocations: 268.1 kB / 0.5307 GB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.4597, allocations: 22.19 kB / 0.5308 GB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.547e-05/0.4598, allocations: 33.47 kB / 0.5308 GB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001986/0.4618, allocations: 0.7581 MB / 0.5315 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.4618, allocations: 2.812 kB / 0.5315 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.714e-05/0.4619, allocations: 14.69 kB / 0.5316 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.4619, allocations: 8.875 kB / 0.5316 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001929/0.4638, allocations: 0.821 MB / 0.5324 GB, free: 8.168 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.002771/0.4666, allocations: 2.706 MB / 0.535 GB, free: 5.688 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/0.4678, allocations: 351.9 kB / 0.5353 GB, free: 5.508 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.4679, allocations: 74.97 kB / 0.5354 GB, free: 5.469 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3397/0.8076, allocations: 141 MB / 0.6731 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001469/0.8091, allocations: 456.4 kB / 0.6736 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 2.535e-06/0.8091, allocations: 1.094 kB / 0.6736 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=32): time 0.004021/0.8132, allocations: 1.117 MB / 0.6746 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001858/0.8134, allocations: 375.8 kB / 0.675 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.8136, allocations: 178.9 kB / 0.6752 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.875e-05/0.8136, allocations: 33.7 kB / 0.6752 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.8137, allocations: 194.1 kB / 0.6754 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.288e-05/0.8138, allocations: 117.5 kB / 0.6755 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/0.814, allocations: 122.1 kB / 0.6756 GB, free: 12 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.8141, allocations: 326.8 kB / 0.6759 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/0.8143, allocations: 81.06 kB / 0.676 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004016/0.8147, allocations: 352 kB / 0.6763 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006244/0.8154, allocations: 485.7 kB / 0.6768 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.8154, allocations: 0.625 kB / 0.6768 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008498/0.8162, allocations: 476 kB / 0.6773 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.8163, allocations: 10.5 kB / 0.6773 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.8163, allocations: 8.875 kB / 0.6773 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.76e-05/0.8163, allocations: 12 kB / 0.6773 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001555/0.8179, allocations: 218 kB / 0.6775 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006289/0.8185, allocations: 1.183 MB / 0.6787 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003008/0.8188, allocations: 30.12 kB / 0.6787 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.156e-05/0.8189, allocations: 48.16 kB / 0.6787 GB, free: 8.629 MB / 0.5294 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 (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001914/0.8191, allocations: 162.1 kB / 0.6789 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.039e-05/0.8192, allocations: 27.7 kB / 0.6789 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002994/0.8222, allocations: 2.843 MB / 0.6817 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.2e-05/0.8222, allocations: 19.97 kB / 0.6817 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.8223, allocations: 4 kB / 0.6817 GB, free: 5.59 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.8223, allocations: 7.938 kB / 0.6817 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009721/0.8232, allocations: 0.9652 MB / 0.6827 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.8233, allocations: 4 kB / 0.6827 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005456/0.8238, allocations: 96.17 kB / 0.6828 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001945/0.824, allocations: 162.3 kB / 0.6829 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.728e-05/0.824, allocations: 13.64 kB / 0.6829 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003782/0.8244, allocations: 0.6459 MB / 0.6836 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.8244, allocations: 6.906 kB / 0.6836 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.8256, allocations: 0.9729 MB / 0.6845 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.83e-05/0.8257, allocations: 128.4 kB / 0.6846 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.8258, allocations: 94.7 kB / 0.6847 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003046/0.8261, allocations: 20 kB / 0.6847 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.458e-05/0.8262, allocations: 38.89 kB / 0.6848 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.678e-05/0.8262, allocations: 12 kB / 0.6848 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005395/0.8268, allocations: 475 kB / 0.6852 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8268, allocations: 0 / 0.6852 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005068/0.8318, allocations: 1.612 MB / 0.6868 GB, free: 240 kB / 0.5294 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009093/0.841, allocations: 3.125 MB / 0.6899 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001991/0.843, allocations: 0.5596 MB / 0.6904 GB, free: 12.69 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.843, allocations: 0.75 kB / 0.6904 GB, free: 12.69 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000434/0.8434, allocations: 363.3 kB / 0.6908 GB, free: 12.35 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008529/0.8443, allocations: 128.9 kB / 0.6909 GB, free: 12.23 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9293/1.774, allocations: 353 MB / 1.036 GB, free: 85.45 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/1.774, allocations: 0.982 MB / 1.037 GB, free: 84.45 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007608/1.775, allocations: 0.5046 MB / 1.037 GB, free: 83.96 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003106/1.775, allocations: 319.3 kB / 1.037 GB, free: 83.64 MB / 0.545 GB Notification: Performance of SimCode: time 1.222e-06/1.775, allocations: 0 / 1.037 GB, free: 83.64 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3491/2.124, allocations: 66.36 MB / 1.102 GB, free: 214.8 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001719/2.124, allocations: 255.7 kB / 1.102 GB, free: 214.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.165/8.29, allocations: 0.5625 kB / 1.102 GB, free: 214.6 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches