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.001785/0.001785, allocations: 108 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00264/0.00264, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 227.4 MB / 246.4 MB, free: 9.055 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2239/0.2239, allocations: 46.1 MB / 343.8 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 80.23 kB / 417.2 MB, free: 19.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1268, allocations: 62.45 MB / 479.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01669/0.1436, allocations: 14.04 MB / 493.6 MB, free: 7.383 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.294/0.4376, allocations: 26.67 MB / 0.5081 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003409/0.438, allocations: 2.281 kB / 0.5081 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005422/0.4386, allocations: 82.61 kB / 0.5082 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02761/0.4662, allocations: 7.554 MB / 0.5156 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.4673, allocations: 318.1 kB / 0.5159 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00594/0.4733, allocations: 1.998 MB / 0.5178 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.4734, allocations: 19.12 kB / 0.5179 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008319/0.4743, allocations: 264 kB / 0.5181 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007457/0.4817, allocations: 3.267 MB / 0.5213 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.511e-05/0.4818, allocations: 8.781 kB / 0.5213 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02634/0.5082, allocations: 11.47 MB / 0.5325 GB, free: 6.199 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.5083, allocations: 50.31 kB / 0.5325 GB, free: 6.176 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003904/0.5087, allocations: 140.1 kB / 0.5327 GB, free: 6.145 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01789/0.5266, allocations: 6.8 MB / 0.5393 GB, free: 2.289 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.5267, allocations: 0 / 0.5393 GB, free: 2.289 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.5267, allocations: 0 / 0.5393 GB, free: 2.289 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.5267, allocations: 7.75 kB / 0.5393 GB, free: 2.285 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.005041/0.5317, allocations: 1.621 MB / 0.5409 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.5318, allocations: 8.031 kB / 0.5409 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.955e-05/0.5319, allocations: 74.72 kB / 0.541 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001487/0.5334, allocations: 184.5 kB / 0.5412 GB, free: 360 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.5336, allocations: 271.9 kB / 0.5414 GB, free: 48 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.5336, allocations: 29.2 kB / 0.5415 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.682e-05/0.5337, allocations: 33.94 kB / 0.5415 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002257/0.536, allocations: 0.7524 MB / 0.5422 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.536, allocations: 0 / 0.5422 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.53e-05/0.5361, allocations: 12 kB / 0.5422 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.5361, allocations: 8 kB / 0.5422 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00223/0.5383, allocations: 0.8215 MB / 0.543 GB, free: 14.34 MB / 398.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.004141/0.5425, allocations: 2.708 MB / 0.5457 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/0.5438, allocations: 353 kB / 0.546 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.544, allocations: 76.83 kB / 0.5461 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3509/0.8948, allocations: 146.1 MB / 0.6887 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001395/0.8963, allocations: 446.5 kB / 0.6892 GB, free: 12.27 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 3.797e-06/0.8963, allocations: 0 / 0.6892 GB, free: 12.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.004093/0.9004, allocations: 1.125 MB / 0.6903 GB, free: 11.13 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001742/0.9006, allocations: 373.3 kB / 0.6906 GB, free: 10.68 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.9008, allocations: 186.2 kB / 0.6908 GB, free: 10.49 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.593e-05/0.9008, allocations: 29.7 kB / 0.6908 GB, free: 10.46 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.901, allocations: 190.4 kB / 0.691 GB, free: 10.27 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.529e-05/0.9011, allocations: 105.6 kB / 0.6911 GB, free: 10.17 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001604/0.9012, allocations: 126.1 kB / 0.6912 GB, free: 10.04 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.9014, allocations: 330.8 kB / 0.6915 GB, free: 9.703 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.9015, allocations: 81.06 kB / 0.6916 GB, free: 9.625 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003546/0.9019, allocations: 355.2 kB / 0.692 GB, free: 9.152 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006094/0.9025, allocations: 484.7 kB / 0.6924 GB, free: 8.555 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.9025, allocations: 4 kB / 0.6924 GB, free: 8.551 MB / 0.545 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008495/0.9034, allocations: 477.2 kB / 0.6929 GB, free: 8.078 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.9034, allocations: 8.188 kB / 0.6929 GB, free: 8.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.9034, allocations: 23.86 kB / 0.6929 GB, free: 8.051 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.9035, allocations: 12 kB / 0.6929 GB, free: 8.039 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/0.905, allocations: 207.7 kB / 0.6931 GB, free: 7.836 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000631/0.9057, allocations: 1.184 MB / 0.6943 GB, free: 6.605 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003014/0.906, allocations: 27.91 kB / 0.6943 GB, free: 6.578 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-05/0.9061, allocations: 49.28 kB / 0.6944 GB, free: 6.531 MB / 0.545 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.0001734/0.9062, allocations: 153.7 kB / 0.6945 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.323e-05/0.9063, allocations: 27.81 kB / 0.6945 GB, free: 6.344 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002867/0.9092, allocations: 2.838 MB / 0.6973 GB, free: 3.488 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.737e-05/0.9092, allocations: 23.97 kB / 0.6973 GB, free: 3.465 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.9093, allocations: 4 kB / 0.6973 GB, free: 3.461 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.9093, allocations: 11.92 kB / 0.6973 GB, free: 3.449 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009989/0.9103, allocations: 0.9535 MB / 0.6983 GB, free: 2.453 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.014e-06/0.9103, allocations: 4.375 kB / 0.6983 GB, free: 2.449 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005488/0.9109, allocations: 108.3 kB / 0.6984 GB, free: 2.344 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002078/0.9111, allocations: 154.8 kB / 0.6985 GB, free: 2.188 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.803e-05/0.9111, allocations: 15.94 kB / 0.6985 GB, free: 2.172 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004242/0.9116, allocations: 0.6442 MB / 0.6992 GB, free: 1.504 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/0.9116, allocations: 11.69 kB / 0.6992 GB, free: 1.496 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001298/0.9129, allocations: 0.9763 MB / 0.7001 GB, free: 472 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/0.913, allocations: 128.4 kB / 0.7003 GB, free: 324 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001651/0.9132, allocations: 94.72 kB / 0.7003 GB, free: 228 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003684/0.9136, allocations: 19.98 kB / 0.7004 GB, free: 208 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.142e-05/0.9136, allocations: 31.84 kB / 0.7004 GB, free: 176 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.979e-05/0.9137, allocations: 23.98 kB / 0.7004 GB, free: 152 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006297/0.9143, allocations: 467 kB / 0.7009 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.9e-07/0.9143, allocations: 0 / 0.7009 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005814/0.9202, allocations: 1.628 MB / 0.7025 GB, free: 14.06 MB / 0.5606 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.01113/0.9313, allocations: 3.133 MB / 0.7055 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00203/0.9334, allocations: 0.5552 MB / 0.7061 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.9334, allocations: 4.062 kB / 0.7061 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005454/0.9339, allocations: 361.6 kB / 0.7064 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009526/0.9349, allocations: 130.1 kB / 0.7065 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9604/1.895, allocations: 353.6 MB / 1.052 GB, free: 106.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004684/1.896, allocations: 0.9897 MB / 1.053 GB, free: 105.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008291/1.897, allocations: 0.512 MB / 1.053 GB, free: 104.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004268/1.897, allocations: 322.6 kB / 1.054 GB, free: 104.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.482e-06/1.897, allocations: 0 / 1.054 GB, free: 104.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3571/2.254, allocations: 66.45 MB / 1.119 GB, free: 221 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/2.254, allocations: 256.5 kB / 1.119 GB, free: 220.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.305/8.56, allocations: 5.172 kB / 1.119 GB, free: 220.8 MB / 0.5606 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