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.001516/0.001516, allocations: 91.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.00113/0.00113, allocations: 156.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 0.9894/0.9894, allocations: 177 MB / 204.8 MB, free: 5.234 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.2773/0.2773, allocations: 34.86 MB / 296.3 MB, free: 432 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.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.984e-06/1.984e-06, allocations: 0 / 378.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.847e-05/3.046e-05, allocations: 4.422 kB / 378.8 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.007537/0.007567, allocations: 7.39 MB / 386.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003853/0.01142, allocations: 2.452 MB / 388.6 MB, free: 8.148 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005393/0.01196, allocations: 31.75 kB / 388.6 MB, free: 8.117 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005755/0.01253, allocations: 206.6 kB / 388.9 MB, free: 7.914 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001446/0.01398, allocations: 0.7689 MB / 389.6 MB, free: 7.141 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001537/0.01552, allocations: 0.826 MB / 390.4 MB, free: 6.312 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001895/0.01741, allocations: 1.855 MB / 392.3 MB, free: 4.453 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006711/0.01808, allocations: 425.8 kB / 392.7 MB, free: 4.035 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001354/0.01944, allocations: 0.9702 MB / 393.7 MB, free: 3.062 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001118/0.02056, allocations: 0.6311 MB / 394.3 MB, free: 2.43 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001275/0.02068, allocations: 60 kB / 394.4 MB, free: 2.371 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005063/0.02119, allocations: 195.7 kB / 394.6 MB, free: 2.18 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002205/0.02141, allocations: 279.2 kB / 394.8 MB, free: 1.906 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002435/0.02165, allocations: 279.4 kB / 395.1 MB, free: 1.633 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008325/0.02249, allocations: 0.7748 MB / 395.9 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.02249, allocations: 0 / 395.9 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.02249, allocations: 0 / 395.9 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.0225, allocations: 0 / 395.9 MB, free: 0.8555 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.001384/0.02388, allocations: 1.079 MB / 397 MB, free: 15.74 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.02392, allocations: 8.031 kB / 397 MB, free: 15.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002717/0.0242, allocations: 148.2 kB / 397.1 MB, free: 15.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005423/0.02474, allocations: 0.4929 MB / 397.6 MB, free: 15.06 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.02485, allocations: 152.4 kB / 397.8 MB, free: 14.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.56e-05/0.02493, allocations: 52.38 kB / 397.8 MB, free: 14.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000759/0.02569, allocations: 0.9176 MB / 398.7 MB, free: 13.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.0257, allocations: 7.938 kB / 398.7 MB, free: 13.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.979e-05/0.02575, allocations: 24 kB / 398.8 MB, free: 13.72 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.602e-05/0.0258, allocations: 40.97 kB / 398.8 MB, free: 13.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004546/0.02625, allocations: 301.5 kB / 399.1 MB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002783/0.02904, allocations: 3.914 MB / 403 MB, free: 9.324 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004655/0.0295, allocations: 288.9 kB / 403.3 MB, free: 9.035 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/0.02964, allocations: 100.3 kB / 403.4 MB, free: 8.934 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001413/0.02978, allocations: 36.3 kB / 403.4 MB, free: 8.898 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.02981, allocations: 41.66 kB / 403.5 MB, free: 8.848 MB / 378.7 MB Notification: Performance of pre-optimization done (n=40): time 1.664e-06/0.02981, allocations: 4 kB / 403.5 MB, free: 8.844 MB / 378.7 MB Notification: Performance of matching and sorting (n=45): time 0.001671/0.03148, allocations: 1.008 MB / 404.5 MB, free: 7.797 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.03153, allocations: 140.5 kB / 404.6 MB, free: 7.629 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003824/0.03192, allocations: 0.5335 MB / 405.1 MB, free: 7.078 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.03195, allocations: 33.7 kB / 405.2 MB, free: 7.039 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.03214, allocations: 423 kB / 405.6 MB, free: 6.621 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.21e-05/0.03223, allocations: 170.6 kB / 405.8 MB, free: 6.453 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/0.03237, allocations: 144.2 kB / 405.9 MB, free: 6.305 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.03254, allocations: 0.5469 MB / 406.4 MB, free: 5.746 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.0327, allocations: 89.94 kB / 406.5 MB, free: 5.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003822/0.03308, allocations: 0.5988 MB / 407.1 MB, free: 4.855 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005295/0.03361, allocations: 0.6545 MB / 407.8 MB, free: 4.023 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.03361, allocations: 0 / 407.8 MB, free: 4.023 MB / 378.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001167/0.03478, allocations: 0.676 MB / 408.5 MB, free: 3.336 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.0348, allocations: 8 kB / 408.5 MB, free: 3.328 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.03481, allocations: 8 kB / 408.5 MB, free: 3.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005732/0.03538, allocations: 220 kB / 408.7 MB, free: 3.102 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.03561, allocations: 119.8 kB / 408.8 MB, free: 2.984 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005517/0.03616, allocations: 0.9404 MB / 409.8 MB, free: 2.012 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/0.03637, allocations: 28 kB / 409.8 MB, free: 1.984 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.705e-05/0.03641, allocations: 32 kB / 409.8 MB, free: 1.953 MB / 378.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.0001561/0.03657, allocations: 212.3 kB / 410 MB, free: 1.734 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.233e-05/0.03666, allocations: 83.59 kB / 410.1 MB, free: 1.652 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006524/0.03731, allocations: 496 kB / 410.6 MB, free: 1.148 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.03732, allocations: 7.938 kB / 410.6 MB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.03733, allocations: 4 kB / 410.6 MB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.03733, allocations: 3.984 kB / 410.6 MB, free: 1.133 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.03838, allocations: 0.9835 MB / 411.6 MB, free: 76 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.03838, allocations: 4 kB / 411.6 MB, free: 72 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004724/0.03886, allocations: 179.7 kB / 411.8 MB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001465/0.039, allocations: 55.88 kB / 411.8 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/0.03903, allocations: 19.98 kB / 411.8 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001829/0.04086, allocations: 3.608 MB / 415.4 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.04086, allocations: 4 kB / 415.5 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007028/0.04156, allocations: 0.6888 MB / 416.1 MB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.0417, allocations: 103.6 kB / 416.2 MB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.276e-05/0.04175, allocations: 15.94 kB / 416.3 MB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.04191, allocations: 15.98 kB / 416.3 MB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.538e-05/0.04198, allocations: 43.81 kB / 416.3 MB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.639e-05/0.042, allocations: 19.98 kB / 416.3 MB, free: 11.03 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002305/0.04224, allocations: 330.8 kB / 416.7 MB, free: 10.71 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.04224, allocations: 0 / 416.7 MB, free: 10.71 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004879/0.04272, allocations: 187.9 kB / 416.8 MB, free: 10.53 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.0002663/0.04299, allocations: 167 kB / 417 MB, free: 10.35 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006225/0.04361, allocations: 392.1 kB / 417.4 MB, free: 9.965 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.04362, allocations: 4 kB / 417.4 MB, free: 9.961 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005741/0.04419, allocations: 422.9 kB / 417.8 MB, free: 9.531 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008237/0.04501, allocations: 334 kB / 418.1 MB, free: 9.207 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.04674, allocations: 1.185 MB / 419.3 MB, free: 7.957 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.04685, allocations: 178.9 kB / 419.5 MB, free: 7.762 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003413/0.04719, allocations: 172.4 kB / 419.7 MB, free: 7.594 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.0473, allocations: 64.48 kB / 419.7 MB, free: 7.531 MB / 394.7 MB Notification: Performance of SimCode: time 1.082e-06/0.0473, allocations: 0 / 419.7 MB, free: 7.531 MB / 394.7 MB Notification: Performance of Templates: time 0.01534/0.06264, allocations: 12.65 MB / 432.4 MB, free: 11.18 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.7875144202262163]