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.001406/0.001406, allocations: 112.5 kB / 21.22 MB, free: 0.7422 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.001417/0.001417, allocations: 213.1 kB / 24.53 MB, free: 4.129 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.497/1.497, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.2164/0.2164, allocations: 44.91 MB / 359.6 MB, free: 6.281 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="cs",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.002005/0.002005, allocations: 72.19 kB / 0.4939 GB, free: 10.67 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3762/0.3782, allocations: 65.48 MB / 0.5579 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.02117/0.3994, allocations: 14.04 MB / 0.5716 GB, free: 9.676 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03444/0.4338, allocations: 26.78 MB / 0.5977 GB, free: 14.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002173/0.434, allocations: 0 / 0.5977 GB, free: 14.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003977/0.4344, allocations: 95.39 kB / 0.5978 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02494/0.4594, allocations: 8.552 MB / 0.6062 GB, free: 6.152 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.4604, allocations: 366.5 kB / 0.6065 GB, free: 5.801 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004523/0.465, allocations: 2.006 MB / 0.6085 GB, free: 3.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.812e-05/0.465, allocations: 12.59 kB / 0.6085 GB, free: 3.754 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005953/0.4656, allocations: 274.8 kB / 0.6087 GB, free: 3.484 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007021/0.4727, allocations: 3.274 MB / 0.6119 GB, free: 160 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.326e-05/0.4727, allocations: 12 kB / 0.6119 GB, free: 148 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02724/0.5, allocations: 11.65 MB / 0.6233 GB, free: 4.477 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001635/0.5001, allocations: 63.67 kB / 0.6234 GB, free: 4.414 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003101/0.5005, allocations: 135.4 kB / 0.6235 GB, free: 4.281 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02103/0.5215, allocations: 6.782 MB / 0.6301 GB, free: 13.48 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.5215, allocations: 0 / 0.6301 GB, free: 13.48 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5215, allocations: 0 / 0.6301 GB, free: 13.48 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.112e-05/0.5215, allocations: 0 / 0.6301 GB, free: 13.48 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.00664/0.5282, allocations: 1.591 MB / 0.6317 GB, free: 11.86 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.052e-05/0.5282, allocations: 8.031 kB / 0.6317 GB, free: 11.85 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.246e-05/0.5282, allocations: 12.84 kB / 0.6317 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001176/0.5284, allocations: 70.72 kB / 0.6318 GB, free: 11.76 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001709/0.5301, allocations: 188.5 kB / 0.632 GB, free: 11.57 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004552/0.5305, allocations: 214 kB / 0.6322 GB, free: 11.34 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.896e-05/0.5306, allocations: 28.78 kB / 0.6322 GB, free: 11.31 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.358e-05/0.5306, allocations: 32 kB / 0.6322 GB, free: 11.28 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002345/0.533, allocations: 0.7565 MB / 0.633 GB, free: 10.47 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.533, allocations: 0 / 0.633 GB, free: 10.47 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.621e-05/0.533, allocations: 16 kB / 0.633 GB, free: 10.46 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.533, allocations: 8 kB / 0.633 GB, free: 10.45 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00227/0.5353, allocations: 0.818 MB / 0.6338 GB, free: 9.633 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.00385/0.5392, allocations: 2.429 MB / 0.6361 GB, free: 7.051 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/0.5405, allocations: 346.3 kB / 0.6365 GB, free: 6.703 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.5407, allocations: 64.92 kB / 0.6365 GB, free: 6.637 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3878/0.9284, allocations: 99.54 MB / 0.7338 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001543/0.93, allocations: 458.7 kB / 0.7342 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 4.689e-06/0.93, allocations: 4 kB / 0.7342 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.004196/0.9342, allocations: 1.137 MB / 0.7353 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003174/0.9345, allocations: 377.3 kB / 0.7357 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/0.9347, allocations: 182.3 kB / 0.7358 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.139e-05/0.9348, allocations: 33.7 kB / 0.7359 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.935, allocations: 192.2 kB / 0.7361 GB, free: 436 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.9351, allocations: 115 kB / 0.7362 GB, free: 320 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002033/0.9353, allocations: 126.1 kB / 0.7363 GB, free: 188 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.2829/1.218, allocations: 326.8 kB / 0.7366 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003826/1.219, allocations: 76.59 kB / 0.7367 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004136/1.219, allocations: 357.8 kB / 0.737 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006895/1.22, allocations: 481.4 kB / 0.7375 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/1.22, allocations: 2.781 kB / 0.7375 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001194/1.221, allocations: 479 kB / 0.7379 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.173e-05/1.221, allocations: 9.766 kB / 0.7379 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.608e-05/1.221, allocations: 9.125 kB / 0.7379 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.971e-05/1.221, allocations: 14.84 kB / 0.738 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001814/1.223, allocations: 205.8 kB / 0.7382 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004807/1.223, allocations: 1.188 MB / 0.7393 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003366/1.224, allocations: 21.75 kB / 0.7393 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.41e-05/1.224, allocations: 45.22 kB / 0.7394 GB, free: 168.5 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.0002308/1.224, allocations: 167.1 kB / 0.7395 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/1.224, allocations: 27.28 kB / 0.7396 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003181/1.227, allocations: 2.988 MB / 0.7425 GB, free: 167.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.959e-05/1.227, allocations: 23.61 kB / 0.7425 GB, free: 167.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.699e-06/1.227, allocations: 3.562 kB / 0.7425 GB, free: 167.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/1.227, allocations: 5.297 kB / 0.7425 GB, free: 167.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/1.228, allocations: 0.9741 MB / 0.7435 GB, free: 166.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.415e-06/1.228, allocations: 6.844 kB / 0.7435 GB, free: 166.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005503/1.229, allocations: 108 kB / 0.7436 GB, free: 166.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000185/1.229, allocations: 158.3 kB / 0.7437 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.676e-05/1.229, allocations: 19.61 kB / 0.7437 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002771/1.229, allocations: 0.6373 MB / 0.7444 GB, free: 166 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.229, allocations: 3.938 kB / 0.7444 GB, free: 166 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/1.231, allocations: 1.008 MB / 0.7454 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.427e-05/1.231, allocations: 56.28 kB / 0.7454 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/1.231, allocations: 92.67 kB / 0.7455 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003097/1.231, allocations: 15.3 kB / 0.7455 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.216e-05/1.231, allocations: 32.92 kB / 0.7455 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.571e-05/1.231, allocations: 19.61 kB / 0.7456 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004332/1.231, allocations: 477.6 kB / 0.746 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/1.231, allocations: 0 / 0.746 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005137/1.237, allocations: 1.628 MB / 0.7476 GB, free: 165.1 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.008263/1.245, allocations: 3.185 MB / 0.7507 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001606/1.246, allocations: 0.5355 MB / 0.7512 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/1.247, allocations: 0 / 0.7512 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003722/1.247, allocations: 301.7 kB / 0.7515 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009006/1.248, allocations: 126.3 kB / 0.7516 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.709/1.957, allocations: 353.3 MB / 1.097 GB, free: 114.4 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/1.957, allocations: 0.9781 MB / 1.098 GB, free: 113.4 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006045/1.958, allocations: 0.5046 MB / 1.098 GB, free: 112.9 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003271/1.958, allocations: 323.3 kB / 1.098 GB, free: 112.6 MB / 0.6231 GB Notification: Performance of SimCode: time 9.31e-07/1.958, allocations: 0 / 1.098 GB, free: 112.6 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1022/2.06, allocations: 67.19 MB / 1.164 GB, free: 45.52 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.07/20.13, allocations: 11.91 kB / 1.164 GB, free: 45.5 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.998188675031997]