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.001761/0.001761, allocations: 109 kB / 20.48 MB, free: 1.492 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.002207/0.002207, allocations: 213.7 kB / 23.79 MB, free: 4.707 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.459/1.459, allocations: 207.6 MB / 234.6 MB, free: 9.996 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.2226/0.2226, allocations: 44.24 MB / 331 MB, free: 9.629 MB / 270.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="cs",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.002219/0.002219, allocations: 63.91 kB / 468.3 MB, free: 4.508 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1416, allocations: 61.04 MB / 0.517 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01918/0.1608, allocations: 13.96 MB / 0.5306 GB, free: 9.309 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3038/0.4646, allocations: 26.75 MB / 0.5567 GB, free: 7.402 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002819/0.4649, allocations: 1.156 kB / 0.5567 GB, free: 7.402 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004575/0.4653, allocations: 92.7 kB / 0.5568 GB, free: 7.363 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03246/0.4978, allocations: 8.538 MB / 0.5651 GB, free: 4.633 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009829/0.4988, allocations: 348.6 kB / 0.5655 GB, free: 4.449 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004302/0.5031, allocations: 2.01 MB / 0.5674 GB, free: 3.512 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.799e-05/0.5032, allocations: 20.17 kB / 0.5674 GB, free: 3.504 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004754/0.5036, allocations: 270.3 kB / 0.5677 GB, free: 3.391 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006246/0.5099, allocations: 3.271 MB / 0.5709 GB, free: 1.797 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.553e-05/0.5099, allocations: 10.5 kB / 0.5709 GB, free: 1.797 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02611/0.536, allocations: 10.85 MB / 0.5815 GB, free: 12.19 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001339/0.5362, allocations: 47.2 kB / 0.5816 GB, free: 12.15 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003192/0.5365, allocations: 138.9 kB / 0.5817 GB, free: 12.08 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02395/0.5604, allocations: 6.327 MB / 0.5879 GB, free: 8.125 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.5604, allocations: 0 / 0.5879 GB, free: 8.125 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.5605, allocations: 0 / 0.5879 GB, free: 8.125 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.5605, allocations: 0 / 0.5879 GB, free: 8.125 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.006944/0.5674, allocations: 1.534 MB / 0.5894 GB, free: 7.074 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.5675, allocations: 8.438 kB / 0.5894 GB, free: 7.074 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.343e-05/0.5675, allocations: 8.125 kB / 0.5894 GB, free: 7.074 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.53e-05/0.5676, allocations: 69.31 kB / 0.5894 GB, free: 7.008 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001796/0.5694, allocations: 226.9 kB / 0.5897 GB, free: 6.906 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004755/0.5698, allocations: 214.6 kB / 0.5899 GB, free: 6.699 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.536e-05/0.5699, allocations: 24.06 kB / 0.5899 GB, free: 6.688 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.098e-05/0.5699, allocations: 32.34 kB / 0.5899 GB, free: 6.676 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00243/0.5723, allocations: 0.8224 MB / 0.5907 GB, free: 6.148 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.5724, allocations: 6.75 kB / 0.5907 GB, free: 6.145 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.676e-05/0.5724, allocations: 16.94 kB / 0.5907 GB, free: 6.133 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.5724, allocations: 11.53 kB / 0.5908 GB, free: 6.129 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002488/0.5749, allocations: 0.9373 MB / 0.5917 GB, free: 5.691 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.003495/0.5784, allocations: 2.298 MB / 0.5939 GB, free: 3.676 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.5798, allocations: 366.2 kB / 0.5943 GB, free: 3.484 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.58, allocations: 73.59 kB / 0.5943 GB, free: 3.445 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6119/1.192, allocations: 158 MB / 0.7487 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001992/1.194, allocations: 478.3 kB / 0.7491 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=32): time 4.268e-06/1.194, allocations: 3.938 kB / 0.7491 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.00357/1.197, allocations: 0.7864 MB / 0.7499 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002692/1.198, allocations: 375.7 kB / 0.7502 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002738/1.198, allocations: 179.2 kB / 0.7504 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.578e-05/1.198, allocations: 37.7 kB / 0.7505 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/1.198, allocations: 192.1 kB / 0.7506 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000142/1.198, allocations: 119 kB / 0.7507 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/1.199, allocations: 126.2 kB / 0.7509 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001643/1.199, allocations: 334.8 kB / 0.7512 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/1.199, allocations: 84.94 kB / 0.7513 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004707/1.199, allocations: 336.1 kB / 0.7516 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008013/1.2, allocations: 488 kB / 0.7521 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/1.2, allocations: 4 kB / 0.7521 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001112/1.201, allocations: 475.5 kB / 0.7525 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/1.201, allocations: 8 kB / 0.7525 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/1.201, allocations: 8 kB / 0.7525 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.875e-05/1.201, allocations: 16 kB / 0.7525 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000478/1.202, allocations: 140.4 kB / 0.7527 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.529e-05/1.202, allocations: 15.94 kB / 0.7527 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003875/1.202, allocations: 51.69 kB / 0.7527 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.582e-05/1.202, allocations: 47.97 kB / 0.7528 GB, free: 0.832 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.0002767/1.203, allocations: 169.4 kB / 0.7529 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/1.203, allocations: 31.84 kB / 0.753 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003665/1.207, allocations: 2.753 MB / 0.7557 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.725e-05/1.207, allocations: 19.97 kB / 0.7557 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.417e-05/1.207, allocations: 5.125 kB / 0.7557 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.535e-05/1.207, allocations: 4 kB / 0.7557 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00165/1.208, allocations: 0.9393 MB / 0.7566 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.621e-05/1.208, allocations: 4 kB / 0.7566 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004029/1.209, allocations: 67.88 kB / 0.7567 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.201e-05/1.209, allocations: 4 kB / 0.7567 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.136e-05/1.209, allocations: 15.98 kB / 0.7567 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.448e-06/1.209, allocations: 7.984 kB / 0.7567 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.057e-05/1.209, allocations: 13.19 kB / 0.7567 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/1.21, allocations: 0.7205 MB / 0.7574 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/1.21, allocations: 55.52 kB / 0.7575 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002066/1.21, allocations: 99.03 kB / 0.7576 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003719/1.211, allocations: 19.98 kB / 0.7576 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.579e-05/1.211, allocations: 39.81 kB / 0.7576 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.129e-05/1.211, allocations: 16 kB / 0.7576 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000711/1.212, allocations: 0.5078 MB / 0.7581 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.1e-08/1.212, allocations: 0 / 0.7581 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006036/1.218, allocations: 1.516 MB / 0.7596 GB, free: 9.703 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.01176/1.229, allocations: 2.897 MB / 0.7624 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001115/1.23, allocations: 407.7 kB / 0.7628 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.23, allocations: 0 / 0.7628 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004388/1.231, allocations: 238.7 kB / 0.7631 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/1.232, allocations: 127.1 kB / 0.7632 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.58/2.812, allocations: 0.605 GB / 1.368 GB, free: 92.73 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/2.812, allocations: 0.9817 MB / 1.369 GB, free: 91.73 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005547/2.813, allocations: 0.5184 MB / 1.37 GB, free: 91.23 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002962/2.813, allocations: 339.3 kB / 1.37 GB, free: 90.89 MB / 0.5919 GB Notification: Performance of SimCode: time 6.81e-07/2.813, allocations: 0 / 1.37 GB, free: 90.89 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08587/2.899, allocations: 64.08 MB / 1.433 GB, free: 26.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.59/19.49, allocations: 4.062 kB / 1.433 GB, free: 26.8 MB / 0.5919 GB " [Timeout remaining time 640] (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: 23.453064934990834]