Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.0009567/0.0009567, 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.0009207/0.0009207, 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.046/1.046, allocations: 177 MB / 204.8 MB, free: 5.57 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.2726/0.2726, allocations: 34.86 MB / 296.3 MB, free: 0.5391 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.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 378.8 MB, free: 2.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.568e-05/2.735e-05, allocations: 3.859 kB / 378.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.007446/0.007473, allocations: 7.382 MB / 386.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003828/0.0113, allocations: 2.46 MB / 388.6 MB, free: 8.188 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005906/0.01189, allocations: 27.75 kB / 388.6 MB, free: 8.16 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006419/0.01253, allocations: 206.5 kB / 388.8 MB, free: 7.957 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001478/0.01401, allocations: 0.7728 MB / 389.6 MB, free: 7.18 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001586/0.0156, allocations: 0.826 MB / 390.4 MB, free: 6.352 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002037/0.01763, allocations: 1.863 MB / 392.3 MB, free: 4.484 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006231/0.01826, allocations: 425.8 kB / 392.7 MB, free: 4.066 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001344/0.0196, allocations: 1.001 MB / 393.7 MB, free: 3.062 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007973/0.0204, allocations: 0.6116 MB / 394.3 MB, free: 2.449 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001301/0.02053, allocations: 60 kB / 394.4 MB, free: 2.391 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004153/0.02094, allocations: 191.7 kB / 394.6 MB, free: 2.203 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002091/0.02115, allocations: 279.2 kB / 394.9 MB, free: 1.93 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002527/0.02141, allocations: 279.3 kB / 395.1 MB, free: 1.656 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009222/0.02233, allocations: 0.7515 MB / 395.9 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.02233, allocations: 0 / 395.9 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.02233, allocations: 0 / 395.9 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.02235, allocations: 0 / 395.9 MB, free: 0.9023 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.001452/0.0238, allocations: 1.083 MB / 397 MB, free: 15.78 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.02384, allocations: 12.03 kB / 397 MB, free: 15.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002925/0.02413, allocations: 152.2 kB / 397.1 MB, free: 15.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005575/0.02469, allocations: 496.8 kB / 397.6 MB, free: 15.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.0248, allocations: 156.3 kB / 397.8 MB, free: 14.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.103e-05/0.02487, allocations: 52.38 kB / 397.8 MB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007862/0.02565, allocations: 0.8964 MB / 398.7 MB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.02567, allocations: 3.938 kB / 398.7 MB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.372e-05/0.02571, allocations: 24 kB / 398.7 MB, free: 13.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002804/0.02599, allocations: 32.98 kB / 398.8 MB, free: 13.76 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004843/0.02648, allocations: 317.5 kB / 399.1 MB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002946/0.02943, allocations: 3.903 MB / 403 MB, free: 9.398 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004899/0.02991, allocations: 274.9 kB / 403.3 MB, free: 9.121 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001351/0.03005, allocations: 100.3 kB / 403.3 MB, free: 9.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001411/0.03019, allocations: 40.3 kB / 403.4 MB, free: 8.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.03022, allocations: 45.66 kB / 403.4 MB, free: 8.926 MB / 378.7 MB Notification: Performance of pre-optimization done (n=40): time 2.114e-06/0.03022, allocations: 0 / 403.4 MB, free: 8.926 MB / 378.7 MB Notification: Performance of matching and sorting (n=45): time 0.001888/0.03211, allocations: 1.004 MB / 404.4 MB, free: 7.883 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/0.03217, allocations: 132.5 kB / 404.6 MB, free: 7.723 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000453/0.03263, allocations: 0.5452 MB / 405.1 MB, free: 7.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.03266, allocations: 37.7 kB / 405.1 MB, free: 7.117 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002326/0.03289, allocations: 435 kB / 405.6 MB, free: 6.688 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.033, allocations: 166.6 kB / 405.7 MB, free: 6.523 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/0.03316, allocations: 156.2 kB / 405.9 MB, free: 6.363 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003902/0.03355, allocations: 0.543 MB / 406.4 MB, free: 5.809 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/0.03371, allocations: 97.94 kB / 406.5 MB, free: 5.715 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003806/0.03409, allocations: 0.6235 MB / 407.2 MB, free: 4.875 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005767/0.03467, allocations: 0.6846 MB / 407.8 MB, free: 4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.03467, allocations: 4 kB / 407.8 MB, free: 3.996 MB / 378.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.000953/0.03563, allocations: 0.6956 MB / 408.5 MB, free: 3.289 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.03565, allocations: 8 kB / 408.5 MB, free: 3.281 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.03566, allocations: 12 kB / 408.6 MB, free: 3.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005921/0.03625, allocations: 212 kB / 408.8 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.0365, allocations: 135.8 kB / 408.9 MB, free: 2.926 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005776/0.03708, allocations: 0.9365 MB / 409.8 MB, free: 1.957 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002721/0.03735, allocations: 31.98 kB / 409.9 MB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.979e-05/0.03739, allocations: 36 kB / 409.9 MB, free: 1.891 MB / 378.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.0001779/0.03757, allocations: 216.1 kB / 410.1 MB, free: 1.668 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.212e-05/0.03765, allocations: 79.62 kB / 410.2 MB, free: 1.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006642/0.03832, allocations: 497.9 kB / 410.7 MB, free: 1.078 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.03832, allocations: 7.938 kB / 410.7 MB, free: 1.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.03833, allocations: 0 / 410.7 MB, free: 1.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.03834, allocations: 7.984 kB / 410.7 MB, free: 1.062 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.03948, allocations: 0.9873 MB / 411.7 MB, free: 16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.03948, allocations: 4.047 kB / 411.7 MB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004691/0.03995, allocations: 179.8 kB / 411.9 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001783/0.04013, allocations: 59.83 kB / 411.9 MB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.794e-05/0.04016, allocations: 12 kB / 411.9 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001795/0.04195, allocations: 3.62 MB / 415.5 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.04196, allocations: 0 / 415.5 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007414/0.0427, allocations: 0.6848 MB / 416.2 MB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.04284, allocations: 103.6 kB / 416.3 MB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.962e-05/0.04289, allocations: 15.94 kB / 416.3 MB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.04305, allocations: 12 kB / 416.4 MB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.325e-05/0.04313, allocations: 43.8 kB / 416.4 MB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.753e-05/0.04316, allocations: 16 kB / 416.4 MB, free: 10.96 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002502/0.04341, allocations: 338.8 kB / 416.7 MB, free: 10.63 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.04341, allocations: 0 / 416.7 MB, free: 10.63 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005286/0.04394, allocations: 195.9 kB / 416.9 MB, free: 10.44 MB / 394.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.000313/0.04425, allocations: 159.1 kB / 417.1 MB, free: 10.27 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006561/0.04491, allocations: 404.3 kB / 417.5 MB, free: 9.879 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.04491, allocations: 0 / 417.5 MB, free: 9.879 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006258/0.04554, allocations: 426.9 kB / 417.9 MB, free: 9.445 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008423/0.04638, allocations: 328.1 kB / 418.2 MB, free: 9.133 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/0.04827, allocations: 1.186 MB / 419.4 MB, free: 7.879 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.04839, allocations: 175.1 kB / 419.6 MB, free: 7.688 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004034/0.04879, allocations: 180.9 kB / 419.8 MB, free: 7.512 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.04891, allocations: 60.5 kB / 419.8 MB, free: 7.453 MB / 394.7 MB Notification: Performance of SimCode: time 1.903e-06/0.04891, allocations: 0 / 419.8 MB, free: 7.453 MB / 394.7 MB Notification: Performance of Templates: time 0.01937/0.06828, allocations: 13.74 MB / 433.6 MB, free: 10 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.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.619823466055095]