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.0009227/0.0009227, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009158/0.0009158, allocations: 163.9 kB / 25.61 MB, free: 8.582 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.9293/0.9293, allocations: 177.1 MB / 206.1 MB, free: 4.477 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.2511/0.2511, allocations: 34.26 MB / 296.8 MB, free: 13.92 MB / 282.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.213e-06/1.213e-06, allocations: 0 / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.695e-05/1.816e-05, allocations: 6.312 kB / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.004892/0.00491, allocations: 7.302 MB / 386.6 MB, free: 16.05 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002314/0.007224, allocations: 2.433 MB / 389 MB, free: 13.61 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002997/0.007524, allocations: 27.75 kB / 389.1 MB, free: 13.59 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004303/0.007954, allocations: 218.5 kB / 389.3 MB, free: 13.37 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008533/0.008807, allocations: 0.7689 MB / 390 MB, free: 12.6 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.009809, allocations: 0.83 MB / 390.9 MB, free: 11.77 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000925/0.01073, allocations: 1.863 MB / 392.7 MB, free: 9.895 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003111/0.01104, allocations: 417.8 kB / 393.1 MB, free: 9.484 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007747/0.01182, allocations: 1.017 MB / 394.2 MB, free: 8.465 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004634/0.01228, allocations: 0.5921 MB / 394.8 MB, free: 7.871 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.094e-05/0.01234, allocations: 60 kB / 394.8 MB, free: 7.812 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002815/0.01263, allocations: 195.7 kB / 395 MB, free: 7.621 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.01277, allocations: 283.1 kB / 395.3 MB, free: 7.344 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001646/0.01294, allocations: 275.4 kB / 395.6 MB, free: 7.074 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000631/0.01357, allocations: 0.7554 MB / 396.3 MB, free: 6.316 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.01357, allocations: 0 / 396.3 MB, free: 6.316 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.01357, allocations: 0 / 396.3 MB, free: 6.316 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.01358, allocations: 4 kB / 396.3 MB, free: 6.312 MB / 314.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.001124/0.0147, allocations: 1.075 MB / 397.4 MB, free: 5.199 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.01473, allocations: 12.03 kB / 397.4 MB, free: 5.188 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002474/0.01498, allocations: 156.1 kB / 397.6 MB, free: 5.035 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004552/0.01544, allocations: 480.8 kB / 398 MB, free: 4.535 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.489e-05/0.01551, allocations: 152.4 kB / 398.2 MB, free: 4.363 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.415e-05/0.01558, allocations: 60.31 kB / 398.2 MB, free: 4.305 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005034/0.01608, allocations: 0.8533 MB / 399.1 MB, free: 3.289 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.0161, allocations: 3.938 kB / 399.1 MB, free: 3.285 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.168e-05/0.01614, allocations: 23.98 kB / 399.1 MB, free: 3.262 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.255e-05/0.01618, allocations: 36.98 kB / 399.1 MB, free: 3.223 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002968/0.01648, allocations: 250.5 kB / 399.4 MB, free: 2.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002158/0.01864, allocations: 3.802 MB / 403.2 MB, free: 15.05 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004234/0.01906, allocations: 262.4 kB / 403.4 MB, free: 14.79 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.01917, allocations: 84.3 kB / 403.5 MB, free: 14.7 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001324/0.0193, allocations: 36.3 kB / 403.6 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.01933, allocations: 41.72 kB / 403.6 MB, free: 14.61 MB / 330.7 MB Notification: Performance of pre-optimization done (n=40): time 1.804e-06/0.01933, allocations: 0 / 403.6 MB, free: 14.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=45): time 0.001436/0.02076, allocations: 0.8642 MB / 404.5 MB, free: 13.71 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.237e-05/0.02083, allocations: 136.5 kB / 404.6 MB, free: 13.55 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003417/0.02117, allocations: 0.541 MB / 405.1 MB, free: 12.99 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/0.0212, allocations: 33.7 kB / 405.2 MB, free: 12.95 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002047/0.0214, allocations: 438.9 kB / 405.6 MB, free: 12.51 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.04e-05/0.02149, allocations: 162.6 kB / 405.8 MB, free: 12.35 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/0.02163, allocations: 156.2 kB / 405.9 MB, free: 12.19 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.02179, allocations: 0.5507 MB / 406.5 MB, free: 11.63 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.02189, allocations: 73.92 kB / 406.5 MB, free: 11.55 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003216/0.02221, allocations: 0.6 MB / 407.1 MB, free: 10.73 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004558/0.02267, allocations: 0.6532 MB / 407.8 MB, free: 9.879 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.02267, allocations: 4 kB / 407.8 MB, free: 9.875 MB / 330.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0007781/0.02345, allocations: 0.6415 MB / 408.4 MB, free: 9.223 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.02347, allocations: 14.12 kB / 408.5 MB, free: 9.211 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.02348, allocations: 12 kB / 408.5 MB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005228/0.024, allocations: 211.4 kB / 408.7 MB, free: 8.988 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.02424, allocations: 135.8 kB / 408.8 MB, free: 8.855 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005317/0.02477, allocations: 0.9209 MB / 409.7 MB, free: 7.902 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/0.025, allocations: 28 kB / 409.8 MB, free: 7.875 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.491e-05/0.02503, allocations: 31.98 kB / 409.8 MB, free: 7.844 MB / 330.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.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[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.0001626/0.0252, allocations: 212.3 kB / 410 MB, free: 7.625 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.188e-05/0.02529, allocations: 83.52 kB / 410.1 MB, free: 7.543 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005853/0.02587, allocations: 465.7 kB / 410.5 MB, free: 7.078 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.086e-06/0.02588, allocations: 7.984 kB / 410.5 MB, free: 7.07 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.02588, allocations: 3.938 kB / 410.5 MB, free: 7.066 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.02589, allocations: 11.98 kB / 410.6 MB, free: 7.055 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009577/0.02685, allocations: 0.8742 MB / 411.4 MB, free: 6.113 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.02685, allocations: 0 / 411.4 MB, free: 6.113 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004346/0.02729, allocations: 168 kB / 411.6 MB, free: 5.949 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000151/0.02744, allocations: 51.61 kB / 411.6 MB, free: 5.895 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.02746, allocations: 16 kB / 411.7 MB, free: 5.879 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001579/0.02904, allocations: 3.562 MB / 415.2 MB, free: 2.082 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.02904, allocations: 4 kB / 415.2 MB, free: 2.078 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006744/0.02972, allocations: 0.6381 MB / 415.9 MB, free: 1.391 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.02985, allocations: 99.55 kB / 416 MB, free: 1.293 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.057e-05/0.0299, allocations: 16 kB / 416 MB, free: 1.277 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.03007, allocations: 8 kB / 416 MB, free: 1.27 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.263e-05/0.03013, allocations: 43.81 kB / 416 MB, free: 1.227 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.636e-05/0.03016, allocations: 19.98 kB / 416 MB, free: 1.207 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001843/0.03034, allocations: 314.7 kB / 416.3 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03034, allocations: 4.031 kB / 416.4 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005177/0.03086, allocations: 191.9 kB / 416.5 MB, free: 0.7109 MB / 330.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.0002392/0.0311, allocations: 162.9 kB / 416.7 MB, free: 0.543 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005066/0.0316, allocations: 368.5 kB / 417.1 MB, free: 184 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.03161, allocations: 0 / 417.1 MB, free: 184 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006727/0.03228, allocations: 394.6 kB / 417.4 MB, free: 15.77 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008643/0.03314, allocations: 332.8 kB / 417.8 MB, free: 15.46 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.03484, allocations: 1.186 MB / 419 MB, free: 14.21 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.03495, allocations: 175 kB / 419.1 MB, free: 14.02 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003078/0.03526, allocations: 119.3 kB / 419.2 MB, free: 13.9 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004547/0.03571, allocations: 329.9 kB / 419.6 MB, free: 13.57 MB / 346.7 MB Notification: Performance of SimCode: time 1.262e-06/0.03571, allocations: 0 / 419.6 MB, free: 13.57 MB / 346.7 MB Notification: Performance of Templates: time 0.01623/0.05194, allocations: 14.07 MB / 433.6 MB, free: 15.83 MB / 362.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.438687326386571]