Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00136/0.00136, allocations: 116.4 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001977/0.001977, allocations: 215.1 kB / 23.75 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 230.5 MB / 257.4 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2393/0.2393, allocations: 46.93 MB / 360.8 MB, free: 4.176 MB / 286.1 MB " [Timeout remaining time 180] 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_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002456/0.002456, allocations: 87.84 kB / 0.4963 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3566, allocations: 66.08 MB / 0.5608 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.02118/0.3777, allocations: 14.04 MB / 0.5745 GB, free: 6.152 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03636/0.4141, allocations: 26.77 MB / 0.6006 GB, free: 11.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002971/0.4144, allocations: 3.938 kB / 0.6006 GB, free: 11.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004648/0.4149, allocations: 99.44 kB / 0.6007 GB, free: 11.19 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02654/0.4414, allocations: 8.564 MB / 0.6091 GB, free: 2.625 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.4424, allocations: 357.4 kB / 0.6094 GB, free: 2.281 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004565/0.447, allocations: 2.01 MB / 0.6114 GB, free: 252 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.968e-05/0.4471, allocations: 12.58 kB / 0.6114 GB, free: 236 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000702/0.4478, allocations: 290.8 kB / 0.6117 GB, free: 15.95 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007115/0.4549, allocations: 3.27 MB / 0.6149 GB, free: 12.62 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.625e-05/0.455, allocations: 12 kB / 0.6149 GB, free: 12.61 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02291/0.4779, allocations: 10.86 MB / 0.6255 GB, free: 1.734 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001408/0.478, allocations: 55.75 kB / 0.6255 GB, free: 1.68 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002884/0.4783, allocations: 143.3 kB / 0.6257 GB, free: 1.539 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0173/0.4956, allocations: 6.337 MB / 0.6319 GB, free: 11.19 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.4956, allocations: 0 / 0.6319 GB, free: 11.19 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4956, allocations: 0 / 0.6319 GB, free: 11.19 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.4956, allocations: 0 / 0.6319 GB, free: 11.19 MB / 478.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.007187/0.5028, allocations: 1.537 MB / 0.6334 GB, free: 9.613 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.786e-05/0.5029, allocations: 11.97 kB / 0.6334 GB, free: 9.602 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001333/0.503, allocations: 70.72 kB / 0.6335 GB, free: 9.523 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002846/0.5059, allocations: 224.5 kB / 0.6337 GB, free: 9.305 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000539/0.5064, allocations: 214.2 kB / 0.6339 GB, free: 9.07 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.564e-05/0.5065, allocations: 21.03 kB / 0.6339 GB, free: 9.051 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.477e-05/0.5065, allocations: 35.94 kB / 0.6339 GB, free: 9.016 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003758/0.5103, allocations: 0.8251 MB / 0.6347 GB, free: 8.145 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.5103, allocations: 0 / 0.6347 GB, free: 8.145 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.156e-05/0.5104, allocations: 12 kB / 0.6347 GB, free: 8.133 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.5104, allocations: 16 kB / 0.6348 GB, free: 8.117 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004137/0.5145, allocations: 0.939 MB / 0.6357 GB, free: 7.18 MB / 478.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.004947/0.5195, allocations: 2.296 MB / 0.6379 GB, free: 4.738 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002439/0.5219, allocations: 378.1 kB / 0.6383 GB, free: 4.359 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.5221, allocations: 68.81 kB / 0.6383 GB, free: 4.289 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8474/1.37, allocations: 160.4 MB / 0.795 GB, free: 116 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00139/1.371, allocations: 470 kB / 0.7954 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 2.194e-06/1.371, allocations: 0 / 0.7954 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.002784/1.374, allocations: 0.7887 MB / 0.7962 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.239e-05/1.374, allocations: 375.7 kB / 0.7966 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/1.374, allocations: 184.5 kB / 0.7967 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/1.374, allocations: 33.55 kB / 0.7968 GB, free: 114 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.172e-05/1.374, allocations: 195.8 kB / 0.7969 GB, free: 113.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.552e-05/1.374, allocations: 120.3 kB / 0.7971 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/1.374, allocations: 122.1 kB / 0.7972 GB, free: 113.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.237e-05/1.374, allocations: 330.6 kB / 0.7975 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/1.374, allocations: 84.94 kB / 0.7976 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002662/1.375, allocations: 344.1 kB / 0.7979 GB, free: 112.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004922/1.375, allocations: 481 kB / 0.7984 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/1.375, allocations: 4 kB / 0.7984 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007462/1.376, allocations: 464.9 kB / 0.7988 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/1.376, allocations: 14.28 kB / 0.7988 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/1.376, allocations: 8.812 kB / 0.7988 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.543e-05/1.376, allocations: 16 kB / 0.7988 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003953/1.376, allocations: 143.8 kB / 0.799 GB, free: 111.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/1.376, allocations: 22.97 kB / 0.799 GB, free: 111.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002853/1.377, allocations: 49.09 kB / 0.799 GB, free: 111.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.263e-05/1.377, allocations: 43.98 kB / 0.7991 GB, free: 111.4 MB / 0.5606 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.0001226/1.377, allocations: 170.1 kB / 0.7993 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.131e-05/1.377, allocations: 27.86 kB / 0.7993 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001938/1.379, allocations: 2.757 MB / 0.802 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.598e-05/1.379, allocations: 15.98 kB / 0.802 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/1.379, allocations: 7.125 kB / 0.802 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/1.379, allocations: 7.984 kB / 0.802 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006501/1.38, allocations: 0.9291 MB / 0.8029 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/1.38, allocations: 4 kB / 0.8029 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003005/1.38, allocations: 75.86 kB / 0.803 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/1.38, allocations: 4 kB / 0.803 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/1.38, allocations: 12.19 kB / 0.803 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/1.38, allocations: 11.98 kB / 0.803 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/1.38, allocations: 7.938 kB / 0.803 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007432/1.381, allocations: 0.7204 MB / 0.8037 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.846e-05/1.381, allocations: 60.2 kB / 0.8038 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/1.381, allocations: 103 kB / 0.8039 GB, free: 106.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002801/1.381, allocations: 15.98 kB / 0.8039 GB, free: 106.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.925e-05/1.381, allocations: 27.89 kB / 0.8039 GB, free: 106.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/1.381, allocations: 19.98 kB / 0.8039 GB, free: 106.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004351/1.382, allocations: 0.5038 MB / 0.8044 GB, free: 106 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.382, allocations: 0 / 0.8044 GB, free: 106 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003738/1.385, allocations: 1.536 MB / 0.8059 GB, free: 104.4 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: 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.006212/1.392, allocations: 2.918 MB / 0.8088 GB, free: 101.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006818/1.392, allocations: 420.2 kB / 0.8092 GB, free: 101.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/1.392, allocations: 0 / 0.8092 GB, free: 101.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002514/1.392, allocations: 233.6 kB / 0.8094 GB, free: 101 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007519/1.393, allocations: 130.7 kB / 0.8095 GB, free: 100.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.259/2.652, allocations: 0.6073 GB / 1.417 GB, free: 65.38 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/2.652, allocations: 0.9905 MB / 1.418 GB, free: 64.36 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005732/2.653, allocations: 0.5199 MB / 1.418 GB, free: 63.85 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002965/2.653, allocations: 339.3 kB / 1.419 GB, free: 63.52 MB / 0.6387 GB Notification: Performance of SimCode: time 8.52e-07/2.653, allocations: 0 / 1.419 GB, free: 63.52 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3655/3.018, allocations: 64.22 MB / 1.481 GB, free: 241.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.45/19.47, allocations: 4.344 kB / 1.481 GB, free: 241.5 MB / 0.6387 GB " [Timeout remaining time 640] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 22.887451770016924]