Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001254/0.001254, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001535/0.001535, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.446/1.446, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.2229/0.2229, allocations: 46.93 MB / 361.6 MB, free: 4.293 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_pT,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 63.91 kB / 0.497 GB, free: 7.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3377, allocations: 66.04 MB / 0.5615 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01958/0.3573, allocations: 14.04 MB / 0.5752 GB, free: 6.344 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03338/0.3907, allocations: 26.78 MB / 0.6013 GB, free: 11.47 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002041/0.3909, allocations: 4 kB / 0.6013 GB, free: 11.47 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000392/0.3913, allocations: 95.39 kB / 0.6014 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02532/0.4166, allocations: 8.554 MB / 0.6098 GB, free: 2.816 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.4177, allocations: 358.4 kB / 0.6101 GB, free: 2.473 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00421/0.4219, allocations: 2.013 MB / 0.6121 GB, free: 444 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.171e-05/0.4219, allocations: 12.59 kB / 0.6121 GB, free: 428 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000529/0.4225, allocations: 270.9 kB / 0.6124 GB, free: 156 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006471/0.4289, allocations: 3.27 MB / 0.6155 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.069e-05/0.429, allocations: 12 kB / 0.6156 GB, free: 12.81 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0245/0.4535, allocations: 11.67 MB / 0.627 GB, free: 1.133 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.4537, allocations: 47.81 kB / 0.627 GB, free: 1.086 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000321/0.454, allocations: 135.3 kB / 0.6271 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01904/0.473, allocations: 6.778 MB / 0.6337 GB, free: 10.16 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.757e-06/0.473, allocations: 3.984 kB / 0.6337 GB, free: 10.16 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.473, allocations: 0 / 0.6337 GB, free: 10.16 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.473, allocations: 0 / 0.6337 GB, free: 10.16 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.005611/0.4787, allocations: 1.597 MB / 0.6353 GB, free: 8.523 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.868e-05/0.4787, allocations: 12.03 kB / 0.6353 GB, free: 8.512 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.529e-05/0.4787, allocations: 12.83 kB / 0.6353 GB, free: 8.5 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.266e-05/0.4788, allocations: 70.73 kB / 0.6354 GB, free: 8.422 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001547/0.4804, allocations: 192.5 kB / 0.6356 GB, free: 8.234 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/0.4808, allocations: 214 kB / 0.6358 GB, free: 8 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.4808, allocations: 28.78 kB / 0.6358 GB, free: 7.973 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.013e-05/0.4808, allocations: 28 kB / 0.6358 GB, free: 7.945 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002316/0.4832, allocations: 0.7527 MB / 0.6366 GB, free: 7.141 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.4832, allocations: 11.92 kB / 0.6366 GB, free: 7.129 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.473e-05/0.4832, allocations: 16 kB / 0.6366 GB, free: 7.113 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.4832, allocations: 8 kB / 0.6366 GB, free: 7.105 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002301/0.4855, allocations: 0.8258 MB / 0.6374 GB, free: 6.281 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.0035/0.489, allocations: 2.421 MB / 0.6398 GB, free: 3.707 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001266/0.4903, allocations: 344.9 kB / 0.6401 GB, free: 3.363 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.4904, allocations: 64.83 kB / 0.6402 GB, free: 3.297 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.626/1.116, allocations: 99.54 MB / 0.7374 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0016/1.118, allocations: 449 kB / 0.7378 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.274e-06/1.118, allocations: 0.5938 kB / 0.7378 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.004247/1.122, allocations: 1.144 MB / 0.7389 GB, free: 167.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/1.122, allocations: 378.1 kB / 0.7393 GB, free: 166.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/1.123, allocations: 184 kB / 0.7395 GB, free: 166.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/1.123, allocations: 31.61 kB / 0.7395 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.426e-05/1.123, allocations: 190.8 kB / 0.7397 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.868e-05/1.123, allocations: 114.9 kB / 0.7398 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002006/1.123, allocations: 123.5 kB / 0.7399 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.376e-05/1.123, allocations: 330.9 kB / 0.7402 GB, free: 166 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/1.123, allocations: 79.84 kB / 0.7403 GB, free: 166 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000357/1.124, allocations: 355.3 kB / 0.7406 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000556/1.124, allocations: 483 kB / 0.7411 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/1.124, allocations: 1.781 kB / 0.7411 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007979/1.125, allocations: 472.6 kB / 0.7415 GB, free: 165 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/1.125, allocations: 13.03 kB / 0.7416 GB, free: 165 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/1.125, allocations: 7.875 kB / 0.7416 GB, free: 165 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.709e-05/1.125, allocations: 12.55 kB / 0.7416 GB, free: 165 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001564/1.127, allocations: 214.9 kB / 0.7418 GB, free: 165 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003643/1.127, allocations: 1.18 MB / 0.7429 GB, free: 163.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002893/1.127, allocations: 30.38 kB / 0.743 GB, free: 163.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.341e-05/1.127, allocations: 51.77 kB / 0.743 GB, free: 163.8 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.0001603/1.127, allocations: 165.8 kB / 0.7432 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.897e-05/1.128, allocations: 27.48 kB / 0.7432 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002203/1.13, allocations: 2.989 MB / 0.7461 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-05/1.13, allocations: 23.02 kB / 0.7461 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/1.13, allocations: 7 kB / 0.7461 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/1.13, allocations: 7.703 kB / 0.7462 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000803/1.131, allocations: 0.9699 MB / 0.7471 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/1.131, allocations: 7.062 kB / 0.7471 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005132/1.131, allocations: 97.44 kB / 0.7472 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001833/1.131, allocations: 164.8 kB / 0.7474 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/1.131, allocations: 11.59 kB / 0.7474 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002902/1.132, allocations: 0.6515 MB / 0.748 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/1.132, allocations: 3.938 kB / 0.748 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/1.133, allocations: 0.9863 MB / 0.749 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.058e-05/1.133, allocations: 60.02 kB / 0.749 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/1.133, allocations: 96.53 kB / 0.7491 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002945/1.133, allocations: 12.81 kB / 0.7491 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.303e-05/1.133, allocations: 40.53 kB / 0.7492 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/1.133, allocations: 19.62 kB / 0.7492 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004371/1.134, allocations: 472.1 kB / 0.7496 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/1.134, allocations: 0 / 0.7496 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004649/1.138, allocations: 1.638 MB / 0.7512 GB, free: 160.3 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.009492/1.148, allocations: 3.182 MB / 0.7543 GB, free: 157.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001734/1.149, allocations: 0.5414 MB / 0.7549 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/1.149, allocations: 0 / 0.7549 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003702/1.15, allocations: 297.6 kB / 0.7552 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009247/1.151, allocations: 119.9 kB / 0.7553 GB, free: 157 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6561/1.807, allocations: 353.3 MB / 1.1 GB, free: 137.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/1.807, allocations: 0.9852 MB / 1.101 GB, free: 136.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005643/1.808, allocations: 0.5019 MB / 1.102 GB, free: 135.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002979/1.808, allocations: 319.3 kB / 1.102 GB, free: 135.4 MB / 0.6387 GB Notification: Performance of SimCode: time 7.01e-07/1.808, allocations: 8 kB / 1.102 GB, free: 135.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08854/1.897, allocations: 67.18 MB / 1.168 GB, free: 68.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.45/20.35, allocations: 7.625 kB / 1.168 GB, free: 68.39 MB / 0.6387 GB " [Timeout remaining time 639] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 24.206194127968047]