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.002374/0.002374, allocations: 91.61 kB / 20.96 MB, free: 3.457 MB / 18.57 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.002382/0.002382, allocations: 165.3 kB / 24.27 MB, free: 148 kB / 18.57 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.655/1.655, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 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.3377/0.3377, allocations: 32.8 MB / 293.9 MB, free: 1.203 MB / 266.7 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: 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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 375.3 MB, free: 4.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.418e-05/2.555e-05, allocations: 2.312 kB / 375.3 MB, free: 4.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.02251/0.02254, allocations: 13.91 MB / 389.2 MB, free: 6.988 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04552/0.06806, allocations: 26.14 MB / 415.4 MB, free: 12.76 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000344/0.0684, allocations: 3.938 kB / 415.4 MB, free: 12.76 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005474/0.06895, allocations: 83.38 kB / 415.4 MB, free: 12.68 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03784/0.1068, allocations: 8.623 MB / 424.1 MB, free: 4.016 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001563/0.1084, allocations: 350.7 kB / 424.4 MB, free: 3.672 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.007525/0.1159, allocations: 2.017 MB / 426.4 MB, free: 1.629 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.411e-05/0.116, allocations: 16.58 kB / 426.4 MB, free: 1.617 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/0.1171, allocations: 314.8 kB / 426.7 MB, free: 1.309 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01235/0.1294, allocations: 3.259 MB / 430 MB, free: 14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.1295, allocations: 12 kB / 430 MB, free: 13.98 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03742/0.1669, allocations: 11.09 MB / 441.1 MB, free: 2.867 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001666/0.1671, allocations: 51.75 kB / 441.2 MB, free: 2.816 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003416/0.1674, allocations: 107.8 kB / 441.3 MB, free: 2.711 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2249/0.3923, allocations: 8.585 MB / 449.9 MB, free: 63.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.3923, allocations: 2.938 kB / 449.9 MB, free: 63.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.3923, allocations: 0 / 449.9 MB, free: 63.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.3924, allocations: 0 / 449.9 MB, free: 63.64 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.005561/0.3979, allocations: 1.685 MB / 451.5 MB, free: 62.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.398, allocations: 12.06 kB / 451.6 MB, free: 62.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001601/0.3996, allocations: 307 kB / 451.9 MB, free: 62.67 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003375/0.3999, allocations: 224.2 kB / 452.1 MB, free: 62.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.3999, allocations: 24.12 kB / 452.1 MB, free: 62.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.065e-05/0.4, allocations: 35.25 kB / 452.1 MB, free: 62.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/0.402, allocations: 0.8496 MB / 453 MB, free: 62.26 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.402, allocations: 3.844 kB / 453 MB, free: 62.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.591e-05/0.4021, allocations: 24.25 kB / 453 MB, free: 62.26 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.4021, allocations: 6.531 kB / 453 MB, free: 62.26 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001936/0.404, allocations: 0.8096 MB / 453.8 MB, free: 62.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002959/0.407, allocations: 2.749 MB / 456.6 MB, free: 60.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.4081, allocations: 351.7 kB / 456.9 MB, free: 60.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.4082, allocations: 71.58 kB / 457 MB, free: 60.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3549/0.7631, allocations: 100.4 MB / 0.5444 GB, free: 14.99 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001466/0.7646, allocations: 488 kB / 0.5448 GB, free: 14.51 MB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 2.255e-06/0.7646, allocations: 0 / 0.5448 GB, free: 14.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.0042/0.7688, allocations: 1.195 MB / 0.546 GB, free: 13.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00028/0.7691, allocations: 378 kB / 0.5464 GB, free: 13.03 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000274/0.7694, allocations: 285 kB / 0.5466 GB, free: 12.77 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.364e-05/0.7694, allocations: 32.64 kB / 0.5467 GB, free: 12.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.7696, allocations: 238.3 kB / 0.5469 GB, free: 12.51 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.7697, allocations: 116.6 kB / 0.547 GB, free: 12.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/0.7699, allocations: 138.2 kB / 0.5471 GB, free: 12.31 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002964/0.7702, allocations: 0.5047 MB / 0.5476 GB, free: 11.81 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.7704, allocations: 85.08 kB / 0.5477 GB, free: 11.74 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006089/0.771, allocations: 468.5 kB / 0.5481 GB, free: 11.15 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008689/0.7719, allocations: 0.5825 MB / 0.5487 GB, free: 10.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.7719, allocations: 8 kB / 0.5487 GB, free: 10.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009854/0.7729, allocations: 499.9 kB / 0.5492 GB, free: 10.15 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.7729, allocations: 8 kB / 0.5492 GB, free: 10.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.7729, allocations: 12.91 kB / 0.5492 GB, free: 10.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.469e-05/0.7729, allocations: 12 kB / 0.5492 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001634/0.7746, allocations: 215.2 kB / 0.5494 GB, free: 9.934 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001214/0.7758, allocations: 1.808 MB / 0.5512 GB, free: 8.086 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003074/0.7761, allocations: 25.92 kB / 0.5512 GB, free: 8.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.669e-05/0.7762, allocations: 40.55 kB / 0.5513 GB, free: 8.039 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.0002351/0.7764, allocations: 217.3 kB / 0.5515 GB, free: 7.844 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.7765, allocations: 39.05 kB / 0.5515 GB, free: 7.812 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00224/0.7787, allocations: 1.534 MB / 0.553 GB, free: 6.414 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-05/0.7788, allocations: 19.97 kB / 0.553 GB, free: 6.395 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.7788, allocations: 4.375 kB / 0.553 GB, free: 6.391 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.7788, allocations: 11.98 kB / 0.553 GB, free: 6.379 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.7798, allocations: 0.7358 MB / 0.5538 GB, free: 5.617 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.7798, allocations: 3.938 kB / 0.5538 GB, free: 5.613 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005871/0.7804, allocations: 99.77 kB / 0.5539 GB, free: 5.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002163/0.7806, allocations: 125.5 kB / 0.554 GB, free: 5.395 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.092e-05/0.7807, allocations: 12 kB / 0.554 GB, free: 5.383 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006588/0.7813, allocations: 0.8565 MB / 0.5548 GB, free: 4.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.7813, allocations: 4 kB / 0.5548 GB, free: 4.496 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.7827, allocations: 0.8173 MB / 0.5556 GB, free: 3.605 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.7828, allocations: 65.55 kB / 0.5557 GB, free: 3.539 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001517/0.7829, allocations: 91.14 kB / 0.5558 GB, free: 3.449 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003083/0.7832, allocations: 19.31 kB / 0.5558 GB, free: 3.434 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.532e-05/0.7833, allocations: 31.89 kB / 0.5558 GB, free: 3.402 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.423e-05/0.7833, allocations: 19.98 kB / 0.5558 GB, free: 3.383 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007311/0.784, allocations: 0.5334 MB / 0.5564 GB, free: 2.852 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.784, allocations: 0 / 0.5564 GB, free: 2.852 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00576/0.7898, allocations: 1.641 MB / 0.558 GB, free: 1.207 MB / 426.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.008348/0.7982, allocations: 2.124 MB / 0.56 GB, free: 15.25 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00174/0.7999, allocations: 465.5 kB / 0.5605 GB, free: 14.83 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/0.7999, allocations: 4 kB / 0.5605 GB, free: 14.83 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004208/0.8003, allocations: 234.9 kB / 0.5607 GB, free: 14.61 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009719/0.8013, allocations: 224.1 kB / 0.5609 GB, free: 14.39 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8165/1.618, allocations: 348.6 MB / 0.9014 GB, free: 88.84 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/1.618, allocations: 395.9 kB / 0.9017 GB, free: 88.42 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006648/1.619, allocations: 0.5055 MB / 0.9022 GB, free: 87.93 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/1.619, allocations: 60.47 kB / 0.9023 GB, free: 87.87 MB / 474.7 MB Notification: Performance of SimCode: time 1.663e-06/1.619, allocations: 4 kB / 0.9023 GB, free: 87.87 MB / 474.7 MB Notification: Performance of Templates: time 0.06236/1.681, allocations: 60.18 MB / 0.9611 GB, free: 27.88 MB / 474.7 MB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile [Timeout 660] (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 & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins/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: 10.908186253975146]