Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001086/0.001086, allocations: 75.69 kB / 21.7 MB, free: 2.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009875/0.0009875, allocations: 163.8 kB / 24.99 MB, free: 9.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.07/1.07, allocations: 177 MB / 205.2 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3156/0.3156, allocations: 34.87 MB / 296.6 MB, free: 464 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 0 / 378.8 MB, free: 2.359 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.581e-05/3.833e-05, allocations: 2.875 kB / 378.8 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01551/0.01555, allocations: 13.96 MB / 392.8 MB, free: 4.34 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02195/0.0375, allocations: 26.14 MB / 418.9 MB, free: 10.11 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002251/0.03772, allocations: 4 kB / 418.9 MB, free: 10.11 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00038/0.0381, allocations: 83.42 kB / 419 MB, free: 10.02 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01866/0.05677, allocations: 8.616 MB / 427.6 MB, free: 1.367 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007594/0.05753, allocations: 342.8 kB / 427.9 MB, free: 1.031 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003139/0.06066, allocations: 2.036 MB / 430 MB, free: 14.97 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.017e-05/0.06073, allocations: 16.59 kB / 430 MB, free: 14.96 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004697/0.0612, allocations: 295 kB / 430.3 MB, free: 14.67 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004273/0.06548, allocations: 3.266 MB / 433.5 MB, free: 11.35 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.305e-05/0.06553, allocations: 8 kB / 433.5 MB, free: 11.34 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0175/0.08303, allocations: 11.1 MB / 444.6 MB, free: 228 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.08315, allocations: 55.73 kB / 444.7 MB, free: 172 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002059/0.08335, allocations: 99.78 kB / 444.8 MB, free: 72 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2048/0.2881, allocations: 8.543 MB / 453.3 MB, free: 60.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.2881, allocations: 0 / 453.3 MB, free: 60.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2881, allocations: 1.203 kB / 453.3 MB, free: 60.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.427e-06/0.2881, allocations: 0 / 453.3 MB, free: 60.68 MB / 410.7 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.004378/0.2925, allocations: 1.685 MB / 455 MB, free: 59.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.2925, allocations: 10.97 kB / 455 MB, free: 59.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.2937, allocations: 314 kB / 455.3 MB, free: 59.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003145/0.294, allocations: 218.2 kB / 455.6 MB, free: 59.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.294, allocations: 23.91 kB / 455.6 MB, free: 59.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.975e-05/0.2941, allocations: 31.28 kB / 455.6 MB, free: 59.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.2955, allocations: 0.8483 MB / 456.5 MB, free: 59.28 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.2955, allocations: 0 / 456.5 MB, free: 59.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.269e-05/0.2955, allocations: 20.72 kB / 456.5 MB, free: 59.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.2956, allocations: 8.469 kB / 456.5 MB, free: 59.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.2968, allocations: 0.7332 MB / 457.2 MB, free: 59.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002025/0.2988, allocations: 2.704 MB / 459.9 MB, free: 57.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007897/0.2996, allocations: 349.7 kB / 460.3 MB, free: 57.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.679e-05/0.2997, allocations: 64.08 kB / 460.3 MB, free: 57.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1927/0.4924, allocations: 100.4 MB / 0.5476 GB, free: 11.02 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001179/0.4936, allocations: 496.6 kB / 0.5481 GB, free: 10.48 MB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 2.525e-06/0.4936, allocations: 0 / 0.5481 GB, free: 10.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.003394/0.4969, allocations: 1.198 MB / 0.5493 GB, free: 9.301 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/0.4971, allocations: 375.2 kB / 0.5496 GB, free: 8.852 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.4973, allocations: 271.8 kB / 0.5499 GB, free: 8.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.334e-05/0.4973, allocations: 29.7 kB / 0.5499 GB, free: 8.535 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.4974, allocations: 241.7 kB / 0.5501 GB, free: 8.301 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.536e-05/0.4975, allocations: 124.6 kB / 0.5503 GB, free: 8.184 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/0.4977, allocations: 131.8 kB / 0.5504 GB, free: 8.047 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.4978, allocations: 0.5001 MB / 0.5509 GB, free: 7.535 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.498, allocations: 85.09 kB / 0.551 GB, free: 7.449 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003462/0.4983, allocations: 466.7 kB / 0.5514 GB, free: 6.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005988/0.4989, allocations: 0.6019 MB / 0.552 GB, free: 6.086 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/0.4989, allocations: 4 kB / 0.552 GB, free: 6.082 MB / 426.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008143/0.4997, allocations: 0.493 MB / 0.5525 GB, free: 5.645 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.4998, allocations: 8 kB / 0.5525 GB, free: 5.637 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.4998, allocations: 11.19 kB / 0.5525 GB, free: 5.629 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.707e-05/0.4998, allocations: 12 kB / 0.5525 GB, free: 5.617 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/0.5009, allocations: 211.3 kB / 0.5527 GB, free: 5.418 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007515/0.5017, allocations: 1.805 MB / 0.5545 GB, free: 3.562 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00025/0.5019, allocations: 19.95 kB / 0.5545 GB, free: 3.539 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.193e-05/0.502, allocations: 47.27 kB / 0.5545 GB, free: 3.496 MB / 426.7 MB 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.0001673/0.5021, allocations: 203.1 kB / 0.5547 GB, free: 3.293 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.5022, allocations: 47.23 kB / 0.5548 GB, free: 3.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001576/0.5038, allocations: 1.558 MB / 0.5563 GB, free: 1.719 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.273e-05/0.5038, allocations: 19.97 kB / 0.5563 GB, free: 1.699 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.5038, allocations: 4 kB / 0.5563 GB, free: 1.695 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.5039, allocations: 10.11 kB / 0.5563 GB, free: 1.688 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007637/0.5046, allocations: 0.7439 MB / 0.557 GB, free: 0.918 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/0.5046, allocations: 7.938 kB / 0.5571 GB, free: 0.9102 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003875/0.505, allocations: 99.39 kB / 0.5572 GB, free: 0.8164 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000177/0.5052, allocations: 123.5 kB / 0.5573 GB, free: 0.6914 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.622e-05/0.5052, allocations: 12 kB / 0.5573 GB, free: 0.6797 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003684/0.5056, allocations: 0.8538 MB / 0.5581 GB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.5056, allocations: 7.281 kB / 0.5581 GB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009406/0.5065, allocations: 0.7866 MB / 0.5589 GB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.019e-05/0.5066, allocations: 55.47 kB / 0.5589 GB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.5067, allocations: 91.14 kB / 0.559 GB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.5069, allocations: 15.98 kB / 0.559 GB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.445e-05/0.507, allocations: 39.36 kB / 0.5591 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.693e-05/0.507, allocations: 19.98 kB / 0.5591 GB, free: 14.71 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004934/0.5075, allocations: 492.3 kB / 0.5596 GB, free: 14.24 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5075, allocations: 0 / 0.5596 GB, free: 14.24 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005211/0.5127, allocations: 1.637 MB / 0.5612 GB, free: 12.6 MB / 442.7 MB 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.008964/0.5217, allocations: 2.12 MB / 0.5632 GB, free: 10.65 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001421/0.5231, allocations: 452 kB / 0.5637 GB, free: 10.24 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.5231, allocations: 0 / 0.5637 GB, free: 10.24 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003348/0.5234, allocations: 221.5 kB / 0.5639 GB, free: 10.04 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008067/0.5242, allocations: 224.3 kB / 0.5641 GB, free: 9.824 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6477/1.172, allocations: 348.6 MB / 0.9045 GB, free: 79.45 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/1.172, allocations: 178.9 kB / 0.9047 GB, free: 79.26 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005323/1.173, allocations: 0.4998 MB / 0.9051 GB, free: 78.77 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/1.173, allocations: 52.47 kB / 0.9052 GB, free: 78.73 MB / 474.7 MB Notification: Performance of SimCode: time 2.394e-06/1.173, allocations: 0 / 0.9052 GB, free: 78.73 MB / 474.7 MB Notification: Performance of Templates: time 0.05478/1.227, allocations: 60.18 MB / 0.964 GB, free: 18.74 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.426507754949853]