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.00116/0.00116, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001292/0.001292, allocations: 174.4 kB / 24.82 MB, free: 9.262 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 1.072/1.072, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.3666/0.3666, allocations: 34.26 MB / 296.1 MB, free: 0.707 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 2.555e-06/2.555e-06, allocations: 0 / 378.5 MB, free: 2.375 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.088e-05/4.343e-05, allocations: 2.312 kB / 378.5 MB, free: 2.371 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.01126/0.0113, allocations: 7.311 MB / 385.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005055/0.01636, allocations: 2.437 MB / 388.3 MB, free: 8.57 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008895/0.01725, allocations: 31.75 kB / 388.3 MB, free: 8.539 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007467/0.01799, allocations: 210.5 kB / 388.5 MB, free: 8.332 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001603/0.0196, allocations: 0.7689 MB / 389.3 MB, free: 7.559 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001767/0.02137, allocations: 0.8377 MB / 390.1 MB, free: 6.719 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002404/0.02377, allocations: 1.855 MB / 392 MB, free: 4.859 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008152/0.02458, allocations: 429.7 kB / 392.4 MB, free: 4.438 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001915/0.0265, allocations: 1.005 MB / 393.4 MB, free: 3.43 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00106/0.02756, allocations: 0.5999 MB / 394 MB, free: 2.828 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001525/0.02771, allocations: 56 kB / 394 MB, free: 2.773 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005805/0.02829, allocations: 195.7 kB / 394.2 MB, free: 2.582 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002518/0.02854, allocations: 279.2 kB / 394.5 MB, free: 2.309 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000347/0.02889, allocations: 275.4 kB / 394.8 MB, free: 2.039 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001154/0.03005, allocations: 0.7632 MB / 395.5 MB, free: 1.273 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.03005, allocations: 0 / 395.5 MB, free: 1.273 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.03005, allocations: 0 / 395.5 MB, free: 1.273 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.838e-05/0.03008, allocations: 0 / 395.5 MB, free: 1.273 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.001694/0.03178, allocations: 1.071 MB / 396.6 MB, free: 168 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.03182, allocations: 11.97 kB / 396.6 MB, free: 156 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003294/0.03215, allocations: 156.2 kB / 396.8 MB, free: 0 / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006323/0.03279, allocations: 476.8 kB / 397.2 MB, free: 15.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/0.0329, allocations: 160.3 kB / 397.4 MB, free: 15.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.191e-05/0.03298, allocations: 48.38 kB / 397.4 MB, free: 15.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007577/0.03373, allocations: 0.8533 MB / 398.3 MB, free: 14.26 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.03375, allocations: 11.92 kB / 398.3 MB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.195e-05/0.03381, allocations: 27.98 kB / 398.3 MB, free: 14.22 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-05/0.03386, allocations: 32.98 kB / 398.4 MB, free: 14.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003582/0.03421, allocations: 266.5 kB / 398.6 MB, free: 13.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003001/0.03722, allocations: 3.798 MB / 402.4 MB, free: 9.996 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004547/0.03767, allocations: 252.5 kB / 402.7 MB, free: 9.738 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.03778, allocations: 84.28 kB / 402.7 MB, free: 9.652 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000172/0.03795, allocations: 39.55 kB / 402.8 MB, free: 9.617 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.03798, allocations: 45.66 kB / 402.8 MB, free: 9.562 MB / 378.7 MB Notification: Performance of pre-optimization done (n=40): time 2.896e-06/0.03799, allocations: 4 kB / 402.8 MB, free: 9.559 MB / 378.7 MB Notification: Performance of matching and sorting (n=45): time 0.001559/0.03955, allocations: 0.8565 MB / 403.7 MB, free: 8.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.27e-05/0.03961, allocations: 136.5 kB / 403.8 MB, free: 8.496 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003775/0.03999, allocations: 0.5332 MB / 404.4 MB, free: 7.945 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.198e-05/0.04003, allocations: 37.7 kB / 404.4 MB, free: 7.902 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002423/0.04027, allocations: 431 kB / 404.8 MB, free: 7.477 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.04039, allocations: 174.6 kB / 405 MB, free: 7.305 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.04054, allocations: 152.2 kB / 405.1 MB, free: 7.148 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002023/0.04074, allocations: 0.5585 MB / 405.7 MB, free: 6.578 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.04087, allocations: 73.92 kB / 405.8 MB, free: 6.504 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000373/0.04124, allocations: 0.6078 MB / 406.4 MB, free: 5.676 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005761/0.04182, allocations: 0.6493 MB / 407 MB, free: 4.836 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.04182, allocations: 4 kB / 407 MB, free: 4.832 MB / 378.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0008772/0.0427, allocations: 0.6337 MB / 407.7 MB, free: 4.188 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.04272, allocations: 17.97 kB / 407.7 MB, free: 4.172 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.04274, allocations: 8 kB / 407.7 MB, free: 4.164 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005572/0.04329, allocations: 215.2 kB / 407.9 MB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.04353, allocations: 131.8 kB / 408 MB, free: 3.824 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005883/0.04412, allocations: 0.9286 MB / 409 MB, free: 2.863 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002731/0.04439, allocations: 28 kB / 409 MB, free: 2.836 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.829e-05/0.04443, allocations: 35.98 kB / 409 MB, free: 2.801 MB / 378.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.000211/0.04464, allocations: 208.3 kB / 409.2 MB, free: 2.586 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.301e-05/0.04474, allocations: 75.58 kB / 409.3 MB, free: 2.512 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007304/0.04547, allocations: 476.8 kB / 409.8 MB, free: 2.031 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.04548, allocations: 4 kB / 409.8 MB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.04548, allocations: 3.938 kB / 409.8 MB, free: 2.023 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.04549, allocations: 3.984 kB / 409.8 MB, free: 2.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/0.04667, allocations: 0.8825 MB / 410.7 MB, free: 1.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.04668, allocations: 0 / 410.7 MB, free: 1.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004078/0.04708, allocations: 155.8 kB / 410.8 MB, free: 0.918 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001574/0.04724, allocations: 55.61 kB / 410.9 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.961e-05/0.04727, allocations: 24.02 kB / 410.9 MB, free: 0.8359 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001811/0.04908, allocations: 3.558 MB / 414.4 MB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.04908, allocations: 4 kB / 414.4 MB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006695/0.04975, allocations: 0.6264 MB / 415.1 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/0.0499, allocations: 107.5 kB / 415.2 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.395e-05/0.04994, allocations: 12 kB / 415.2 MB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.0501, allocations: 12 kB / 415.2 MB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.939e-05/0.05017, allocations: 47.88 kB / 415.2 MB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.518e-05/0.05019, allocations: 15.98 kB / 415.3 MB, free: 12.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002098/0.0504, allocations: 314.6 kB / 415.6 MB, free: 11.87 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0504, allocations: 0 / 415.6 MB, free: 11.87 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006173/0.05102, allocations: 199.9 kB / 415.8 MB, free: 11.68 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.0003204/0.05134, allocations: 159.1 kB / 415.9 MB, free: 11.51 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005985/0.05194, allocations: 367.7 kB / 416.3 MB, free: 11.14 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.05194, allocations: 0 / 416.3 MB, free: 11.14 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005551/0.0525, allocations: 395.4 kB / 416.7 MB, free: 10.74 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008457/0.05334, allocations: 323.8 kB / 417 MB, free: 10.43 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.05525, allocations: 1.198 MB / 418.2 MB, free: 9.176 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/0.05537, allocations: 175.2 kB / 418.4 MB, free: 8.984 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003795/0.05575, allocations: 112.6 kB / 418.5 MB, free: 8.879 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004561/0.05621, allocations: 329.9 kB / 418.8 MB, free: 8.555 MB / 394.7 MB Notification: Performance of SimCode: time 1.774e-06/0.05621, allocations: 0 / 418.8 MB, free: 8.555 MB / 394.7 MB Notification: Performance of Templates: time 0.01937/0.07558, allocations: 13.87 MB / 432.6 MB, free: 10.98 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.91603001113981]