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.002576/0.002576, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.003169/0.003169, allocations: 169.3 kB / 24.28 MB, free: 152 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 1.579/1.579, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.3799/0.3799, allocations: 34.26 MB / 295.3 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 179] 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.873e-06/1.873e-06, allocations: 0 / 377.3 MB, free: 2.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.704e-05/3.891e-05, allocations: 2.312 kB / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.03433/0.03437, allocations: 21.02 MB / 398.3 MB, free: 13.86 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008406/0.04277, allocations: 4.364 MB / 402.7 MB, free: 9.48 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007764/0.04355, allocations: 23.75 kB / 402.7 MB, free: 9.457 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.04476, allocations: 313.8 kB / 403 MB, free: 9.148 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002688/0.04745, allocations: 0.9164 MB / 403.9 MB, free: 8.227 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00314/0.05059, allocations: 0.9424 MB / 404.9 MB, free: 7.281 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002804/0.05339, allocations: 1.824 MB / 406.7 MB, free: 5.453 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009859/0.05438, allocations: 421.8 kB / 407.1 MB, free: 5.031 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003498/0.05788, allocations: 1.176 MB / 408.3 MB, free: 3.852 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001411/0.05929, allocations: 0.6155 MB / 408.9 MB, free: 3.234 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002202/0.05951, allocations: 64 kB / 409 MB, free: 3.172 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001074/0.06058, allocations: 283.5 kB / 409.2 MB, free: 2.895 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004833/0.06107, allocations: 287.1 kB / 409.5 MB, free: 2.613 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005967/0.06166, allocations: 279.4 kB / 409.8 MB, free: 2.34 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001908/0.06357, allocations: 1.129 MB / 410.9 MB, free: 1.207 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.06357, allocations: 3.938 kB / 410.9 MB, free: 1.203 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.06358, allocations: 0 / 410.9 MB, free: 1.203 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.06359, allocations: 0 / 410.9 MB, free: 1.203 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.002542/0.06613, allocations: 1.138 MB / 412.1 MB, free: 28 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.06617, allocations: 12.03 kB / 412.1 MB, free: 16 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004997/0.06667, allocations: 152.2 kB / 412.2 MB, free: 15.87 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.06769, allocations: 496.8 kB / 412.7 MB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001785/0.06787, allocations: 156.3 kB / 412.9 MB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.06799, allocations: 60.31 kB / 412.9 MB, free: 15.12 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/0.06961, allocations: 1.022 MB / 413.9 MB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/0.06963, allocations: 4 kB / 414 MB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.893e-05/0.06971, allocations: 27.94 kB / 414 MB, free: 13.9 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.898e-05/0.06979, allocations: 36.97 kB / 414 MB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009857/0.07077, allocations: 439.4 kB / 414.4 MB, free: 13.44 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00627/0.07704, allocations: 4.205 MB / 418.6 MB, free: 9.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009549/0.078, allocations: 359.2 kB / 419 MB, free: 8.73 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003305/0.07833, allocations: 164.2 kB / 419.2 MB, free: 8.566 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003278/0.07866, allocations: 52.28 kB / 419.2 MB, free: 8.516 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.882e-05/0.07871, allocations: 41.72 kB / 419.3 MB, free: 8.465 MB / 394.7 MB Notification: Performance of pre-optimization done (n=40): time 2.205e-06/0.07871, allocations: 4 kB / 419.3 MB, free: 8.461 MB / 394.7 MB Notification: Performance of matching and sorting (n=45): time 0.003567/0.08228, allocations: 1.321 MB / 420.6 MB, free: 7.094 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.0824, allocations: 136.5 kB / 420.7 MB, free: 6.93 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008735/0.08327, allocations: 0.639 MB / 421.3 MB, free: 6.273 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.686e-05/0.08333, allocations: 37.7 kB / 421.4 MB, free: 6.23 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004138/0.08374, allocations: 439.1 kB / 421.8 MB, free: 5.797 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004659/0.08421, allocations: 190.5 kB / 422 MB, free: 5.609 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002961/0.08451, allocations: 164.2 kB / 422.2 MB, free: 5.441 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003899/0.0849, allocations: 0.5782 MB / 422.7 MB, free: 4.852 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003643/0.08526, allocations: 161.9 kB / 422.9 MB, free: 4.691 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009005/0.08616, allocations: 0.6847 MB / 423.6 MB, free: 3.801 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/0.08743, allocations: 0.8068 MB / 424.4 MB, free: 2.82 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.258e-06/0.08744, allocations: 4 kB / 424.4 MB, free: 2.816 MB / 394.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002004/0.08944, allocations: 0.848 MB / 425.2 MB, free: 1.953 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.08947, allocations: 8 kB / 425.2 MB, free: 1.945 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/0.08949, allocations: 11.98 kB / 425.3 MB, free: 1.934 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001187/0.09068, allocations: 247 kB / 425.5 MB, free: 1.691 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004667/0.09114, allocations: 127.8 kB / 425.6 MB, free: 1.566 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001308/0.09245, allocations: 1.077 MB / 426.7 MB, free: 468 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005144/0.09297, allocations: 28 kB / 426.7 MB, free: 440 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.268e-05/0.09304, allocations: 32 kB / 426.8 MB, free: 408 kB / 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.0004183/0.09346, allocations: 264.2 kB / 427 MB, free: 132 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/0.09362, allocations: 75.58 kB / 427.1 MB, free: 56 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001531/0.09516, allocations: 0.6584 MB / 427.8 MB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/0.09517, allocations: 7.938 kB / 427.8 MB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-06/0.09518, allocations: 4 kB / 427.8 MB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.09519, allocations: 3.984 kB / 427.8 MB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002823/0.09801, allocations: 1.304 MB / 429.1 MB, free: 14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.09802, allocations: 7.938 kB / 429.1 MB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009986/0.09902, allocations: 183.8 kB / 429.3 MB, free: 13.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003217/0.09934, allocations: 71.69 kB / 429.3 MB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.908e-05/0.09938, allocations: 8 kB / 429.3 MB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003496/0.1029, allocations: 3.753 MB / 433.1 MB, free: 9.734 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.1029, allocations: 3.938 kB / 433.1 MB, free: 9.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001803/0.1047, allocations: 0.9444 MB / 434 MB, free: 8.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003394/0.105, allocations: 111.5 kB / 434.1 MB, free: 8.621 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.765e-05/0.1051, allocations: 19.94 kB / 434.2 MB, free: 8.602 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003411/0.1055, allocations: 12 kB / 434.2 MB, free: 8.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.1056, allocations: 39.92 kB / 434.2 MB, free: 8.551 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.027e-05/0.1056, allocations: 24.05 kB / 434.2 MB, free: 8.527 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005634/0.1062, allocations: 394.8 kB / 434.6 MB, free: 8.145 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1062, allocations: 0 / 434.6 MB, free: 8.145 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008585/0.107, allocations: 199.9 kB / 434.8 MB, free: 7.949 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.0004779/0.1075, allocations: 229.9 kB / 435 MB, free: 7.719 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001306/0.1088, allocations: 0.5352 MB / 435.6 MB, free: 7.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1088, allocations: 4 kB / 435.6 MB, free: 7.176 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001539/0.1104, allocations: 0.5002 MB / 436.1 MB, free: 6.656 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001604/0.112, allocations: 327 kB / 436.4 MB, free: 6.344 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002477/0.1144, allocations: 1.278 MB / 437.7 MB, free: 5.004 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/0.1149, allocations: 337 kB / 438 MB, free: 4.648 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006189/0.1155, allocations: 185.9 kB / 438.2 MB, free: 4.477 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/0.1156, allocations: 56.48 kB / 438.2 MB, free: 4.422 MB / 410.7 MB Notification: Performance of SimCode: time 2.074e-06/0.1156, allocations: 0 / 438.2 MB, free: 4.422 MB / 410.7 MB Notification: Performance of Templates: time 0.1731/0.2888, allocations: 13.88 MB / 452.1 MB, free: 101.9 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.813695549964905]