Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_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.0008787/0.0008787, allocations: 88.28 kB / 21.43 MB, free: 3.133 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.003912/0.003912, allocations: 160.1 kB / 24.7 MB, free: 9.418 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 0.8959/0.8959, allocations: 177 MB / 204.9 MB, free: 5.727 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.2417/0.2417, allocations: 34.25 MB / 295.6 MB, free: 0.6797 MB / 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.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_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.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 443.4 MB, free: 1.047 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.782e-05/2.954e-05, allocations: 6.219 kB / 443.4 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.2107/0.2107, allocations: 39.67 MB / 483.1 MB, free: 19.12 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003463/0.2142, allocations: 4.07 MB / 487.2 MB, free: 16.39 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002753/0.2145, allocations: 32 kB / 487.2 MB, free: 16.37 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005985/0.2151, allocations: 304.7 kB / 487.5 MB, free: 16.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001009/0.2161, allocations: 0.9108 MB / 488.4 MB, free: 15.67 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.2173, allocations: 0.9449 MB / 489.4 MB, free: 15.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009263/0.2182, allocations: 1.831 MB / 491.2 MB, free: 14.36 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003308/0.2185, allocations: 393.3 kB / 491.6 MB, free: 14.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.05265/0.2712, allocations: 44.59 MB / 0.5236 GB, free: 3.41 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008358/0.2795, allocations: 7.904 MB / 0.5313 GB, free: 11.42 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001715/0.2797, allocations: 60 kB / 0.5314 GB, free: 11.36 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01061/0.2903, allocations: 10.59 MB / 0.5417 GB, free: 0.6523 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000308/0.2906, allocations: 287.1 kB / 0.542 GB, free: 380 kB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003631/0.291, allocations: 279.4 kB / 0.5423 GB, free: 100 kB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001363/0.2924, allocations: 1.122 MB / 0.5434 GB, free: 14.97 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.2924, allocations: 4.844 kB / 0.5434 GB, free: 14.97 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2924, allocations: 0 / 0.5434 GB, free: 14.97 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.2924, allocations: 0 / 0.5434 GB, free: 14.97 MB / 458.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.001549/0.2939, allocations: 0.9912 MB / 0.5443 GB, free: 13.95 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.294, allocations: 8.031 kB / 0.5443 GB, free: 13.94 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002303/0.2942, allocations: 92.47 kB / 0.5444 GB, free: 13.85 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006019/0.2948, allocations: 470 kB / 0.5449 GB, free: 13.36 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/0.2949, allocations: 156.4 kB / 0.545 GB, free: 13.18 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.356e-05/0.295, allocations: 52.3 kB / 0.5451 GB, free: 13.13 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009109/0.2959, allocations: 1.071 MB / 0.5461 GB, free: 11.93 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.2959, allocations: 4 kB / 0.5461 GB, free: 11.93 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.42e-05/0.2959, allocations: 24 kB / 0.5461 GB, free: 11.91 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.24e-05/0.296, allocations: 48.91 kB / 0.5462 GB, free: 11.86 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006859/0.2967, allocations: 0.6361 MB / 0.5468 GB, free: 11.22 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.002648/0.2993, allocations: 3.321 MB / 0.5501 GB, free: 7.789 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005324/0.2999, allocations: 399.9 kB / 0.5504 GB, free: 7.391 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001981/0.3001, allocations: 193.4 kB / 0.5506 GB, free: 7.199 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001538/0.3002, allocations: 52.28 kB / 0.5507 GB, free: 7.148 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.3002, allocations: 41.27 kB / 0.5507 GB, free: 7.102 MB / 458.7 MB Notification: Performance of pre-optimization done (n=40): time 1.593e-06/0.3002, allocations: 4 kB / 0.5507 GB, free: 7.098 MB / 458.7 MB Notification: Performance of matching and sorting (n=45): time 0.001925/0.3022, allocations: 1.441 MB / 0.5521 GB, free: 5.617 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/0.3022, allocations: 140.5 kB / 0.5523 GB, free: 5.449 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003822/0.3026, allocations: 0.5182 MB / 0.5528 GB, free: 4.922 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/0.3026, allocations: 37.7 kB / 0.5528 GB, free: 4.879 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.3028, allocations: 372.3 kB / 0.5531 GB, free: 4.508 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.508e-05/0.3029, allocations: 162.6 kB / 0.5533 GB, free: 4.348 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.303, allocations: 140 kB / 0.5534 GB, free: 4.207 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.3031, allocations: 370.8 kB / 0.5538 GB, free: 3.836 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002446/0.3034, allocations: 217.9 kB / 0.554 GB, free: 3.625 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004059/0.3038, allocations: 0.6001 MB / 0.5546 GB, free: 2.867 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006527/0.3044, allocations: 0.7767 MB / 0.5553 GB, free: 1.961 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3044, allocations: 4 kB / 0.5553 GB, free: 1.957 MB / 458.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001043/0.3055, allocations: 0.9312 MB / 0.5563 GB, free: 1.016 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.3055, allocations: 15.94 kB / 0.5563 GB, free: 1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.3055, allocations: 11.98 kB / 0.5563 GB, free: 0.9883 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005543/0.306, allocations: 269 kB / 0.5565 GB, free: 0.7227 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/0.3062, allocations: 119.8 kB / 0.5567 GB, free: 0.6055 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006498/0.3069, allocations: 0.8685 MB / 0.5575 GB, free: 15.71 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/0.3071, allocations: 24 kB / 0.5575 GB, free: 15.69 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.903e-05/0.3072, allocations: 43.97 kB / 0.5576 GB, free: 15.64 MB / 474.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.0002063/0.3074, allocations: 249.8 kB / 0.5578 GB, free: 15.39 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.19e-05/0.3074, allocations: 59.62 kB / 0.5579 GB, free: 15.33 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000804/0.3082, allocations: 0.7166 MB / 0.5586 GB, free: 14.61 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.3082, allocations: 11.92 kB / 0.5586 GB, free: 14.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.3082, allocations: 0 / 0.5586 GB, free: 14.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3082, allocations: 0 / 0.5586 GB, free: 14.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/0.3094, allocations: 1.234 MB / 0.5598 GB, free: 13.32 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.3094, allocations: 8.031 kB / 0.5598 GB, free: 13.31 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004557/0.3099, allocations: 187.8 kB / 0.56 GB, free: 13.12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00012/0.31, allocations: 56.73 kB / 0.56 GB, free: 13.07 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/0.31, allocations: 15.98 kB / 0.56 GB, free: 13.05 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001332/0.3114, allocations: 2.728 MB / 0.5627 GB, free: 10.12 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3114, allocations: 4.156 kB / 0.5627 GB, free: 10.12 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009261/0.3123, allocations: 0.9965 MB / 0.5637 GB, free: 9.082 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.3124, allocations: 119.5 kB / 0.5638 GB, free: 8.965 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.164e-05/0.3125, allocations: 15.94 kB / 0.5638 GB, free: 8.949 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.3127, allocations: 17.75 kB / 0.5638 GB, free: 8.934 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.362e-05/0.3127, allocations: 35.92 kB / 0.5639 GB, free: 8.898 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.3127, allocations: 16 kB / 0.5639 GB, free: 8.883 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002542/0.313, allocations: 354.8 kB / 0.5642 GB, free: 8.539 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.313, allocations: 0 / 0.5642 GB, free: 8.539 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004727/0.3135, allocations: 207.9 kB / 0.5644 GB, free: 8.336 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.0002888/0.3138, allocations: 226.8 kB / 0.5646 GB, free: 8.105 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007061/0.3145, allocations: 0.5814 MB / 0.5652 GB, free: 7.523 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3145, allocations: 0 / 0.5652 GB, free: 7.523 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006107/0.3151, allocations: 463.4 kB / 0.5656 GB, free: 7.059 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007927/0.3159, allocations: 326.2 kB / 0.5659 GB, free: 6.766 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.3173, allocations: 1.364 MB / 0.5673 GB, free: 5.348 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002121/0.3175, allocations: 337.1 kB / 0.5676 GB, free: 4.992 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.3176, allocations: 64.48 kB / 0.5677 GB, free: 4.93 MB / 474.7 MB Notification: Performance of SimCode: time 4.71e-07/0.3176, allocations: 4 kB / 0.5677 GB, free: 4.926 MB / 474.7 MB Notification: Performance of Templates: time 0.01263/0.3302, allocations: 15.25 MB / 0.5826 GB, free: 5.766 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.6028268951922655]