Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002057/0.002057, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.473/1.473, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2326/0.2326, allocations: 46.92 MB / 357.1 MB, free: 10.33 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 63.89 kB / 0.491 GB, free: 7.941 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1435, allocations: 66 MB / 0.5554 GB, free: 5.816 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01878/0.1623, allocations: 13.97 MB / 0.5691 GB, free: 7.777 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2927/0.455, allocations: 26.67 MB / 0.5951 GB, free: 3.691 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002155/0.4552, allocations: 1.844 kB / 0.5951 GB, free: 3.691 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003516/0.4556, allocations: 92.59 kB / 0.5952 GB, free: 3.691 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02314/0.4787, allocations: 8.549 MB / 0.6036 GB, free: 3.594 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.4798, allocations: 347.8 kB / 0.6039 GB, free: 3.582 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004753/0.4845, allocations: 2.008 MB / 0.6059 GB, free: 3.055 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.689e-05/0.4846, allocations: 11.94 kB / 0.6059 GB, free: 3.055 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005376/0.4851, allocations: 278.5 kB / 0.6061 GB, free: 3.016 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006727/0.4918, allocations: 3.276 MB / 0.6093 GB, free: 2.055 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.863e-05/0.4919, allocations: 11.78 kB / 0.6093 GB, free: 2.055 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0199/0.5118, allocations: 10.85 MB / 0.6199 GB, free: 15.98 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.5119, allocations: 50.28 kB / 0.62 GB, free: 15.96 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002629/0.5122, allocations: 141 kB / 0.6201 GB, free: 15.92 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01672/0.5289, allocations: 6.345 MB / 0.6263 GB, free: 12.33 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.5289, allocations: 0 / 0.6263 GB, free: 12.33 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5289, allocations: 0 / 0.6263 GB, free: 12.33 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.315e-06/0.5289, allocations: 2.625 kB / 0.6263 GB, free: 12.33 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.006346/0.5353, allocations: 1.607 MB / 0.6279 GB, free: 11.19 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.5353, allocations: 10.16 kB / 0.6279 GB, free: 11.19 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.103e-05/0.5354, allocations: 67.25 kB / 0.628 GB, free: 11.12 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001746/0.5371, allocations: 222.1 kB / 0.6282 GB, free: 11.03 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004102/0.5376, allocations: 276.3 kB / 0.6284 GB, free: 10.75 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.327e-05/0.5376, allocations: 25.28 kB / 0.6285 GB, free: 10.73 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.225e-05/0.5377, allocations: 39.5 kB / 0.6285 GB, free: 10.71 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002516/0.5402, allocations: 0.8223 MB / 0.6293 GB, free: 10.19 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.5402, allocations: 3.438 kB / 0.6293 GB, free: 10.19 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.489e-05/0.5402, allocations: 10.88 kB / 0.6293 GB, free: 10.18 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.5402, allocations: 7.938 kB / 0.6293 GB, free: 10.18 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002529/0.5428, allocations: 0.9424 MB / 0.6302 GB, free: 9.738 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.003418/0.5462, allocations: 2.563 MB / 0.6327 GB, free: 7.387 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/0.5476, allocations: 373.8 kB / 0.6331 GB, free: 7.191 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.5478, allocations: 71.14 kB / 0.6332 GB, free: 7.156 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.9263/1.474, allocations: 241.3 MB / 0.8688 GB, free: 256.4 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001495/1.476, allocations: 467.4 kB / 0.8692 GB, free: 256.2 MB / 0.67 GB Notification: Performance of pre-optimization done (n=32): time 2.635e-06/1.476, allocations: 4 kB / 0.8692 GB, free: 256.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=32): time 0.00313/1.479, allocations: 0.7797 MB / 0.87 GB, free: 255.9 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.441e-05/1.479, allocations: 378.1 kB / 0.8703 GB, free: 255.5 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/1.479, allocations: 185.5 kB / 0.8705 GB, free: 255.3 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.358e-05/1.479, allocations: 31.36 kB / 0.8706 GB, free: 255.3 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 7.457e-05/1.479, allocations: 190.1 kB / 0.8707 GB, free: 255.2 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 7.64e-05/1.479, allocations: 123.3 kB / 0.8709 GB, free: 255.1 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/1.479, allocations: 122.5 kB / 0.871 GB, free: 255.1 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.745e-05/1.479, allocations: 335.7 kB / 0.8713 GB, free: 254.7 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002102/1.48, allocations: 89.61 kB / 0.8714 GB, free: 254.7 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003144/1.48, allocations: 350 kB / 0.8717 GB, free: 254.4 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005663/1.48, allocations: 474.4 kB / 0.8722 GB, free: 254 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/1.48, allocations: 2.844 kB / 0.8722 GB, free: 254 MB / 0.67 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009759/1.481, allocations: 471.1 kB / 0.8726 GB, free: 253.8 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.072e-05/1.481, allocations: 8.594 kB / 0.8726 GB, free: 253.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/1.481, allocations: 13.45 kB / 0.8726 GB, free: 253.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.062e-05/1.482, allocations: 12.31 kB / 0.8726 GB, free: 253.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004419/1.482, allocations: 142.3 kB / 0.8728 GB, free: 253.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.001e-05/1.482, allocations: 20.86 kB / 0.8728 GB, free: 253.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003181/1.482, allocations: 48.38 kB / 0.8728 GB, free: 253.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.424e-05/1.482, allocations: 51.12 kB / 0.8729 GB, free: 253.7 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,medium.phase,state.phase,state_h_is.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 (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001643/1.483, allocations: 161.5 kB / 0.873 GB, free: 253.6 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/1.483, allocations: 29.2 kB / 0.8731 GB, free: 253.6 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002175/1.485, allocations: 2.604 MB / 0.8756 GB, free: 252.2 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-05/1.485, allocations: 22.75 kB / 0.8756 GB, free: 252.2 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/1.485, allocations: 7.906 kB / 0.8756 GB, free: 252.2 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/1.485, allocations: 10.22 kB / 0.8757 GB, free: 252.2 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007201/1.486, allocations: 0.9338 MB / 0.8766 GB, free: 251.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/1.486, allocations: 3.656 kB / 0.8766 GB, free: 251.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003182/1.486, allocations: 67.16 kB / 0.8766 GB, free: 251.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/1.486, allocations: 5.281 kB / 0.8766 GB, free: 251.5 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.434e-05/1.486, allocations: 21.86 kB / 0.8767 GB, free: 251.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/1.486, allocations: 7.906 kB / 0.8767 GB, free: 251.5 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/1.486, allocations: 3.969 kB / 0.8767 GB, free: 251.5 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008529/1.487, allocations: 0.7023 MB / 0.8774 GB, free: 251 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 6.407e-05/1.487, allocations: 126.6 kB / 0.8775 GB, free: 250.9 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/1.487, allocations: 111.2 kB / 0.8776 GB, free: 250.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002925/1.487, allocations: 19.88 kB / 0.8776 GB, free: 250.9 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/1.487, allocations: 39.67 kB / 0.8776 GB, free: 250.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-05/1.487, allocations: 17.3 kB / 0.8777 GB, free: 250.8 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004806/1.488, allocations: 0.4965 MB / 0.8781 GB, free: 250.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/1.488, allocations: 0 / 0.8781 GB, free: 250.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004688/1.493, allocations: 1.54 MB / 0.8796 GB, free: 250.2 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008456/1.501, allocations: 2.89 MB / 0.8825 GB, free: 247.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0009406/1.502, allocations: 419.3 kB / 0.8829 GB, free: 247 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/1.502, allocations: 0 / 0.8829 GB, free: 247 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002729/1.502, allocations: 218.2 kB / 0.8831 GB, free: 246.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/1.503, allocations: 141.5 kB / 0.8832 GB, free: 246.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.273/2.777, allocations: 0.6073 GB / 1.491 GB, free: 105.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/2.777, allocations: 0.9865 MB / 1.491 GB, free: 104.9 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006004/2.777, allocations: 0.5198 MB / 1.492 GB, free: 104.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003253/2.778, allocations: 339.3 kB / 1.492 GB, free: 104 MB / 0.67 GB Notification: Performance of SimCode: time 9.82e-07/2.778, allocations: 1.312 kB / 1.492 GB, free: 104 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3836/3.161, allocations: 63.54 MB / 1.554 GB, free: 265.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.7/16.86, allocations: 10.23 kB / 1.554 GB, free: 265.6 MB / 0.67 GB " [Timeout remaining time 643] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 20.458280208986253]