Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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.001839/0.001839, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.002416/0.002416, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.604/1.604, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2295/0.2295, allocations: 44.91 MB / 358.8 MB, free: 6.297 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002885/0.002885, allocations: 63.91 kB / 0.4931 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3646, allocations: 65.48 MB / 0.5571 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01889/0.3835, allocations: 14.04 MB / 0.5708 GB, free: 9.664 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03437/0.4179, allocations: 26.78 MB / 0.5969 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002829/0.4181, allocations: 0 / 0.5969 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004498/0.4186, allocations: 103.4 kB / 0.597 GB, free: 14.69 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02418/0.4428, allocations: 8.553 MB / 0.6054 GB, free: 6.133 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.4439, allocations: 350.4 kB / 0.6057 GB, free: 5.797 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004723/0.4486, allocations: 2.013 MB / 0.6077 GB, free: 3.758 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.883e-05/0.4487, allocations: 16.58 kB / 0.6077 GB, free: 3.738 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005827/0.4492, allocations: 270.9 kB / 0.608 GB, free: 3.473 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006653/0.4559, allocations: 3.274 MB / 0.6112 GB, free: 148 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.372e-05/0.456, allocations: 8 kB / 0.6112 GB, free: 140 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02741/0.4834, allocations: 11.67 MB / 0.6226 GB, free: 4.445 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001704/0.4835, allocations: 43.83 kB / 0.6226 GB, free: 4.402 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003576/0.4839, allocations: 143.3 kB / 0.6227 GB, free: 4.262 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02279/0.5067, allocations: 6.774 MB / 0.6294 GB, free: 13.47 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.5067, allocations: 0 / 0.6294 GB, free: 13.47 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5067, allocations: 0 / 0.6294 GB, free: 13.47 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.56e-05/0.5067, allocations: 0 / 0.6294 GB, free: 13.47 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.006007/0.5127, allocations: 1.595 MB / 0.6309 GB, free: 11.84 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/0.5128, allocations: 8.031 kB / 0.6309 GB, free: 11.83 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001174/0.5129, allocations: 74.66 kB / 0.631 GB, free: 11.75 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001631/0.5145, allocations: 188.5 kB / 0.6312 GB, free: 11.57 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004233/0.5149, allocations: 218 kB / 0.6314 GB, free: 11.33 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.214e-05/0.515, allocations: 25.03 kB / 0.6314 GB, free: 11.3 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.101e-05/0.515, allocations: 31.94 kB / 0.6314 GB, free: 11.27 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002395/0.5174, allocations: 0.7566 MB / 0.6322 GB, free: 10.46 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.5174, allocations: 0 / 0.6322 GB, free: 10.46 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.64e-05/0.5175, allocations: 19.94 kB / 0.6322 GB, free: 10.45 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.5175, allocations: 8 kB / 0.6322 GB, free: 10.44 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002242/0.5197, allocations: 0.8219 MB / 0.633 GB, free: 9.617 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.003774/0.5235, allocations: 2.421 MB / 0.6354 GB, free: 7.043 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/0.5248, allocations: 342.3 kB / 0.6357 GB, free: 6.699 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.5249, allocations: 64.83 kB / 0.6358 GB, free: 6.633 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3749/0.8998, allocations: 99.54 MB / 0.733 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001438/0.9013, allocations: 454.7 kB / 0.7334 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 5.38e-06/0.9013, allocations: 3.984 kB / 0.7334 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.004062/0.9053, allocations: 1.142 MB / 0.7345 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000212/0.9056, allocations: 381.3 kB / 0.7349 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.9058, allocations: 182.4 kB / 0.7351 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.344e-05/0.9058, allocations: 37.64 kB / 0.7351 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.906, allocations: 196.1 kB / 0.7353 GB, free: 424 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.9061, allocations: 115 kB / 0.7354 GB, free: 308 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/0.9063, allocations: 122.1 kB / 0.7355 GB, free: 180 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.2627/1.169, allocations: 330.8 kB / 0.7358 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003379/1.169, allocations: 76.22 kB / 0.7359 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003718/1.17, allocations: 347.7 kB / 0.7362 GB, free: 170 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006444/1.17, allocations: 477.7 kB / 0.7367 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/1.17, allocations: 6.094 kB / 0.7367 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001068/1.171, allocations: 476.1 kB / 0.7371 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/1.171, allocations: 9.594 kB / 0.7372 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.376e-05/1.171, allocations: 9.469 kB / 0.7372 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.683e-05/1.171, allocations: 12.5 kB / 0.7372 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001676/1.173, allocations: 210.7 kB / 0.7374 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004477/1.174, allocations: 1.191 MB / 0.7385 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003152/1.174, allocations: 21.97 kB / 0.7386 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.354e-05/1.174, allocations: 47.53 kB / 0.7386 GB, free: 168.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.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 (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002197/1.174, allocations: 162.4 kB / 0.7388 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/1.174, allocations: 26.86 kB / 0.7388 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002761/1.177, allocations: 2.988 MB / 0.7417 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.533e-05/1.177, allocations: 27.7 kB / 0.7417 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/1.177, allocations: 3.938 kB / 0.7417 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/1.177, allocations: 6.031 kB / 0.7417 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000828/1.178, allocations: 0.9781 MB / 0.7427 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/1.178, allocations: 0 / 0.7427 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005291/1.178, allocations: 101.5 kB / 0.7428 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001585/1.179, allocations: 163.2 kB / 0.7429 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/1.179, allocations: 14.91 kB / 0.743 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002515/1.179, allocations: 0.6459 MB / 0.7436 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/1.179, allocations: 3.969 kB / 0.7436 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009363/1.18, allocations: 0.9969 MB / 0.7446 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.64e-05/1.18, allocations: 57.19 kB / 0.7446 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/1.18, allocations: 96.62 kB / 0.7447 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002895/1.18, allocations: 18.83 kB / 0.7447 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/1.18, allocations: 32.86 kB / 0.7448 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-05/1.18, allocations: 23.33 kB / 0.7448 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004102/1.181, allocations: 468.4 kB / 0.7452 GB, free: 165 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.181, allocations: 0 / 0.7452 GB, free: 165 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003722/1.185, allocations: 1.642 MB / 0.7468 GB, free: 164.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: 11 ($cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007176/1.192, allocations: 3.173 MB / 0.7499 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001466/1.193, allocations: 0.5362 MB / 0.7505 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/1.193, allocations: 4 kB / 0.7505 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003207/1.193, allocations: 297.1 kB / 0.7507 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007665/1.194, allocations: 122.3 kB / 0.7509 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7252/1.919, allocations: 353.3 MB / 1.096 GB, free: 114.3 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/1.92, allocations: 0.9897 MB / 1.097 GB, free: 113.3 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006114/1.92, allocations: 0.5033 MB / 1.097 GB, free: 112.8 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003048/1.921, allocations: 319.3 kB / 1.098 GB, free: 112.5 MB / 0.6231 GB Notification: Performance of SimCode: time 1.633e-06/1.921, allocations: 0 / 1.098 GB, free: 112.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1015/2.022, allocations: 67.16 MB / 1.163 GB, free: 45.43 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.88/19.9, allocations: 0 / 1.163 GB, free: 45.43 MB / 0.6231 GB " [Timeout remaining time 640] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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.58310588495806]