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.001318/0.001318, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.001563/0.001563, allocations: 211.5 kB / 24.48 MB, free: 3.938 MB / 14.72 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.456/1.456, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 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.2337/0.2337, allocations: 46.96 MB / 361.6 MB, free: 4.055 MB / 286.1 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 0.00213/0.00213, allocations: 76.12 kB / 0.4973 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3722, allocations: 66.04 MB / 0.5618 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02411/0.3964, allocations: 18.69 MB / 0.5801 GB, free: 1.426 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007191/0.4035, allocations: 3.983 MB / 0.584 GB, free: 13.43 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008044/0.4043, allocations: 27.75 kB / 0.584 GB, free: 13.4 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.4054, allocations: 302 kB / 0.5843 GB, free: 13.11 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002361/0.4078, allocations: 0.8862 MB / 0.5852 GB, free: 12.21 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002768/0.4105, allocations: 0.9263 MB / 0.5861 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002592/0.4131, allocations: 1.813 MB / 0.5878 GB, free: 9.477 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007421/0.4139, allocations: 393.6 kB / 0.5882 GB, free: 9.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002257/0.4161, allocations: 0.9613 MB / 0.5891 GB, free: 8.125 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001124/0.4173, allocations: 0.6577 MB / 0.5898 GB, free: 7.465 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001287/0.4174, allocations: 63.94 kB / 0.5898 GB, free: 7.402 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008424/0.4182, allocations: 287.6 kB / 0.5901 GB, free: 7.121 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003147/0.4185, allocations: 267.2 kB / 0.5904 GB, free: 6.859 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004357/0.419, allocations: 330.6 kB / 0.5907 GB, free: 6.535 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001594/0.4206, allocations: 1.085 MB / 0.5917 GB, free: 5.449 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.4206, allocations: 0 / 0.5917 GB, free: 5.449 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4206, allocations: 0 / 0.5917 GB, free: 5.449 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.4206, allocations: 0 / 0.5917 GB, free: 5.449 MB / 430.1 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.002391/0.423, allocations: 0.9912 MB / 0.5927 GB, free: 4.426 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.423, allocations: 8.031 kB / 0.5927 GB, free: 4.418 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003815/0.4234, allocations: 96.41 kB / 0.5928 GB, free: 4.324 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.4244, allocations: 474.7 kB / 0.5933 GB, free: 3.832 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001679/0.4246, allocations: 156.3 kB / 0.5934 GB, free: 3.656 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.4247, allocations: 52.33 kB / 0.5935 GB, free: 3.605 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.4262, allocations: 1.076 MB / 0.5945 GB, free: 2.395 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/0.4262, allocations: 3.938 kB / 0.5945 GB, free: 2.391 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.101e-05/0.4263, allocations: 27.98 kB / 0.5945 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.596e-05/0.4264, allocations: 36.98 kB / 0.5946 GB, free: 2.328 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/0.4275, allocations: 0.6439 MB / 0.5952 GB, free: 1.684 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004908/0.4324, allocations: 3.329 MB / 0.5985 GB, free: 14.24 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000935/0.4334, allocations: 395.9 kB / 0.5988 GB, free: 13.85 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00034/0.4337, allocations: 189.4 kB / 0.599 GB, free: 13.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002977/0.434, allocations: 52.28 kB / 0.5991 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/0.434, allocations: 38.89 kB / 0.5991 GB, free: 13.56 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.595e-06/0.434, allocations: 0 / 0.5991 GB, free: 13.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003325/0.4374, allocations: 1.462 MB / 0.6005 GB, free: 12.06 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.4375, allocations: 136.5 kB / 0.6007 GB, free: 11.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000636/0.4381, allocations: 0.5104 MB / 0.6012 GB, free: 11.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.004e-05/0.4382, allocations: 41.64 kB / 0.6012 GB, free: 11.33 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003029/0.4385, allocations: 372.3 kB / 0.6016 GB, free: 10.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.4386, allocations: 170.6 kB / 0.6017 GB, free: 10.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002139/0.4388, allocations: 142.6 kB / 0.6019 GB, free: 10.65 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.439, allocations: 362.8 kB / 0.6022 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004048/0.4394, allocations: 225.9 kB / 0.6024 GB, free: 10.06 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007153/0.4401, allocations: 0.5993 MB / 0.603 GB, free: 9.305 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.4412, allocations: 0.7835 MB / 0.6038 GB, free: 8.395 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.4412, allocations: 4 kB / 0.6038 GB, free: 8.391 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001875/0.4431, allocations: 0.9337 MB / 0.6047 GB, free: 7.445 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.4431, allocations: 8 kB / 0.6047 GB, free: 7.438 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/0.4432, allocations: 12 kB / 0.6047 GB, free: 7.426 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.4443, allocations: 264 kB / 0.605 GB, free: 7.168 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004325/0.4447, allocations: 127.8 kB / 0.6051 GB, free: 7.043 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001035/0.4458, allocations: 0.879 MB / 0.6059 GB, free: 6.141 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004755/0.4462, allocations: 28 kB / 0.606 GB, free: 6.113 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.887e-05/0.4463, allocations: 32 kB / 0.606 GB, free: 6.082 MB / 446.1 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.0003889/0.4467, allocations: 245.5 kB / 0.6062 GB, free: 5.832 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.4468, allocations: 63.62 kB / 0.6063 GB, free: 5.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001382/0.4482, allocations: 0.705 MB / 0.607 GB, free: 5.062 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.454e-05/0.4482, allocations: 8 kB / 0.607 GB, free: 5.055 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.4482, allocations: 0 / 0.607 GB, free: 5.055 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/0.4482, allocations: 3.984 kB / 0.607 GB, free: 5.051 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002204/0.4504, allocations: 1.236 MB / 0.6082 GB, free: 3.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.4504, allocations: 0 / 0.6082 GB, free: 3.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009848/0.4514, allocations: 195.8 kB / 0.6084 GB, free: 3.559 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002525/0.4517, allocations: 48.8 kB / 0.6084 GB, free: 3.508 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.44e-05/0.4517, allocations: 28.05 kB / 0.6085 GB, free: 3.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002491/0.4542, allocations: 2.722 MB / 0.6111 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.4542, allocations: 8.094 kB / 0.6111 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001736/0.4559, allocations: 0.9943 MB / 0.6121 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003354/0.4563, allocations: 111.5 kB / 0.6122 GB, free: 15.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.817e-05/0.4564, allocations: 23.98 kB / 0.6122 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003353/0.4567, allocations: 11.94 kB / 0.6122 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.4568, allocations: 43.88 kB / 0.6123 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-05/0.4568, allocations: 19.98 kB / 0.6123 GB, free: 15.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004714/0.4573, allocations: 346.8 kB / 0.6126 GB, free: 14.97 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4573, allocations: 4.062 kB / 0.6126 GB, free: 14.96 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000853/0.4582, allocations: 207.9 kB / 0.6128 GB, free: 14.76 MB / 462.1 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.0004272/0.4586, allocations: 223.4 kB / 0.613 GB, free: 14.54 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00127/0.4599, allocations: 0.5957 MB / 0.6136 GB, free: 13.95 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4599, allocations: 0 / 0.6136 GB, free: 13.95 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001133/0.461, allocations: 467.8 kB / 0.6141 GB, free: 13.48 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/0.4625, allocations: 299.5 kB / 0.6144 GB, free: 13.19 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/0.4649, allocations: 1.449 MB / 0.6158 GB, free: 11.68 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000378/0.4653, allocations: 337.1 kB / 0.6161 GB, free: 11.32 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/0.4655, allocations: 63.42 kB / 0.6161 GB, free: 11.26 MB / 462.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4655, allocations: 0 / 0.6161 GB, free: 11.26 MB / 462.1 MB Notification: Performance of Templates: time 0.02595/0.4915, allocations: 15.2 MB / 0.631 GB, free: 12.16 MB / 478.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/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: 10.25210892688483]