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.001304/0.001304, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001528/0.001528, allocations: 210.9 kB / 24.48 MB, free: 3.941 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.413/1.413, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.2276/0.2276, allocations: 46.97 MB / 361.6 MB, free: 4.039 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.001921/0.001921, allocations: 71.91 kB / 0.4973 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3273, allocations: 66.03 MB / 0.5618 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02306/0.3503, allocations: 18.68 MB / 0.5801 GB, free: 1.441 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007018/0.3574, allocations: 3.983 MB / 0.584 GB, free: 13.45 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007817/0.3581, allocations: 27.75 kB / 0.584 GB, free: 13.42 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.3592, allocations: 314 kB / 0.5843 GB, free: 13.11 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002344/0.3615, allocations: 0.8784 MB / 0.5851 GB, free: 12.23 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002558/0.3641, allocations: 0.9367 MB / 0.5861 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002263/0.3664, allocations: 1.821 MB / 0.5878 GB, free: 9.469 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006081/0.367, allocations: 389.6 kB / 0.5882 GB, free: 9.086 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002062/0.369, allocations: 0.9651 MB / 0.5892 GB, free: 8.117 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00106/0.3701, allocations: 0.6811 MB / 0.5898 GB, free: 7.434 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.3702, allocations: 63.94 kB / 0.5899 GB, free: 7.371 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008356/0.371, allocations: 287.6 kB / 0.5902 GB, free: 7.09 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003209/0.3714, allocations: 263.2 kB / 0.5904 GB, free: 6.832 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003936/0.3718, allocations: 326.6 kB / 0.5907 GB, free: 6.512 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001486/0.3732, allocations: 1.09 MB / 0.5918 GB, free: 5.422 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.3732, allocations: 4 kB / 0.5918 GB, free: 5.418 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3732, allocations: 0 / 0.5918 GB, free: 5.418 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.307e-06/0.3733, allocations: 0 / 0.5918 GB, free: 5.418 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.002348/0.3756, allocations: 0.9873 MB / 0.5927 GB, free: 4.398 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.3756, allocations: 8.031 kB / 0.5928 GB, free: 4.391 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003913/0.376, allocations: 100.4 kB / 0.5929 GB, free: 4.293 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009926/0.377, allocations: 478.7 kB / 0.5933 GB, free: 3.797 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001822/0.3772, allocations: 152.4 kB / 0.5935 GB, free: 3.625 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.3773, allocations: 52.33 kB / 0.5935 GB, free: 3.574 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/0.3789, allocations: 1.072 MB / 0.5945 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.888e-05/0.3789, allocations: 7.938 kB / 0.5946 GB, free: 2.355 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.25e-05/0.379, allocations: 23.98 kB / 0.5946 GB, free: 2.332 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.389e-05/0.379, allocations: 40.98 kB / 0.5946 GB, free: 2.293 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.3802, allocations: 0.6439 MB / 0.5952 GB, free: 1.648 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.004943/0.3851, allocations: 3.321 MB / 0.5985 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009221/0.3861, allocations: 405.4 kB / 0.5989 GB, free: 13.81 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003272/0.3864, allocations: 193.4 kB / 0.5991 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002842/0.3867, allocations: 52.28 kB / 0.5991 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.3867, allocations: 34.89 kB / 0.5991 GB, free: 13.53 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.054e-06/0.3867, allocations: 0 / 0.5991 GB, free: 13.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003316/0.39, allocations: 1.466 MB / 0.6006 GB, free: 12.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.202e-05/0.3901, allocations: 132.5 kB / 0.6007 GB, free: 11.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006626/0.3908, allocations: 0.5104 MB / 0.6012 GB, free: 11.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.266e-05/0.3908, allocations: 37.7 kB / 0.6012 GB, free: 11.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003301/0.3912, allocations: 368.3 kB / 0.6016 GB, free: 10.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/0.3913, allocations: 174.6 kB / 0.6018 GB, free: 10.76 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/0.3915, allocations: 134.6 kB / 0.6019 GB, free: 10.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.3917, allocations: 374.8 kB / 0.6022 GB, free: 10.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003889/0.3921, allocations: 225.9 kB / 0.6025 GB, free: 10.03 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006809/0.3928, allocations: 0.5915 MB / 0.603 GB, free: 9.281 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.3938, allocations: 0.7835 MB / 0.6038 GB, free: 8.371 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.3939, allocations: 4 kB / 0.6038 GB, free: 8.367 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001858/0.3957, allocations: 0.9456 MB / 0.6047 GB, free: 7.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.3957, allocations: 8 kB / 0.6047 GB, free: 7.402 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.3957, allocations: 8 kB / 0.6047 GB, free: 7.395 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001155/0.3969, allocations: 264.7 kB / 0.605 GB, free: 7.133 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000443/0.3973, allocations: 127.8 kB / 0.6051 GB, free: 7.008 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/0.3984, allocations: 0.867 MB / 0.606 GB, free: 6.117 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004642/0.3988, allocations: 32.05 kB / 0.606 GB, free: 6.086 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.383e-05/0.3989, allocations: 36 kB / 0.606 GB, free: 6.051 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.0003687/0.3993, allocations: 241.5 kB / 0.6063 GB, free: 5.805 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.3994, allocations: 63.61 kB / 0.6063 GB, free: 5.742 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001411/0.4008, allocations: 0.7113 MB / 0.607 GB, free: 5.031 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.4008, allocations: 4 kB / 0.607 GB, free: 5.027 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.4008, allocations: 0 / 0.607 GB, free: 5.027 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.4008, allocations: 7.984 kB / 0.607 GB, free: 5.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002157/0.403, allocations: 1.231 MB / 0.6082 GB, free: 3.723 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.403, allocations: 8.219 kB / 0.6082 GB, free: 3.715 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.404, allocations: 183.8 kB / 0.6084 GB, free: 3.535 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002712/0.4043, allocations: 60.78 kB / 0.6085 GB, free: 3.473 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.073e-05/0.4043, allocations: 15.94 kB / 0.6085 GB, free: 3.457 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002547/0.4069, allocations: 2.733 MB / 0.6112 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.4069, allocations: 0 / 0.6112 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/0.4085, allocations: 0.9983 MB / 0.6121 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003481/0.4089, allocations: 119.5 kB / 0.6122 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.97e-05/0.409, allocations: 12 kB / 0.6123 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003694/0.4094, allocations: 15.98 kB / 0.6123 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.4095, allocations: 39.88 kB / 0.6123 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.84e-05/0.4095, allocations: 23.98 kB / 0.6123 GB, free: 15.28 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004463/0.41, allocations: 346.8 kB / 0.6127 GB, free: 14.94 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.41, allocations: 0 / 0.6127 GB, free: 14.94 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008356/0.4108, allocations: 211.9 kB / 0.6129 GB, free: 14.73 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.0004294/0.4112, allocations: 218.7 kB / 0.6131 GB, free: 14.51 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001244/0.4125, allocations: 0.5885 MB / 0.6136 GB, free: 13.93 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.4125, allocations: 0 / 0.6136 GB, free: 13.93 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001227/0.4137, allocations: 483.2 kB / 0.6141 GB, free: 13.44 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001483/0.4152, allocations: 318.1 kB / 0.6144 GB, free: 13.14 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002355/0.4175, allocations: 1.404 MB / 0.6158 GB, free: 11.68 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.4179, allocations: 345.1 kB / 0.6161 GB, free: 11.32 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005977/0.4185, allocations: 197.4 kB / 0.6163 GB, free: 11.14 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001697/0.4187, allocations: 55.42 kB / 0.6164 GB, free: 11.09 MB / 462.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4187, allocations: 0 / 0.6164 GB, free: 11.09 MB / 462.1 MB Notification: Performance of Templates: time 0.02623/0.4449, allocations: 15.12 MB / 0.6311 GB, free: 12.28 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 -s cvode -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: 5.448604745004559]