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.002409/0.002409, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.002667/0.002667, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 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.616/1.616, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] 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.362/0.362, allocations: 34.25 MB / 295.2 MB, free: 0.6562 MB / 266.7 MB " [Timeout remaining time 179] 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 1.292e-06/1.292e-06, allocations: 0 / 377.3 MB, free: 2.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.876e-05/3.006e-05, allocations: 6.25 kB / 377.3 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.02021/0.02024, allocations: 13.9 MB / 391.2 MB, free: 4.914 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04097/0.06121, allocations: 26.13 MB / 417.3 MB, free: 10.69 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002835/0.0615, allocations: 4 kB / 417.3 MB, free: 10.69 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005374/0.06203, allocations: 87.3 kB / 417.4 MB, free: 10.6 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03242/0.09445, allocations: 8.62 MB / 426 MB, free: 1.941 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.09548, allocations: 346.7 kB / 426.3 MB, free: 1.602 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005159/0.1006, allocations: 2.025 MB / 428.4 MB, free: 15.55 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.11e-05/0.1007, allocations: 16.59 kB / 428.4 MB, free: 15.54 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006202/0.1013, allocations: 318.8 kB / 428.7 MB, free: 15.23 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008312/0.1096, allocations: 3.25 MB / 431.9 MB, free: 11.92 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.251e-05/0.1097, allocations: 12 kB / 432 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02456/0.1342, allocations: 11.09 MB / 443.1 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.1344, allocations: 55.69 kB / 443.1 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002686/0.1346, allocations: 107.8 kB / 443.2 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.195/0.3296, allocations: 8.575 MB / 451.8 MB, free: 61.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.3296, allocations: 2.125 kB / 451.8 MB, free: 61.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3296, allocations: 0 / 451.8 MB, free: 61.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.3296, allocations: 0 / 451.8 MB, free: 61.18 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.005284/0.3349, allocations: 1.693 MB / 453.5 MB, free: 60.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.335, allocations: 11.59 kB / 453.5 MB, free: 60.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00148/0.3364, allocations: 305.2 kB / 453.8 MB, free: 60.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.3367, allocations: 222.5 kB / 454 MB, free: 60.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.3367, allocations: 23.91 kB / 454 MB, free: 60.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.448e-05/0.3368, allocations: 34.69 kB / 454.1 MB, free: 60.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001832/0.3386, allocations: 0.8562 MB / 454.9 MB, free: 59.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.3386, allocations: 2.812 kB / 454.9 MB, free: 59.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.739e-05/0.3387, allocations: 14.03 kB / 454.9 MB, free: 59.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.3387, allocations: 12.22 kB / 455 MB, free: 59.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001857/0.3405, allocations: 0.8157 MB / 455.8 MB, free: 59.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002797/0.3433, allocations: 2.745 MB / 458.5 MB, free: 57.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.3444, allocations: 347.2 kB / 458.9 MB, free: 57.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.3445, allocations: 79.45 kB / 458.9 MB, free: 57.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3637/0.7082, allocations: 100.4 MB / 0.5463 GB, free: 11.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001488/0.7097, allocations: 482.7 kB / 0.5467 GB, free: 11.15 MB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 2.104e-06/0.7097, allocations: 5.75 kB / 0.5467 GB, free: 11.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.004214/0.7139, allocations: 1.192 MB / 0.5479 GB, free: 9.973 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002746/0.7142, allocations: 379.6 kB / 0.5483 GB, free: 9.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002946/0.7145, allocations: 279 kB / 0.5485 GB, free: 9.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.307e-05/0.7145, allocations: 33.7 kB / 0.5485 GB, free: 9.191 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.7147, allocations: 241 kB / 0.5488 GB, free: 8.957 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.7149, allocations: 122 kB / 0.5489 GB, free: 8.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000215/0.7151, allocations: 135.8 kB / 0.549 GB, free: 8.699 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003367/0.7154, allocations: 0.504 MB / 0.5495 GB, free: 8.184 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/0.7157, allocations: 76.94 kB / 0.5496 GB, free: 8.105 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007146/0.7164, allocations: 477.1 kB / 0.55 GB, free: 7.473 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.7174, allocations: 0.5922 MB / 0.5506 GB, free: 6.742 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/0.7174, allocations: 4 kB / 0.5506 GB, free: 6.738 MB / 426.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001139/0.7185, allocations: 498.2 kB / 0.5511 GB, free: 6.309 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.262e-05/0.7186, allocations: 8 kB / 0.5511 GB, free: 6.301 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/0.7186, allocations: 8 kB / 0.5511 GB, free: 6.293 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.746e-05/0.7186, allocations: 16 kB / 0.5511 GB, free: 6.277 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001697/0.7203, allocations: 210.9 kB / 0.5513 GB, free: 6.082 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001328/0.7217, allocations: 1.813 MB / 0.5531 GB, free: 4.219 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003237/0.722, allocations: 15.95 kB / 0.5531 GB, free: 4.203 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.498e-05/0.7221, allocations: 47.97 kB / 0.5532 GB, free: 4.156 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.0002856/0.7224, allocations: 210.4 kB / 0.5534 GB, free: 3.949 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/0.7225, allocations: 43.86 kB / 0.5534 GB, free: 3.906 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0023/0.7248, allocations: 1.531 MB / 0.5549 GB, free: 2.391 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.495e-05/0.7248, allocations: 23.97 kB / 0.5549 GB, free: 2.367 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.7248, allocations: 4 kB / 0.5549 GB, free: 2.363 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.7248, allocations: 384 / 0.5549 GB, free: 2.363 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.7259, allocations: 0.7334 MB / 0.5556 GB, free: 1.602 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/0.7259, allocations: 14.69 kB / 0.5557 GB, free: 1.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006009/0.7265, allocations: 101.6 kB / 0.5558 GB, free: 1.496 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002243/0.7268, allocations: 127.9 kB / 0.5559 GB, free: 1.371 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.219e-05/0.7268, allocations: 8 kB / 0.5559 GB, free: 1.363 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006716/0.7275, allocations: 0.861 MB / 0.5567 GB, free: 484 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.7275, allocations: 7.375 kB / 0.5567 GB, free: 480 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00138/0.7289, allocations: 0.8155 MB / 0.5575 GB, free: 15.58 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.846e-05/0.7289, allocations: 55.47 kB / 0.5576 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/0.7291, allocations: 95.12 kB / 0.5577 GB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002987/0.7294, allocations: 12 kB / 0.5577 GB, free: 15.42 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.525e-05/0.7295, allocations: 43.44 kB / 0.5577 GB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.271e-05/0.7295, allocations: 16 kB / 0.5577 GB, free: 15.36 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008017/0.7303, allocations: 0.5302 MB / 0.5583 GB, free: 14.83 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7303, allocations: 0 / 0.5583 GB, free: 14.83 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007196/0.7375, allocations: 1.639 MB / 0.5599 GB, free: 13.19 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.01147/0.749, allocations: 2.126 MB / 0.5619 GB, free: 11.23 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002012/0.751, allocations: 471 kB / 0.5624 GB, free: 10.81 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/0.751, allocations: 4 kB / 0.5624 GB, free: 10.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005043/0.7515, allocations: 241.4 kB / 0.5626 GB, free: 10.58 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.7526, allocations: 217.4 kB / 0.5628 GB, free: 10.37 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8879/1.64, allocations: 348.6 MB / 0.9033 GB, free: 80.31 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/1.641, allocations: 388 kB / 0.9036 GB, free: 79.9 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0007406/1.642, allocations: 0.5058 MB / 0.9041 GB, free: 79.41 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/1.642, allocations: 56.47 kB / 0.9042 GB, free: 79.35 MB / 474.7 MB Notification: Performance of SimCode: time 2.635e-06/1.642, allocations: 0 / 0.9042 GB, free: 79.35 MB / 474.7 MB Notification: Performance of Templates: time 0.064/1.706, allocations: 60.19 MB / 0.963 GB, free: 19.36 MB / 474.7 MB " [Timeout remaining time 658] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.978829627041705]