Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001416/0.001416, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001557/0.001557, allocations: 211.8 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 230.5 MB / 257.4 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2392/0.2392, allocations: 46.95 MB / 360.8 MB, free: 3.938 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002289/0.002289, allocations: 75.88 kB / 0.4967 GB, free: 7.039 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.354, allocations: 66.08 MB / 0.5612 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02253/0.3765, allocations: 18.67 MB / 0.5794 GB, free: 1.223 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006482/0.383, allocations: 3.999 MB / 0.5833 GB, free: 13.21 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005402/0.3836, allocations: 27.75 kB / 0.5833 GB, free: 13.18 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008828/0.3844, allocations: 310 kB / 0.5836 GB, free: 12.88 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002151/0.3866, allocations: 0.8823 MB / 0.5845 GB, free: 11.99 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002427/0.389, allocations: 0.9225 MB / 0.5854 GB, free: 11.07 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002169/0.3912, allocations: 1.816 MB / 0.5872 GB, free: 9.254 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005758/0.3918, allocations: 397.5 kB / 0.5876 GB, free: 8.863 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001693/0.3935, allocations: 0.9652 MB / 0.5885 GB, free: 7.895 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000999/0.3945, allocations: 0.6616 MB / 0.5891 GB, free: 7.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.3946, allocations: 60 kB / 0.5892 GB, free: 7.172 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007257/0.3953, allocations: 271.6 kB / 0.5895 GB, free: 6.906 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002903/0.3956, allocations: 275.2 kB / 0.5897 GB, free: 6.637 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003747/0.396, allocations: 330.6 kB / 0.59 GB, free: 6.312 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001416/0.3974, allocations: 1.082 MB / 0.5911 GB, free: 5.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3974, allocations: 0 / 0.5911 GB, free: 5.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3974, allocations: 4 kB / 0.5911 GB, free: 5.227 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.584e-05/0.3974, allocations: 0 / 0.5911 GB, free: 5.227 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.002246/0.3997, allocations: 0.9873 MB / 0.5921 GB, free: 4.207 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.3997, allocations: 12.03 kB / 0.5921 GB, free: 4.195 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003452/0.4, allocations: 100.4 kB / 0.5922 GB, free: 4.098 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009389/0.401, allocations: 474.8 kB / 0.5926 GB, free: 3.605 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/0.4011, allocations: 152.3 kB / 0.5928 GB, free: 3.434 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.4012, allocations: 56.31 kB / 0.5928 GB, free: 3.379 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/0.4027, allocations: 1.076 MB / 0.5939 GB, free: 2.168 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.4027, allocations: 0 / 0.5939 GB, free: 2.168 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.052e-05/0.4028, allocations: 24 kB / 0.5939 GB, free: 2.145 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.995e-05/0.4029, allocations: 44.86 kB / 0.5939 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.404, allocations: 0.6478 MB / 0.5946 GB, free: 1.453 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.004698/0.4087, allocations: 3.321 MB / 0.5978 GB, free: 14.02 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009235/0.4096, allocations: 403.8 kB / 0.5982 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003425/0.4099, allocations: 193.4 kB / 0.5984 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002887/0.4102, allocations: 48.28 kB / 0.5984 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.4103, allocations: 42.83 kB / 0.5985 GB, free: 13.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 1.783e-06/0.4103, allocations: 0 / 0.5985 GB, free: 13.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003273/0.4135, allocations: 1.455 MB / 0.5999 GB, free: 11.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.8e-05/0.4136, allocations: 140.5 kB / 0.6 GB, free: 11.67 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006477/0.4143, allocations: 0.5143 MB / 0.6005 GB, free: 11.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.582e-05/0.4143, allocations: 29.7 kB / 0.6006 GB, free: 11.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002864/0.4146, allocations: 376.3 kB / 0.6009 GB, free: 10.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.4148, allocations: 166.6 kB / 0.6011 GB, free: 10.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002143/0.415, allocations: 138.6 kB / 0.6012 GB, free: 10.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.4152, allocations: 374.8 kB / 0.6016 GB, free: 10.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000409/0.4156, allocations: 221.9 kB / 0.6018 GB, free: 9.836 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000708/0.4163, allocations: 0.5962 MB / 0.6024 GB, free: 9.086 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.4175, allocations: 0.7834 MB / 0.6031 GB, free: 8.176 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.4175, allocations: 3.984 kB / 0.6031 GB, free: 8.172 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001985/0.4194, allocations: 0.9302 MB / 0.604 GB, free: 7.234 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.4195, allocations: 16 kB / 0.6041 GB, free: 7.219 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.4195, allocations: 8 kB / 0.6041 GB, free: 7.211 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001122/0.4206, allocations: 271.3 kB / 0.6043 GB, free: 6.945 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004338/0.421, allocations: 123.8 kB / 0.6044 GB, free: 6.824 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001115/0.4222, allocations: 0.8683 MB / 0.6053 GB, free: 5.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004747/0.4226, allocations: 27.98 kB / 0.6053 GB, free: 5.902 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.174e-05/0.4227, allocations: 36.06 kB / 0.6053 GB, free: 5.867 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.0003955/0.4231, allocations: 241.6 kB / 0.6056 GB, free: 5.621 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.4232, allocations: 63.62 kB / 0.6056 GB, free: 5.559 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001437/0.4246, allocations: 0.7128 MB / 0.6063 GB, free: 4.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.4247, allocations: 8 kB / 0.6063 GB, free: 4.832 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.4247, allocations: 0 / 0.6063 GB, free: 4.832 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.4247, allocations: 3.984 kB / 0.6063 GB, free: 4.828 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002259/0.4269, allocations: 1.224 MB / 0.6075 GB, free: 3.539 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/0.4269, allocations: 4 kB / 0.6075 GB, free: 3.535 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009684/0.4279, allocations: 195.9 kB / 0.6077 GB, free: 3.344 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002498/0.4282, allocations: 60.78 kB / 0.6078 GB, free: 3.281 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.862e-05/0.4282, allocations: 15.88 kB / 0.6078 GB, free: 3.266 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00268/0.4309, allocations: 2.738 MB / 0.6105 GB, free: 336 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.4309, allocations: 0 / 0.6105 GB, free: 336 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001644/0.4325, allocations: 0.9938 MB / 0.6114 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003188/0.4328, allocations: 123.5 kB / 0.6116 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.242e-05/0.4329, allocations: 8 kB / 0.6116 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003538/0.4333, allocations: 19.98 kB / 0.6116 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.4334, allocations: 39.88 kB / 0.6116 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.728e-05/0.4334, allocations: 23.98 kB / 0.6117 GB, free: 15.08 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004474/0.4339, allocations: 350.8 kB / 0.612 GB, free: 14.73 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4339, allocations: 0 / 0.612 GB, free: 14.73 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008229/0.4347, allocations: 199.9 kB / 0.6122 GB, free: 14.54 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.00044/0.4351, allocations: 219 kB / 0.6124 GB, free: 14.32 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001246/0.4364, allocations: 0.5967 MB / 0.613 GB, free: 13.73 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.4364, allocations: 0 / 0.613 GB, free: 13.73 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001189/0.4376, allocations: 470.8 kB / 0.6134 GB, free: 13.25 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/0.4391, allocations: 315.4 kB / 0.6137 GB, free: 12.95 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/0.4418, allocations: 1.411 MB / 0.6151 GB, free: 11.49 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.4422, allocations: 345 kB / 0.6154 GB, free: 11.13 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006413/0.4428, allocations: 199.6 kB / 0.6156 GB, free: 10.95 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/0.443, allocations: 55.42 kB / 0.6157 GB, free: 10.89 MB / 462.1 MB Notification: Performance of SimCode: time 7.12e-07/0.443, allocations: 0 / 0.6157 GB, free: 10.89 MB / 462.1 MB Notification: Performance of Templates: time 0.02693/0.4699, allocations: 14.87 MB / 0.6302 GB, free: 12.3 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.820434244349599]