Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001781/0.001781, allocations: 111.4 kB / 19.69 MB, free: 2.047 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.002059/0.002059, allocations: 220.1 kB / 23.01 MB, free: 4.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.441/1.441, allocations: 207.6 MB / 233.8 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2179/0.2179, allocations: 44.23 MB / 330.3 MB, free: 9.52 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002155/0.002155, allocations: 71.91 kB / 467.5 MB, free: 4.465 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1194, allocations: 61.04 MB / 0.5162 GB, free: 7.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01749/0.1369, allocations: 13.96 MB / 0.5298 GB, free: 9.27 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2531/0.39, allocations: 26.75 MB / 0.5559 GB, free: 7.324 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002126/0.3902, allocations: 1.562 kB / 0.5559 GB, free: 7.324 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004054/0.3906, allocations: 94.02 kB / 0.556 GB, free: 7.281 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02591/0.4165, allocations: 8.54 MB / 0.5644 GB, free: 4.594 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.4175, allocations: 352.5 kB / 0.5647 GB, free: 4.406 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004149/0.4217, allocations: 2.014 MB / 0.5667 GB, free: 3.465 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.294e-05/0.4218, allocations: 18.02 kB / 0.5667 GB, free: 3.461 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004572/0.4222, allocations: 269.3 kB / 0.5669 GB, free: 3.348 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005743/0.428, allocations: 3.272 MB / 0.5701 GB, free: 1.758 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.962e-05/0.428, allocations: 10.69 kB / 0.5702 GB, free: 1.758 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02603/0.454, allocations: 10.84 MB / 0.5807 GB, free: 12.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.4542, allocations: 51.45 kB / 0.5808 GB, free: 12.12 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000297/0.4545, allocations: 136 kB / 0.5809 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01907/0.4735, allocations: 6.326 MB / 0.5871 GB, free: 8.098 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.4735, allocations: 4 kB / 0.5871 GB, free: 8.094 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4735, allocations: 0 / 0.5871 GB, free: 8.094 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.4735, allocations: 0 / 0.5871 GB, free: 8.094 MB / 430.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.005989/0.4795, allocations: 1.533 MB / 0.5886 GB, free: 7.043 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.4796, allocations: 9.625 kB / 0.5886 GB, free: 7.043 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.918e-05/0.4797, allocations: 68.34 kB / 0.5887 GB, free: 6.977 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001654/0.4813, allocations: 219.2 kB / 0.5889 GB, free: 6.883 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/0.4817, allocations: 221.2 kB / 0.5891 GB, free: 6.668 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.496e-05/0.4817, allocations: 28.78 kB / 0.5891 GB, free: 6.652 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.791e-05/0.4818, allocations: 35.14 kB / 0.5892 GB, free: 6.641 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002288/0.4841, allocations: 0.8235 MB / 0.59 GB, free: 6.113 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.4841, allocations: 3.938 kB / 0.59 GB, free: 6.109 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.192e-05/0.4841, allocations: 17.06 kB / 0.59 GB, free: 6.098 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.4841, allocations: 8.25 kB / 0.59 GB, free: 6.098 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002326/0.4865, allocations: 0.9291 MB / 0.5909 GB, free: 5.668 MB / 430.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.003371/0.4898, allocations: 2.308 MB / 0.5931 GB, free: 3.641 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/0.4912, allocations: 371.5 kB / 0.5935 GB, free: 3.445 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/0.4913, allocations: 65.08 kB / 0.5936 GB, free: 3.414 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5867/1.078, allocations: 158 MB / 0.7479 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00163/1.08, allocations: 475.7 kB / 0.7483 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=32): time 3.055e-06/1.08, allocations: 0 / 0.7483 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.003209/1.083, allocations: 0.7788 MB / 0.7491 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002212/1.083, allocations: 379.7 kB / 0.7495 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000238/1.083, allocations: 191.5 kB / 0.7496 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.603e-05/1.083, allocations: 29.7 kB / 0.7497 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/1.083, allocations: 192.2 kB / 0.7499 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/1.084, allocations: 119 kB / 0.75 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/1.084, allocations: 126.1 kB / 0.7501 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001449/1.084, allocations: 326.8 kB / 0.7504 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/1.084, allocations: 84.92 kB / 0.7505 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000427/1.085, allocations: 344.1 kB / 0.7508 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007394/1.085, allocations: 490.4 kB / 0.7513 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-06/1.085, allocations: 4 kB / 0.7513 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001/1.086, allocations: 469.6 kB / 0.7517 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/1.086, allocations: 8 kB / 0.7517 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/1.086, allocations: 12.09 kB / 0.7517 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/1.086, allocations: 12 kB / 0.7518 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004601/1.087, allocations: 143.7 kB / 0.7519 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.246e-05/1.087, allocations: 19.92 kB / 0.7519 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003778/1.087, allocations: 51.62 kB / 0.752 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.411e-05/1.087, allocations: 47.97 kB / 0.752 GB, free: 0.8047 MB / 0.5762 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.000201/1.087, allocations: 165.5 kB / 0.7522 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/1.088, allocations: 31.86 kB / 0.7522 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003089/1.091, allocations: 2.754 MB / 0.7549 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.83e-05/1.091, allocations: 19.98 kB / 0.7549 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/1.091, allocations: 4 kB / 0.7549 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/1.091, allocations: 3.984 kB / 0.7549 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/1.092, allocations: 0.9402 MB / 0.7558 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/1.092, allocations: 4 kB / 0.7558 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003327/1.092, allocations: 72.25 kB / 0.7559 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/1.092, allocations: 8 kB / 0.7559 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.898e-05/1.092, allocations: 11.98 kB / 0.7559 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/1.092, allocations: 11.94 kB / 0.7559 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/1.092, allocations: 3.938 kB / 0.7559 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/1.093, allocations: 0.7244 MB / 0.7566 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/1.093, allocations: 51.52 kB / 0.7567 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002197/1.094, allocations: 103 kB / 0.7568 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003301/1.094, allocations: 19.98 kB / 0.7568 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.142e-05/1.094, allocations: 31.89 kB / 0.7568 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/1.094, allocations: 15.98 kB / 0.7569 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007714/1.095, allocations: 0.504 MB / 0.7573 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/1.095, allocations: 0 / 0.7573 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005105/1.1, allocations: 1.524 MB / 0.7588 GB, free: 9.684 MB / 0.5919 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.01058/1.111, allocations: 2.893 MB / 0.7617 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009656/1.112, allocations: 412.3 kB / 0.7621 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.598e-05/1.112, allocations: 4.75 kB / 0.7621 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000393/1.112, allocations: 228.7 kB / 0.7623 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009485/1.113, allocations: 137 kB / 0.7624 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.409/2.522, allocations: 0.605 GB / 1.367 GB, free: 92.59 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/2.522, allocations: 0.9817 MB / 1.368 GB, free: 91.59 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005823/2.523, allocations: 0.5226 MB / 1.369 GB, free: 91.09 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003064/2.523, allocations: 339.3 kB / 1.369 GB, free: 90.75 MB / 0.5919 GB Notification: Performance of SimCode: time 1.172e-06/2.523, allocations: 0 / 1.369 GB, free: 90.75 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09278/2.616, allocations: 64.06 MB / 1.432 GB, free: 26.68 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.01/18.63, allocations: 7.859 kB / 1.432 GB, free: 26.67 MB / 0.5919 GB " [Timeout remaining time 641] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.028884353116155]