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.0009146/0.0009146, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001056/0.001056, allocations: 160.5 kB / 24.55 MB, free: 16 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.012/1.012, allocations: 177 MB / 204.8 MB, free: 5.578 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.2959/0.2959, allocations: 34.86 MB / 296.3 MB, free: 480 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.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.843e-06/1.843e-06, allocations: 0 / 378.8 MB, free: 2.043 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.298e-05, allocations: 7.516 kB / 378.8 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.02445/0.02447, allocations: 29.37 MB / 408.2 MB, free: 4.559 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003178/0.02765, allocations: 2.402 MB / 410.6 MB, free: 2.145 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002978/0.02794, allocations: 27.75 kB / 410.6 MB, free: 2.117 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005329/0.02848, allocations: 206.6 kB / 410.8 MB, free: 1.914 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00122/0.0297, allocations: 0.7806 MB / 411.6 MB, free: 1.129 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.03097, allocations: 0.826 MB / 412.4 MB, free: 308 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001755/0.03273, allocations: 1.859 MB / 414.3 MB, free: 14.44 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006799/0.03341, allocations: 429.7 kB / 414.7 MB, free: 14.01 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Media/Water/IF97_Utilities.mo:900:9-900:73:writable] Warning: Output parameter bpro.cv was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Media/Water/IF97_Utilities.mo:937:9-937:73:writable] Warning: Output parameter bpro.cv was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Media/Water/IF97_Utilities.mo:900:9-900:73:writable] Warning: Output parameter bpro.cv was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Media/Water/IF97_Utilities.mo:937:9-937:73:writable] Warning: Output parameter bpro.cv was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Media/Water/IF97_Utilities.mo:900:9-900:73:writable] Warning: Output parameter bpro.cv was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Media/Water/IF97_Utilities.mo:937:9-937:73:writable] Warning: Output parameter bpro.cv was not assigned a value Notification: Performance of NFEvalConstants.evaluate: time 0.02695/0.06036, allocations: 16.32 MB / 431 MB, free: 13.56 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009898/0.06135, allocations: 0.596 MB / 431.6 MB, free: 12.96 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.06146, allocations: 64 kB / 431.7 MB, free: 12.9 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004801/0.06194, allocations: 191.7 kB / 431.8 MB, free: 12.71 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002531/0.06219, allocations: 287.1 kB / 432.1 MB, free: 12.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003046/0.0625, allocations: 279.3 kB / 432.4 MB, free: 12.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.06353, allocations: 0.7476 MB / 433.1 MB, free: 11.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.06353, allocations: 0 / 433.1 MB, free: 11.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.06353, allocations: 0 / 433.1 MB, free: 11.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.06354, allocations: 0 / 433.1 MB, free: 11.41 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001662/0.0652, allocations: 1.083 MB / 434.2 MB, free: 10.28 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.06524, allocations: 12.03 kB / 434.2 MB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003553/0.0656, allocations: 152.2 kB / 434.4 MB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006867/0.06628, allocations: 492.8 kB / 434.9 MB, free: 9.613 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/0.06641, allocations: 152.4 kB / 435 MB, free: 9.438 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.813e-05/0.0665, allocations: 52.38 kB / 435.1 MB, free: 9.387 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009572/0.06746, allocations: 0.8962 MB / 436 MB, free: 8.328 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.06748, allocations: 8 kB / 436 MB, free: 8.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.664e-05/0.06754, allocations: 23.94 kB / 436 MB, free: 8.297 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.351e-05/0.06759, allocations: 36.98 kB / 436 MB, free: 8.262 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005937/0.06818, allocations: 305.5 kB / 436.3 MB, free: 7.961 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003155/0.07134, allocations: 3.91 MB / 440.2 MB, free: 3.906 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005749/0.07191, allocations: 270.7 kB / 440.5 MB, free: 3.633 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/0.07208, allocations: 100.3 kB / 440.6 MB, free: 3.531 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001467/0.07223, allocations: 40.3 kB / 440.6 MB, free: 3.492 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.07226, allocations: 41.72 kB / 440.7 MB, free: 3.441 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 1.803e-06/0.07226, allocations: 0 / 440.7 MB, free: 3.441 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.001979/0.07424, allocations: 1.009 MB / 441.7 MB, free: 2.391 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/0.0743, allocations: 132.5 kB / 441.8 MB, free: 2.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004841/0.07478, allocations: 0.5452 MB / 442.4 MB, free: 1.668 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/0.07482, allocations: 41.64 kB / 442.4 MB, free: 1.621 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000227/0.07504, allocations: 427 kB / 442.8 MB, free: 1.199 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.07516, allocations: 174.6 kB / 443 MB, free: 1.027 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/0.07533, allocations: 152.2 kB / 443.1 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.0755, allocations: 0.5469 MB / 443.7 MB, free: 320 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.0757, allocations: 97.92 kB / 443.8 MB, free: 220 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1542/0.2299, allocations: 0.6184 MB / 444.4 MB, free: 74.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006177/0.2306, allocations: 0.6797 MB / 445.1 MB, free: 74.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.2306, allocations: 5.781 kB / 445.1 MB, free: 74.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0009994/0.2316, allocations: 0.6907 MB / 445.8 MB, free: 74.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.2316, allocations: 10.47 kB / 445.8 MB, free: 74.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.2316, allocations: 11.7 kB / 445.8 MB, free: 74.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005771/0.2322, allocations: 217.3 kB / 446 MB, free: 74.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.2324, allocations: 126.6 kB / 446.1 MB, free: 74.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004256/0.2328, allocations: 0.9482 MB / 447.1 MB, free: 73.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002778/0.2331, allocations: 30.64 kB / 447.1 MB, free: 73.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.6e-05/0.2331, allocations: 39.97 kB / 447.2 MB, free: 73.42 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (76): * Single equations (assignments): 75 * 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.0001757/0.2333, allocations: 204.9 kB / 447.4 MB, free: 73.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.667e-05/0.2334, allocations: 83.12 kB / 447.4 MB, free: 73.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000604/0.234, allocations: 497.7 kB / 447.9 MB, free: 73.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/0.234, allocations: 8.125 kB / 447.9 MB, free: 73.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.234, allocations: 0 / 447.9 MB, free: 73.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.234, allocations: 3.234 kB / 447.9 MB, free: 73.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009519/0.235, allocations: 0.9838 MB / 448.9 MB, free: 72.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.235, allocations: 6 kB / 448.9 MB, free: 72.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004322/0.2354, allocations: 183.4 kB / 449.1 MB, free: 72.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001345/0.2355, allocations: 55.78 kB / 449.2 MB, free: 72.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.2356, allocations: 16.72 kB / 449.2 MB, free: 72.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001027/0.2366, allocations: 3.615 MB / 452.8 MB, free: 69.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2366, allocations: 2.969 kB / 452.8 MB, free: 69.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006183/0.2372, allocations: 0.6749 MB / 453.5 MB, free: 68.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.2373, allocations: 109.5 kB / 453.6 MB, free: 68.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.725e-05/0.2374, allocations: 18.47 kB / 453.6 MB, free: 68.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.2375, allocations: 15.91 kB / 453.6 MB, free: 68.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.342e-05/0.2376, allocations: 41.41 kB / 453.6 MB, free: 68.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.2376, allocations: 18.31 kB / 453.7 MB, free: 68.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001991/0.2378, allocations: 338.5 kB / 454 MB, free: 68.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2378, allocations: 0 / 454 MB, free: 68.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004502/0.2383, allocations: 190.9 kB / 454.2 MB, free: 68.79 MB / 410.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 (45): * Single equations (assignments): 41 * 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.0002297/0.2385, allocations: 167.4 kB / 454.3 MB, free: 68.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005511/0.2391, allocations: 410.6 kB / 454.7 MB, free: 68.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2391, allocations: 0 / 454.7 MB, free: 68.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005103/0.2396, allocations: 416 kB / 455.2 MB, free: 68.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007703/0.2403, allocations: 320.9 kB / 455.5 MB, free: 68.49 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.2419, allocations: 1.195 MB / 456.7 MB, free: 67.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.122e-05/0.242, allocations: 170.2 kB / 456.8 MB, free: 67.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003455/0.2424, allocations: 190 kB / 457 MB, free: 67.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.2425, allocations: 58.38 kB / 457.1 MB, free: 67.78 MB / 410.7 MB Notification: Performance of SimCode: time 6.91e-07/0.2425, allocations: 4.312 kB / 457.1 MB, free: 67.78 MB / 410.7 MB Notification: Performance of Templates: time 0.01434/0.2568, allocations: 13.74 MB / 470.8 MB, free: 66.14 MB / 410.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6173885371536016]