Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.001428/0.001428, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001535/0.001535, allocations: 166.2 kB / 25 MB, free: 8.355 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.9838/0.9838, allocations: 177.1 MB / 205.3 MB, free: 5.602 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.2651/0.2651, allocations: 32.81 MB / 294.6 MB, free: 1.285 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.LinearColdWater,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.LinearColdWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,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.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 376 MB, free: 4.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.9e-05/2.044e-05, allocations: 8.078 kB / 376 MB, free: 4.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.01478/0.0148, allocations: 21.09 MB / 397.1 MB, free: 15.8 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003968/0.01877, allocations: 4.36 MB / 401.5 MB, free: 11.43 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002759/0.01905, allocations: 27.75 kB / 401.5 MB, free: 11.4 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003292/0.02234, allocations: 317.8 kB / 401.8 MB, free: 11.09 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002514/0.02485, allocations: 0.9087 MB / 402.7 MB, free: 10.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002432/0.02729, allocations: 0.9385 MB / 403.6 MB, free: 9.234 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002397/0.02968, allocations: 1.82 MB / 405.5 MB, free: 7.41 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007373/0.03042, allocations: 421.8 kB / 405.9 MB, free: 6.988 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002103/0.03252, allocations: 1.18 MB / 407.1 MB, free: 5.805 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001116/0.03364, allocations: 0.6193 MB / 407.7 MB, free: 5.184 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001347/0.03377, allocations: 60 kB / 407.7 MB, free: 5.125 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008065/0.03458, allocations: 279.5 kB / 408 MB, free: 4.852 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003151/0.03489, allocations: 287.1 kB / 408.3 MB, free: 4.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000314/0.03521, allocations: 287.3 kB / 408.6 MB, free: 4.289 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.03624, allocations: 0.8294 MB / 409.4 MB, free: 3.457 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.03625, allocations: 4 kB / 409.4 MB, free: 3.453 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.03625, allocations: 0 / 409.4 MB, free: 3.453 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.03626, allocations: 0 / 409.4 MB, free: 3.453 MB / 378.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.001486/0.03774, allocations: 1.098 MB / 410.5 MB, free: 2.316 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.03779, allocations: 12.02 kB / 410.5 MB, free: 2.305 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003361/0.03812, allocations: 152.2 kB / 410.7 MB, free: 2.156 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005893/0.03871, allocations: 496.8 kB / 411.1 MB, free: 1.645 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.03884, allocations: 156.3 kB / 411.3 MB, free: 1.469 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.344e-05/0.03891, allocations: 52.38 kB / 411.4 MB, free: 1.418 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008172/0.03973, allocations: 0.9137 MB / 412.3 MB, free: 344 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.03975, allocations: 3.938 kB / 412.3 MB, free: 340 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.099e-05/0.0398, allocations: 27.98 kB / 412.3 MB, free: 312 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-05/0.03985, allocations: 40.97 kB / 412.3 MB, free: 268 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004647/0.04032, allocations: 301.5 kB / 412.6 MB, free: 15.97 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002895/0.04321, allocations: 3.938 MB / 416.6 MB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000511/0.04372, allocations: 264 kB / 416.8 MB, free: 11.62 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.04387, allocations: 104.2 kB / 416.9 MB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002221/0.0441, allocations: 56.28 kB / 417 MB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.04413, allocations: 45.72 kB / 417 MB, free: 11.41 MB / 394.7 MB Notification: Performance of pre-optimization done (n=40): time 2.294e-06/0.04414, allocations: 0 / 417 MB, free: 11.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=45): time 0.001838/0.04597, allocations: 1.012 MB / 418 MB, free: 10.36 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.286e-05/0.04604, allocations: 136.5 kB / 418.2 MB, free: 10.19 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003973/0.04643, allocations: 0.5335 MB / 418.7 MB, free: 9.641 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.04646, allocations: 33.7 kB / 418.7 MB, free: 9.602 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.04666, allocations: 419.1 kB / 419.1 MB, free: 9.188 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.559e-05/0.04676, allocations: 170.5 kB / 419.3 MB, free: 9.02 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.0469, allocations: 148.2 kB / 419.5 MB, free: 8.867 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.04705, allocations: 0.5469 MB / 420 MB, free: 8.309 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.04721, allocations: 93.94 kB / 420.1 MB, free: 8.219 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004023/0.04761, allocations: 0.6026 MB / 420.7 MB, free: 7.406 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007082/0.04832, allocations: 0.6467 MB / 421.3 MB, free: 6.578 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.04833, allocations: 7.938 kB / 421.4 MB, free: 6.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001231/0.04956, allocations: 0.6804 MB / 422 MB, free: 5.883 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.04959, allocations: 15.98 kB / 422.1 MB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.0496, allocations: 12.12 kB / 422.1 MB, free: 5.855 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007228/0.05032, allocations: 203.5 kB / 422.3 MB, free: 5.652 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003219/0.05064, allocations: 123.8 kB / 422.4 MB, free: 5.531 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006761/0.05132, allocations: 0.9482 MB / 423.3 MB, free: 4.551 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003238/0.05164, allocations: 28 kB / 423.4 MB, free: 4.523 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-05/0.05169, allocations: 36.03 kB / 423.4 MB, free: 4.488 MB / 394.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.00021/0.0519, allocations: 216.2 kB / 423.6 MB, free: 4.266 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.05202, allocations: 79.58 kB / 423.7 MB, free: 4.188 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008918/0.05291, allocations: 0.4967 MB / 424.2 MB, free: 3.68 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.05292, allocations: 7.938 kB / 424.2 MB, free: 3.672 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.05293, allocations: 8 kB / 424.2 MB, free: 3.664 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.05293, allocations: 3.984 kB / 424.2 MB, free: 3.66 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/0.0543, allocations: 1.011 MB / 425.2 MB, free: 2.574 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.0543, allocations: 4 kB / 425.2 MB, free: 2.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000622/0.05492, allocations: 188 kB / 425.4 MB, free: 2.387 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001796/0.0551, allocations: 51.62 kB / 425.4 MB, free: 2.332 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.128e-05/0.05513, allocations: 15.98 kB / 425.5 MB, free: 2.316 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00185/0.05698, allocations: 3.616 MB / 429.1 MB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.05699, allocations: 160 / 429.1 MB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009256/0.05791, allocations: 0.6977 MB / 429.8 MB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000188/0.0581, allocations: 103.6 kB / 429.9 MB, free: 13.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.365e-05/0.05816, allocations: 15.94 kB / 429.9 MB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.0584, allocations: 19.98 kB / 429.9 MB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.172e-05/0.05848, allocations: 35.88 kB / 429.9 MB, free: 13.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.862e-05/0.05852, allocations: 24.12 kB / 430 MB, free: 13.51 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002909/0.05881, allocations: 334.8 kB / 430.3 MB, free: 13.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05881, allocations: 4 kB / 430.3 MB, free: 13.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00069/0.0595, allocations: 199.9 kB / 430.5 MB, free: 12.98 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 (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.0003592/0.05986, allocations: 226.9 kB / 430.7 MB, free: 12.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007749/0.06064, allocations: 398.7 kB / 431.1 MB, free: 12.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.06064, allocations: 0 / 431.1 MB, free: 12.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007445/0.06138, allocations: 434.7 kB / 431.5 MB, free: 11.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.06247, allocations: 325.7 kB / 431.9 MB, free: 11.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00214/0.06461, allocations: 1.204 MB / 433.1 MB, free: 10.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001427/0.06475, allocations: 175.1 kB / 433.2 MB, free: 10.15 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004928/0.06525, allocations: 176.8 kB / 433.4 MB, free: 9.992 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.06537, allocations: 56.5 kB / 433.5 MB, free: 9.938 MB / 410.7 MB Notification: Performance of SimCode: time 1.293e-06/0.06538, allocations: 0 / 433.5 MB, free: 9.938 MB / 410.7 MB Notification: Performance of Templates: time 0.1429/0.2083, allocations: 13.9 MB / 447.4 MB, free: 103.5 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.722663738997653]