Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009992/0.0009992, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001015/0.001015, allocations: 161.4 kB / 24.56 MB, free: 20 kB / 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.941/0.941, allocations: 177.1 MB / 205 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2338/0.2338, allocations: 34.26 MB / 295.7 MB, free: 0.7461 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.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.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 378 MB, free: 2.625 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.323e-05/2.494e-05, allocations: 2.312 kB / 378 MB, free: 2.621 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.006848/0.006873, allocations: 7.397 MB / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003301/0.01017, allocations: 2.453 MB / 387.9 MB, free: 8.719 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003837/0.01056, allocations: 31.75 kB / 387.9 MB, free: 8.688 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005404/0.0111, allocations: 210.5 kB / 388.1 MB, free: 8.48 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001387/0.01249, allocations: 0.7689 MB / 388.9 MB, free: 7.707 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00147/0.01396, allocations: 0.8261 MB / 389.7 MB, free: 6.879 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001664/0.01562, allocations: 1.863 MB / 391.6 MB, free: 5.012 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005584/0.01618, allocations: 421.8 kB / 392 MB, free: 4.598 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.01733, allocations: 0.9701 MB / 393 MB, free: 3.625 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007312/0.01806, allocations: 0.6233 MB / 393.6 MB, free: 3 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.928e-05/0.01816, allocations: 60 kB / 393.7 MB, free: 2.941 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004217/0.01858, allocations: 199.7 kB / 393.8 MB, free: 2.746 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002109/0.01879, allocations: 279.2 kB / 394.1 MB, free: 2.473 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002544/0.01905, allocations: 283.3 kB / 394.4 MB, free: 2.195 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008938/0.01994, allocations: 0.7632 MB / 395.2 MB, free: 1.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.01994, allocations: 3.938 kB / 395.2 MB, free: 1.426 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.01994, allocations: 0 / 395.2 MB, free: 1.426 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.01996, allocations: 0 / 395.2 MB, free: 1.426 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.001807/0.02176, allocations: 1.083 MB / 396.2 MB, free: 312 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.0218, allocations: 8.031 kB / 396.3 MB, free: 304 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003152/0.02212, allocations: 152.2 kB / 396.4 MB, free: 152 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005881/0.0227, allocations: 492.8 kB / 396.9 MB, free: 15.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/0.02282, allocations: 156.3 kB / 397 MB, free: 15.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.798e-05/0.0229, allocations: 52.38 kB / 397.1 MB, free: 15.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008048/0.0237, allocations: 0.9175 MB / 398 MB, free: 14.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.02372, allocations: 4 kB / 398 MB, free: 14.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.735e-05/0.02377, allocations: 27.98 kB / 398 MB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.194e-05/0.02382, allocations: 40.97 kB / 398.1 MB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004747/0.0243, allocations: 309.5 kB / 398.4 MB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002866/0.02716, allocations: 3.91 MB / 402.3 MB, free: 9.895 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004928/0.02765, allocations: 280.5 kB / 402.6 MB, free: 9.609 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.0278, allocations: 96.3 kB / 402.7 MB, free: 9.512 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003962/0.0282, allocations: 36.3 kB / 402.7 MB, free: 9.477 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.02822, allocations: 37.72 kB / 402.7 MB, free: 9.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=40): time 1.543e-06/0.02823, allocations: 4 kB / 402.7 MB, free: 9.426 MB / 378.7 MB Notification: Performance of matching and sorting (n=45): time 0.001622/0.02985, allocations: 1.008 MB / 403.7 MB, free: 8.375 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.0299, allocations: 136.5 kB / 403.9 MB, free: 8.211 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003771/0.03027, allocations: 0.5335 MB / 404.4 MB, free: 7.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.0303, allocations: 33.7 kB / 404.4 MB, free: 7.621 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002024/0.03051, allocations: 423.1 kB / 404.9 MB, free: 7.203 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.773e-05/0.0306, allocations: 174.5 kB / 405 MB, free: 7.031 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.03075, allocations: 148.2 kB / 405.2 MB, free: 6.879 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.03089, allocations: 0.543 MB / 405.7 MB, free: 6.324 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.03105, allocations: 93.94 kB / 405.8 MB, free: 6.234 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003589/0.03141, allocations: 0.5948 MB / 406.4 MB, free: 5.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005353/0.03195, allocations: 0.6545 MB / 407.1 MB, free: 4.598 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.03195, allocations: 0 / 407.1 MB, free: 4.598 MB / 378.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0008794/0.03283, allocations: 0.6798 MB / 407.7 MB, free: 3.906 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.03285, allocations: 8 kB / 407.7 MB, free: 3.898 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.03286, allocations: 8 kB / 407.7 MB, free: 3.891 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005465/0.0334, allocations: 216.1 kB / 408 MB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.03364, allocations: 127.8 kB / 408.1 MB, free: 3.551 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005243/0.03416, allocations: 0.9365 MB / 409 MB, free: 2.582 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.03438, allocations: 28 kB / 409 MB, free: 2.555 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.751e-05/0.03442, allocations: 36 kB / 409.1 MB, free: 2.52 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.0001521/0.03457, allocations: 208.3 kB / 409.3 MB, free: 2.305 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.853e-05/0.03465, allocations: 79.61 kB / 409.4 MB, free: 2.227 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008892/0.03554, allocations: 494.2 kB / 409.8 MB, free: 1.727 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.03554, allocations: 7.938 kB / 409.9 MB, free: 1.719 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.03555, allocations: 4 kB / 409.9 MB, free: 1.715 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.03555, allocations: 3.984 kB / 409.9 MB, free: 1.711 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.03661, allocations: 0.9911 MB / 410.9 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.03661, allocations: 4.047 kB / 410.9 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004657/0.03708, allocations: 184 kB / 411 MB, free: 472 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001338/0.03721, allocations: 51.62 kB / 411.1 MB, free: 416 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.03723, allocations: 12 kB / 411.1 MB, free: 404 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001612/0.03884, allocations: 3.612 MB / 414.7 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.03885, allocations: 7.938 kB / 414.7 MB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007111/0.03956, allocations: 0.6811 MB / 415.4 MB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001496/0.03971, allocations: 103.6 kB / 415.5 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.493e-05/0.03975, allocations: 19.94 kB / 415.5 MB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.03992, allocations: 15.98 kB / 415.5 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.099e-05/0.03998, allocations: 35.94 kB / 415.6 MB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.683e-05/0.04001, allocations: 19.98 kB / 415.6 MB, free: 11.61 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002401/0.04025, allocations: 334.8 kB / 415.9 MB, free: 11.29 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.04025, allocations: 0 / 415.9 MB, free: 11.29 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004762/0.04073, allocations: 183.9 kB / 416.1 MB, free: 11.11 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.000229/0.04095, allocations: 178.8 kB / 416.3 MB, free: 10.92 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008644/0.04182, allocations: 388.1 kB / 416.7 MB, free: 10.54 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.04182, allocations: 4 kB / 416.7 MB, free: 10.53 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005712/0.04239, allocations: 422.8 kB / 417.1 MB, free: 10.1 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008241/0.04322, allocations: 331.1 kB / 417.4 MB, free: 9.781 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.04496, allocations: 1.198 MB / 418.6 MB, free: 8.523 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.04507, allocations: 178.9 kB / 418.8 MB, free: 8.328 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003566/0.04542, allocations: 172.5 kB / 418.9 MB, free: 8.164 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.04553, allocations: 60.48 kB / 419 MB, free: 8.105 MB / 394.7 MB Notification: Performance of SimCode: time 9.82e-07/0.04553, allocations: 0 / 419 MB, free: 8.105 MB / 394.7 MB Notification: Performance of Templates: time 0.01572/0.06126, allocations: 12.66 MB / 431.6 MB, free: 11.75 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.560776607133448]