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.001252/0.001252, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001724/0.001724, allocations: 212.3 kB / 24.53 MB, free: 4.07 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.45/1.45, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.235/0.235, allocations: 46.94 MB / 361.7 MB, free: 4.277 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 63.89 kB / 0.497 GB, free: 7.871 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.3749, allocations: 66.04 MB / 0.5615 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01902/0.3939, allocations: 14.04 MB / 0.5752 GB, free: 6.375 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03382/0.4277, allocations: 26.78 MB / 0.6013 GB, free: 11.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001925/0.4279, allocations: 0 / 0.6013 GB, free: 11.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003663/0.4283, allocations: 103.4 kB / 0.6014 GB, free: 11.4 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02262/0.4509, allocations: 8.557 MB / 0.6098 GB, free: 2.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009385/0.4519, allocations: 354.2 kB / 0.6101 GB, free: 2.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004195/0.456, allocations: 2.017 MB / 0.6121 GB, free: 468 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.559e-05/0.4561, allocations: 8.594 kB / 0.6121 GB, free: 456 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006147/0.4567, allocations: 282.8 kB / 0.6124 GB, free: 172 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006888/0.4636, allocations: 3.27 MB / 0.6156 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.614e-05/0.4637, allocations: 12 kB / 0.6156 GB, free: 12.83 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.024/0.4877, allocations: 10.87 MB / 0.6262 GB, free: 1.949 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001731/0.4879, allocations: 59.69 kB / 0.6262 GB, free: 1.891 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003184/0.4882, allocations: 135.4 kB / 0.6264 GB, free: 1.758 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01914/0.5073, allocations: 6.345 MB / 0.6326 GB, free: 11.4 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.5073, allocations: 0 / 0.6326 GB, free: 11.4 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5074, allocations: 0 / 0.6326 GB, free: 11.4 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.5074, allocations: 0 / 0.6326 GB, free: 11.4 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.005311/0.5127, allocations: 1.537 MB / 0.6341 GB, free: 9.824 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.5127, allocations: 8.031 kB / 0.6341 GB, free: 9.816 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.437e-05/0.5127, allocations: 12.84 kB / 0.6341 GB, free: 9.805 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.433e-05/0.5128, allocations: 70.72 kB / 0.6342 GB, free: 9.727 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00171/0.5145, allocations: 220.5 kB / 0.6344 GB, free: 9.512 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000371/0.5149, allocations: 214.2 kB / 0.6346 GB, free: 9.277 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.548e-05/0.5149, allocations: 28.78 kB / 0.6346 GB, free: 9.25 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.121e-05/0.515, allocations: 32 kB / 0.6346 GB, free: 9.219 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002507/0.5175, allocations: 0.8174 MB / 0.6354 GB, free: 8.355 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.5175, allocations: 3.938 kB / 0.6354 GB, free: 8.352 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.64e-05/0.5176, allocations: 19.92 kB / 0.6354 GB, free: 8.332 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.5176, allocations: 8 kB / 0.6355 GB, free: 8.324 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002645/0.5202, allocations: 0.9391 MB / 0.6364 GB, free: 7.387 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.003425/0.5236, allocations: 2.288 MB / 0.6386 GB, free: 4.953 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/0.5251, allocations: 384.9 kB / 0.639 GB, free: 4.57 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/0.5253, allocations: 76.69 kB / 0.639 GB, free: 4.492 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8717/1.397, allocations: 160.4 MB / 0.7957 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001372/1.398, allocations: 481.4 kB / 0.7961 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 2.355e-06/1.398, allocations: 4 kB / 0.7961 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.002867/1.401, allocations: 0.7775 MB / 0.7969 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.322e-05/1.401, allocations: 379.9 kB / 0.7973 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/1.401, allocations: 184.4 kB / 0.7974 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.641e-05/1.401, allocations: 33.7 kB / 0.7975 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.386e-05/1.402, allocations: 183.7 kB / 0.7976 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.128e-05/1.402, allocations: 121.4 kB / 0.7977 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/1.402, allocations: 122.1 kB / 0.7979 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.919e-05/1.402, allocations: 338.8 kB / 0.7982 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/1.402, allocations: 81.59 kB / 0.7983 GB, free: 113.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002767/1.402, allocations: 344.1 kB / 0.7986 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005345/1.403, allocations: 486.5 kB / 0.7991 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/1.403, allocations: 3.938 kB / 0.7991 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008332/1.404, allocations: 465.4 kB / 0.7995 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/1.404, allocations: 12 kB / 0.7995 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/1.404, allocations: 8 kB / 0.7995 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.608e-05/1.404, allocations: 15.84 kB / 0.7995 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004416/1.404, allocations: 139.8 kB / 0.7997 GB, free: 112 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/1.404, allocations: 19.92 kB / 0.7997 GB, free: 112 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003021/1.404, allocations: 57.03 kB / 0.7997 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.692e-05/1.405, allocations: 40.3 kB / 0.7998 GB, free: 111.9 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.0001652/1.405, allocations: 172.8 kB / 0.8 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.999e-05/1.405, allocations: 23.86 kB / 0.8 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002118/1.407, allocations: 2.745 MB / 0.8027 GB, free: 109 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.859e-05/1.407, allocations: 19.98 kB / 0.8027 GB, free: 109 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/1.407, allocations: 3.047 kB / 0.8027 GB, free: 109 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/1.407, allocations: 11.98 kB / 0.8027 GB, free: 108.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008159/1.408, allocations: 0.9328 MB / 0.8036 GB, free: 108 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/1.408, allocations: 4 kB / 0.8036 GB, free: 108 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003247/1.408, allocations: 80.36 kB / 0.8037 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/1.408, allocations: 4 kB / 0.8037 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/1.408, allocations: 12 kB / 0.8037 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/1.408, allocations: 11.98 kB / 0.8037 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/1.408, allocations: 3.188 kB / 0.8037 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008811/1.409, allocations: 0.7165 MB / 0.8044 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.438e-05/1.409, allocations: 60.2 kB / 0.8045 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/1.409, allocations: 103 kB / 0.8046 GB, free: 107 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002985/1.409, allocations: 20.05 kB / 0.8046 GB, free: 107 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.684e-05/1.41, allocations: 39.83 kB / 0.8046 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/1.41, allocations: 19.98 kB / 0.8046 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004915/1.41, allocations: 0.5001 MB / 0.8051 GB, free: 106.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.41, allocations: 0 / 0.8051 GB, free: 106.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004062/1.414, allocations: 1.532 MB / 0.8066 GB, free: 104.9 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.008202/1.422, allocations: 2.91 MB / 0.8095 GB, free: 102 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008672/1.423, allocations: 424.1 kB / 0.8099 GB, free: 101.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/1.423, allocations: 0 / 0.8099 GB, free: 101.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002798/1.423, allocations: 220.7 kB / 0.8101 GB, free: 101.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009084/1.424, allocations: 138.6 kB / 0.8102 GB, free: 101.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.314/2.739, allocations: 0.6073 GB / 1.418 GB, free: 49.92 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/2.739, allocations: 0.9856 MB / 1.418 GB, free: 48.91 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005948/2.739, allocations: 0.522 MB / 1.419 GB, free: 48.4 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003389/2.74, allocations: 342.8 kB / 1.419 GB, free: 48.07 MB / 0.6387 GB Notification: Performance of SimCode: time 9.42e-07/2.74, allocations: 0 / 1.419 GB, free: 48.07 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3316/3.071, allocations: 64.24 MB / 1.482 GB, free: 208.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.65/19.72, allocations: 10 kB / 1.482 GB, free: 208.7 MB / 0.6387 GB " [Timeout remaining time 640] (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: 23.543507178022992]