Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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.WaterIF97_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001133/0.001133, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001236/0.001236, allocations: 199.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2088/0.2088, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 75.88 kB / 480.9 MB, free: 4.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3184, allocations: 62.43 MB / 0.5306 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01672/0.3352, allocations: 13.92 MB / 0.5442 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02826/0.3635, allocations: 26.6 MB / 0.5701 GB, free: 9.129 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002945/0.3638, allocations: 0 / 0.5701 GB, free: 9.129 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004343/0.3643, allocations: 99.38 kB / 0.5702 GB, free: 9.031 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02388/0.3882, allocations: 8.531 MB / 0.5786 GB, free: 0.5 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008984/0.3891, allocations: 341.4 kB / 0.5789 GB, free: 176 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004416/0.3935, allocations: 2.009 MB / 0.5808 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.015e-05/0.3936, allocations: 16.41 kB / 0.5809 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005085/0.3941, allocations: 270.8 kB / 0.5811 GB, free: 13.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006991/0.4011, allocations: 3.262 MB / 0.5843 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.413e-05/0.4012, allocations: 12 kB / 0.5843 GB, free: 10.53 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02172/0.4229, allocations: 11.62 MB / 0.5957 GB, free: 14.89 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.423, allocations: 51.75 kB / 0.5957 GB, free: 14.84 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002222/0.4233, allocations: 135.4 kB / 0.5958 GB, free: 14.71 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01659/0.4399, allocations: 6.753 MB / 0.6024 GB, free: 7.945 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.4399, allocations: 0 / 0.6024 GB, free: 7.945 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.466e-06/0.4399, allocations: 0 / 0.6024 GB, free: 7.945 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.475e-05/0.44, allocations: 3.938 kB / 0.6024 GB, free: 7.941 MB / 462.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.005015/0.445, allocations: 1.619 MB / 0.604 GB, free: 6.273 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.445, allocations: 8.031 kB / 0.604 GB, free: 6.266 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.297e-05/0.4451, allocations: 70.72 kB / 0.6041 GB, free: 6.188 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001622/0.4468, allocations: 184.5 kB / 0.6043 GB, free: 6.008 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004379/0.4472, allocations: 279.8 kB / 0.6045 GB, free: 5.695 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.4473, allocations: 25.03 kB / 0.6046 GB, free: 5.672 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.762e-05/0.4473, allocations: 39.88 kB / 0.6046 GB, free: 5.633 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002199/0.4495, allocations: 0.7525 MB / 0.6053 GB, free: 4.832 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.4496, allocations: 7.938 kB / 0.6053 GB, free: 4.824 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.305e-05/0.4496, allocations: 16 kB / 0.6054 GB, free: 4.809 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/0.4496, allocations: 8 kB / 0.6054 GB, free: 4.801 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002144/0.4518, allocations: 0.8137 MB / 0.6062 GB, free: 3.984 MB / 462.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.003123/0.4549, allocations: 2.703 MB / 0.6088 GB, free: 1.062 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/0.4561, allocations: 354.3 kB / 0.6091 GB, free: 0.707 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.4563, allocations: 68.83 kB / 0.6092 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6513/1.108, allocations: 147.8 MB / 0.7536 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001264/1.109, allocations: 456.6 kB / 0.754 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.655e-06/1.109, allocations: 0 / 0.754 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.003674/1.113, allocations: 1.119 MB / 0.7551 GB, free: 171 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/1.113, allocations: 375.9 kB / 0.7554 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/1.113, allocations: 180 kB / 0.7556 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.583e-05/1.113, allocations: 41.69 kB / 0.7557 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.398e-05/1.113, allocations: 182.4 kB / 0.7558 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.978e-05/1.113, allocations: 120.3 kB / 0.7559 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/1.113, allocations: 122.1 kB / 0.7561 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.394e-05/1.113, allocations: 326.8 kB / 0.7564 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/1.113, allocations: 85.06 kB / 0.7565 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/1.114, allocations: 353.4 kB / 0.7568 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004773/1.114, allocations: 483.3 kB / 0.7573 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/1.114, allocations: 0 / 0.7573 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007287/1.115, allocations: 469.4 kB / 0.7577 GB, free: 168 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/1.115, allocations: 8 kB / 0.7577 GB, free: 168 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/1.115, allocations: 8 kB / 0.7577 GB, free: 168 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/1.115, allocations: 12 kB / 0.7577 GB, free: 168 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00152/1.116, allocations: 215.6 kB / 0.7579 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003627/1.117, allocations: 1.193 MB / 0.7591 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002793/1.117, allocations: 15.94 kB / 0.7591 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.421e-05/1.117, allocations: 47.97 kB / 0.7592 GB, free: 166.5 MB / 0.5762 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.0001555/1.117, allocations: 157.6 kB / 0.7593 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.652e-05/1.117, allocations: 35.7 kB / 0.7593 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001944/1.119, allocations: 2.825 MB / 0.7621 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/1.119, allocations: 23.98 kB / 0.7621 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/1.119, allocations: 7.984 kB / 0.7621 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/1.119, allocations: 4 kB / 0.7621 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006795/1.12, allocations: 0.9702 MB / 0.7631 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/1.12, allocations: 0.6875 kB / 0.7631 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005167/1.121, allocations: 100.3 kB / 0.7632 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000162/1.121, allocations: 158.7 kB / 0.7633 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/1.121, allocations: 16 kB / 0.7633 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002448/1.121, allocations: 0.6402 MB / 0.764 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/1.121, allocations: 5.188 kB / 0.764 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008784/1.122, allocations: 0.9792 MB / 0.7649 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.497e-05/1.122, allocations: 128.4 kB / 0.7651 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/1.122, allocations: 94.8 kB / 0.7651 GB, free: 160.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002811/1.122, allocations: 12 kB / 0.7652 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.756e-05/1.122, allocations: 34.69 kB / 0.7652 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/1.122, allocations: 19.98 kB / 0.7652 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003896/1.123, allocations: 475 kB / 0.7657 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.123, allocations: 4 kB / 0.7657 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004/1.127, allocations: 1.612 MB / 0.7672 GB, free: 158.2 MB / 0.5762 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.007316/1.134, allocations: 3.138 MB / 0.7703 GB, free: 155.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001531/1.136, allocations: 0.5507 MB / 0.7708 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/1.136, allocations: 0 / 0.7708 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000392/1.136, allocations: 357.6 kB / 0.7712 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008357/1.137, allocations: 126.2 kB / 0.7713 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6553/1.792, allocations: 353.1 MB / 1.116 GB, free: 66.95 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004086/1.793, allocations: 0.982 MB / 1.117 GB, free: 65.94 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006619/1.794, allocations: 0.5055 MB / 1.118 GB, free: 65.45 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003969/1.794, allocations: 323.3 kB / 1.118 GB, free: 65.13 MB / 0.6075 GB Notification: Performance of SimCode: time 1.372e-06/1.794, allocations: 0 / 1.118 GB, free: 65.13 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.344/2.138, allocations: 66.71 MB / 1.183 GB, free: 221.1 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.22/18.36, allocations: 7.703 kB / 1.183 GB, free: 221.1 MB / 0.6075 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches