Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_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.0008856/0.0008856, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003615/0.003615, allocations: 160.5 kB / 24.7 MB, free: 9.43 MB / 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 0.8498/0.8498, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2231/0.2231, allocations: 32.79 MB / 294.2 MB, free: 1.199 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.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 3.938 kB / 440.9 MB, free: 3.73 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.243e-05/2.403e-05, allocations: 3.828 kB / 440.9 MB, free: 3.727 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.1707/0.1707, allocations: 39.67 MB / 480.5 MB, free: 22.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002924/0.1736, allocations: 4.067 MB / 484.6 MB, free: 19.61 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002437/0.1739, allocations: 27.62 kB / 484.6 MB, free: 19.59 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005392/0.1744, allocations: 306.7 kB / 484.9 MB, free: 19.43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000941/0.1754, allocations: 0.9109 MB / 485.8 MB, free: 18.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.1764, allocations: 0.9549 MB / 486.8 MB, free: 18.42 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008874/0.1773, allocations: 1.826 MB / 488.6 MB, free: 17.59 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003237/0.1776, allocations: 393.7 kB / 489 MB, free: 17.42 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04666/0.2243, allocations: 44.58 MB / 0.5211 GB, free: 7.691 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008263/0.2326, allocations: 7.895 MB / 0.5288 GB, free: 15.71 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001179/0.2327, allocations: 63.94 kB / 0.5289 GB, free: 15.64 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01108/0.2438, allocations: 10.59 MB / 0.5392 GB, free: 4.941 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002192/0.244, allocations: 287.1 kB / 0.5395 GB, free: 4.66 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002503/0.2442, allocations: 279.4 kB / 0.5397 GB, free: 4.387 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.2453, allocations: 1.126 MB / 0.5408 GB, free: 3.258 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2453, allocations: 3.469 kB / 0.5408 GB, free: 3.258 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2453, allocations: 0 / 0.5408 GB, free: 3.258 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.2453, allocations: 0 / 0.5408 GB, free: 3.258 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001361/0.2467, allocations: 0.9911 MB / 0.5418 GB, free: 2.234 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.2467, allocations: 8.031 kB / 0.5418 GB, free: 2.227 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002018/0.2469, allocations: 96.41 kB / 0.5419 GB, free: 2.137 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005448/0.2475, allocations: 474 kB / 0.5424 GB, free: 1.645 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.857e-05/0.2475, allocations: 156.3 kB / 0.5425 GB, free: 1.469 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.117e-05/0.2476, allocations: 48.38 kB / 0.5426 GB, free: 1.422 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.2487, allocations: 1.077 MB / 0.5436 GB, free: 212 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.2487, allocations: 4 kB / 0.5436 GB, free: 208 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.357e-05/0.2488, allocations: 16 kB / 0.5436 GB, free: 192 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.981e-05/0.2488, allocations: 40.98 kB / 0.5437 GB, free: 148 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000669/0.2495, allocations: 0.6516 MB / 0.5443 GB, free: 15.5 MB / 458.7 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.002482/0.2519, allocations: 3.312 MB / 0.5475 GB, free: 12.07 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005297/0.2525, allocations: 404.7 kB / 0.5479 GB, free: 11.67 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002042/0.2527, allocations: 193.4 kB / 0.5481 GB, free: 11.48 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001521/0.2528, allocations: 56.28 kB / 0.5482 GB, free: 11.43 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.2529, allocations: 38.83 kB / 0.5482 GB, free: 11.38 MB / 458.7 MB Notification: Performance of pre-optimization done (n=40): time 1.372e-06/0.2529, allocations: 0 / 0.5482 GB, free: 11.38 MB / 458.7 MB Notification: Performance of matching and sorting (n=45): time 0.001878/0.2547, allocations: 1.455 MB / 0.5496 GB, free: 9.887 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.2548, allocations: 132.5 kB / 0.5497 GB, free: 9.727 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000356/0.2551, allocations: 0.5143 MB / 0.5502 GB, free: 9.203 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.2552, allocations: 33.7 kB / 0.5503 GB, free: 9.164 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004146/0.2556, allocations: 372.3 kB / 0.5506 GB, free: 8.793 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.841e-05/0.2557, allocations: 174.6 kB / 0.5508 GB, free: 8.621 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.2558, allocations: 138.5 kB / 0.5509 GB, free: 8.48 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.862e-05/0.2559, allocations: 374.8 kB / 0.5513 GB, free: 8.105 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/0.2561, allocations: 217.9 kB / 0.5515 GB, free: 7.895 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003801/0.2565, allocations: 0.5955 MB / 0.5521 GB, free: 7.145 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006064/0.2571, allocations: 0.7806 MB / 0.5528 GB, free: 6.234 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2571, allocations: 0 / 0.5528 GB, free: 6.234 MB / 458.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0009955/0.2581, allocations: 0.9373 MB / 0.5538 GB, free: 5.289 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.2581, allocations: 12 kB / 0.5538 GB, free: 5.277 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.2581, allocations: 11.98 kB / 0.5538 GB, free: 5.266 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005372/0.2587, allocations: 261.6 kB / 0.554 GB, free: 5.008 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.2589, allocations: 129.4 kB / 0.5542 GB, free: 4.883 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005765/0.2594, allocations: 0.8622 MB / 0.555 GB, free: 3.996 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.2597, allocations: 24 kB / 0.555 GB, free: 3.973 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.623e-05/0.2597, allocations: 40 kB / 0.5551 GB, free: 3.934 MB / 458.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: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000195/0.2599, allocations: 251.3 kB / 0.5553 GB, free: 3.68 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.247e-05/0.26, allocations: 63.62 kB / 0.5554 GB, free: 3.617 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007926/0.2607, allocations: 0.7048 MB / 0.556 GB, free: 2.91 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.2608, allocations: 11.92 kB / 0.5561 GB, free: 2.898 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.2608, allocations: 4 kB / 0.5561 GB, free: 2.895 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2608, allocations: 48 / 0.5561 GB, free: 2.895 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001451/0.2622, allocations: 1.246 MB / 0.5573 GB, free: 1.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.2622, allocations: 7.125 kB / 0.5573 GB, free: 1.586 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004675/0.2627, allocations: 192 kB / 0.5575 GB, free: 1.398 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001189/0.2628, allocations: 52.8 kB / 0.5575 GB, free: 1.344 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/0.2628, allocations: 15.98 kB / 0.5575 GB, free: 1.328 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001426/0.2643, allocations: 2.73 MB / 0.5602 GB, free: 14.39 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2643, allocations: 1.406 kB / 0.5602 GB, free: 14.39 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008874/0.2651, allocations: 0.9963 MB / 0.5612 GB, free: 13.36 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.2653, allocations: 123.5 kB / 0.5613 GB, free: 13.24 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.145e-05/0.2653, allocations: 15.94 kB / 0.5613 GB, free: 13.22 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.2655, allocations: 14.5 kB / 0.5613 GB, free: 13.21 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.653e-05/0.2655, allocations: 39.92 kB / 0.5614 GB, free: 13.17 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.552e-05/0.2656, allocations: 20 kB / 0.5614 GB, free: 13.15 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002356/0.2658, allocations: 350.8 kB / 0.5617 GB, free: 12.81 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2658, allocations: 0 / 0.5617 GB, free: 12.81 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004197/0.2662, allocations: 203.9 kB / 0.5619 GB, free: 12.61 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002719/0.2665, allocations: 229.1 kB / 0.5621 GB, free: 12.38 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0006675/0.2672, allocations: 0.5821 MB / 0.5627 GB, free: 11.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2672, allocations: 0 / 0.5627 GB, free: 11.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005908/0.2678, allocations: 459.3 kB / 0.5631 GB, free: 11.34 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007714/0.2685, allocations: 327.1 kB / 0.5634 GB, free: 11.04 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.2701, allocations: 1.356 MB / 0.5648 GB, free: 9.633 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/0.2703, allocations: 341.1 kB / 0.5651 GB, free: 9.273 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.2704, allocations: 68.42 kB / 0.5652 GB, free: 9.207 MB / 474.7 MB Notification: Performance of SimCode: time 7.61e-07/0.2704, allocations: 0 / 0.5652 GB, free: 9.207 MB / 474.7 MB Notification: Performance of Templates: time 0.01106/0.2815, allocations: 15.24 MB / 0.58 GB, free: 10.04 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_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: 6.718946932815015]