Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001003/0.001003, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001319/0.001319, allocations: 169 kB / 24.24 MB, free: 316 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9726/0.9726, allocations: 158.6 MB / 186 MB, free: 2.516 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1644/0.1644, allocations: 32.37 MB / 270.7 MB, free: 14.76 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 347.7 MB, free: 9.758 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.561e-05/1.71e-05, allocations: 6.25 kB / 347.7 MB, free: 9.75 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.03649/0.03651, allocations: 44.37 MB / 392.1 MB, free: 13.22 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00527/0.04178, allocations: 4.471 MB / 396.5 MB, free: 8.742 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004947/0.04227, allocations: 27.75 kB / 396.6 MB, free: 8.715 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008939/0.04316, allocations: 305.9 kB / 396.9 MB, free: 8.414 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001846/0.04501, allocations: 0.9048 MB / 397.8 MB, free: 7.504 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002135/0.04715, allocations: 0.9541 MB / 398.7 MB, free: 6.547 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002343/0.04949, allocations: 1.823 MB / 400.5 MB, free: 4.719 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005302/0.05002, allocations: 433.7 kB / 401 MB, free: 4.289 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.238/0.288, allocations: 44.49 MB / 445.4 MB, free: 48.08 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01081/0.2989, allocations: 7.899 MB / 453.3 MB, free: 45.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001746/0.299, allocations: 65.09 kB / 453.4 MB, free: 45.77 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01372/0.3128, allocations: 10.58 MB / 464 MB, free: 42.49 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004267/0.3132, allocations: 289.3 kB / 464.3 MB, free: 42.49 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005085/0.3137, allocations: 280 kB / 464.5 MB, free: 42.49 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.315, allocations: 0.8353 MB / 465.4 MB, free: 42.49 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3151, allocations: 4 kB / 465.4 MB, free: 42.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3151, allocations: 0 / 465.4 MB, free: 42.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.713e-05/0.3151, allocations: 0 / 465.4 MB, free: 42.49 MB / 362.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.001586/0.3167, allocations: 1.094 MB / 466.5 MB, free: 41.92 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.3167, allocations: 8.5 kB / 466.5 MB, free: 41.92 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000337/0.317, allocations: 156.3 kB / 466.6 MB, free: 41.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005689/0.3176, allocations: 496.5 kB / 467.1 MB, free: 41.62 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.3177, allocations: 150.3 kB / 467.3 MB, free: 41.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.997e-05/0.3178, allocations: 65.08 kB / 467.3 MB, free: 41.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007425/0.3185, allocations: 0.9419 MB / 468.3 MB, free: 40.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.3186, allocations: 6.312 kB / 468.3 MB, free: 40.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.668e-05/0.3186, allocations: 19.84 kB / 468.3 MB, free: 40.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.311e-05/0.3187, allocations: 39.83 kB / 468.3 MB, free: 40.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004576/0.3191, allocations: 302.3 kB / 468.6 MB, free: 40.63 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002584/0.3217, allocations: 3.946 MB / 472.6 MB, free: 37.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000471/0.3222, allocations: 259.9 kB / 472.8 MB, free: 37.44 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.3223, allocations: 97.89 kB / 472.9 MB, free: 37.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001724/0.3225, allocations: 56.39 kB / 473 MB, free: 37.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.3225, allocations: 45.56 kB / 473 MB, free: 37.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=40): time 1.512e-06/0.3225, allocations: 4 kB / 473 MB, free: 37.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.001641/0.3242, allocations: 1.016 MB / 474.1 MB, free: 36.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.3242, allocations: 135.4 kB / 474.2 MB, free: 36.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003555/0.3246, allocations: 0.5244 MB / 474.7 MB, free: 36.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/0.3246, allocations: 38.8 kB / 474.7 MB, free: 36.47 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.3247, allocations: 425.8 kB / 475.2 MB, free: 36.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.636e-05/0.3248, allocations: 172.5 kB / 475.3 MB, free: 36.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.3249, allocations: 145.9 kB / 475.5 MB, free: 35.94 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.615e-05/0.325, allocations: 0.5502 MB / 476 MB, free: 35.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.3252, allocations: 93.38 kB / 476.1 MB, free: 35.33 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002743/0.3255, allocations: 0.6028 MB / 476.7 MB, free: 34.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000474/0.3259, allocations: 0.6516 MB / 477.4 MB, free: 33.85 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.3259, allocations: 4 kB / 477.4 MB, free: 33.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.000878/0.3268, allocations: 0.6722 MB / 478 MB, free: 33.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.3268, allocations: 12.94 kB / 478.1 MB, free: 33.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.3268, allocations: 9.094 kB / 478.1 MB, free: 33.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005743/0.3274, allocations: 215.1 kB / 478.3 MB, free: 33.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/0.3276, allocations: 125.6 kB / 478.4 MB, free: 33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004503/0.3281, allocations: 0.9391 MB / 479.3 MB, free: 32.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.3283, allocations: 28.67 kB / 479.4 MB, free: 32.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.429e-05/0.3283, allocations: 35.56 kB / 479.4 MB, free: 32.03 MB / 362.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.0001555/0.3285, allocations: 219.3 kB / 479.6 MB, free: 31.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.018e-05/0.3286, allocations: 78.92 kB / 479.7 MB, free: 31.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006723/0.3292, allocations: 0.4985 MB / 480.2 MB, free: 31.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.3293, allocations: 7.938 kB / 480.2 MB, free: 31.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3293, allocations: 6.188 kB / 480.2 MB, free: 31.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.3293, allocations: 7.984 kB / 480.2 MB, free: 31.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009816/0.3302, allocations: 1.006 MB / 481.2 MB, free: 30.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3302, allocations: 0 / 481.2 MB, free: 30.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004537/0.3307, allocations: 188.9 kB / 481.4 MB, free: 30.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001467/0.3308, allocations: 56.45 kB / 481.5 MB, free: 30.28 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.3309, allocations: 13.98 kB / 481.5 MB, free: 30.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0013/0.3322, allocations: 3.609 MB / 485.1 MB, free: 26.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3322, allocations: 0 / 485.1 MB, free: 26.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008492/0.333, allocations: 0.6988 MB / 485.8 MB, free: 25.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.3332, allocations: 118.6 kB / 485.9 MB, free: 25.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.571e-05/0.3332, allocations: 19.44 kB / 485.9 MB, free: 25.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/0.3335, allocations: 15.67 kB / 485.9 MB, free: 25.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.286e-05/0.3336, allocations: 37.78 kB / 486 MB, free: 25.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.352e-05/0.3336, allocations: 19.92 kB / 486 MB, free: 25.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002393/0.3338, allocations: 333 kB / 486.3 MB, free: 25.42 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3338, allocations: 0 / 486.3 MB, free: 25.42 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006362/0.3345, allocations: 208.7 kB / 486.5 MB, free: 25.24 MB / 362.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.0004187/0.3349, allocations: 232.7 kB / 486.7 MB, free: 25.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006962/0.3356, allocations: 406.8 kB / 487.1 MB, free: 24.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3356, allocations: 1.5 kB / 487.1 MB, free: 24.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006726/0.3363, allocations: 431.5 kB / 487.6 MB, free: 24.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.3373, allocations: 331.1 kB / 487.9 MB, free: 24.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.3392, allocations: 1.19 MB / 489.1 MB, free: 22.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.3393, allocations: 182.5 kB / 489.3 MB, free: 22.74 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000433/0.3397, allocations: 177.7 kB / 489.4 MB, free: 22.58 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.3398, allocations: 58.73 kB / 489.5 MB, free: 22.53 MB / 362.7 MB Notification: Performance of SimCode: time 1.503e-06/0.3398, allocations: 4.625 kB / 489.5 MB, free: 22.53 MB / 362.7 MB Notification: Performance of Templates: time 0.01686/0.3567, allocations: 13.89 MB / 0.4916 GB, free: 8.855 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.7168087328318506]