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.0008372/0.0008372, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003942/0.003942, allocations: 160.1 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.8754/0.8754, allocations: 177 MB / 204.9 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.2623/0.2623, allocations: 34.25 MB / 295.6 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 180] 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 1.734e-06/1.734e-06, allocations: 0 / 443.4 MB, free: 1.047 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.557e-05/2.73e-05, allocations: 6.219 kB / 443.4 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.1886/0.1886, allocations: 18.56 MB / 462 MB, free: 32.77 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003948/0.1926, allocations: 4.001 MB / 466 MB, free: 30.09 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004751/0.1931, allocations: 27.44 kB / 466 MB, free: 30.08 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006894/0.1938, allocations: 310.6 kB / 466.3 MB, free: 29.91 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001359/0.1951, allocations: 0.9032 MB / 467.2 MB, free: 29.38 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001702/0.1968, allocations: 0.943 MB / 468.2 MB, free: 28.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001546/0.1984, allocations: 1.827 MB / 470 MB, free: 28.08 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000446/0.1988, allocations: 392.6 kB / 470.4 MB, free: 27.92 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001412/0.2002, allocations: 1.176 MB / 471.6 MB, free: 27.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006249/0.2008, allocations: 0.6182 MB / 472.2 MB, free: 27.22 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.847e-05/0.2009, allocations: 62.22 kB / 472.2 MB, free: 27.22 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005181/0.2014, allocations: 278.1 kB / 472.5 MB, free: 27.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001564/0.2016, allocations: 285.9 kB / 472.8 MB, free: 27.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001793/0.2018, allocations: 284.4 kB / 473.1 MB, free: 26.91 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009113/0.2027, allocations: 1.121 MB / 474.2 MB, free: 26.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.2027, allocations: 3.938 kB / 474.2 MB, free: 26.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.2027, allocations: 0 / 474.2 MB, free: 26.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.2027, allocations: 0 / 474.2 MB, free: 26.53 MB / 410.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.001457/0.2041, allocations: 0.9852 MB / 475.2 MB, free: 25.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.2042, allocations: 14.41 kB / 475.2 MB, free: 25.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002155/0.2044, allocations: 92.5 kB / 475.3 MB, free: 25.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005196/0.2049, allocations: 485.5 kB / 475.8 MB, free: 25.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-05/0.205, allocations: 149.9 kB / 475.9 MB, free: 25.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.933e-05/0.2051, allocations: 52.3 kB / 476 MB, free: 25.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007508/0.2058, allocations: 1.073 MB / 477 MB, free: 24.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.2058, allocations: 4 kB / 477 MB, free: 24.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.339e-05/0.2059, allocations: 21.62 kB / 477.1 MB, free: 24.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.782e-05/0.2059, allocations: 36.41 kB / 477.1 MB, free: 24.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006137/0.2065, allocations: 0.6552 MB / 477.7 MB, free: 24.36 MB / 410.7 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.00225/0.2088, allocations: 3.326 MB / 481.1 MB, free: 21.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005337/0.2093, allocations: 402.2 kB / 481.5 MB, free: 21.72 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001897/0.2095, allocations: 196.8 kB / 481.7 MB, free: 21.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001909/0.2097, allocations: 53.36 kB / 481.7 MB, free: 21.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.2097, allocations: 42.05 kB / 481.8 MB, free: 21.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 2.084e-06/0.2097, allocations: 0 / 481.8 MB, free: 21.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.001985/0.2117, allocations: 1.454 MB / 483.2 MB, free: 20.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.2117, allocations: 131.3 kB / 483.3 MB, free: 20.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003219/0.2121, allocations: 0.5185 MB / 483.9 MB, free: 20.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.2121, allocations: 32.73 kB / 483.9 MB, free: 20.42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.2122, allocations: 376.3 kB / 484.3 MB, free: 20.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.177e-05/0.2123, allocations: 172.9 kB / 484.4 MB, free: 19.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.2124, allocations: 138 kB / 484.6 MB, free: 19.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.3e-05/0.2124, allocations: 366.5 kB / 484.9 MB, free: 19.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/0.2127, allocations: 226 kB / 485.1 MB, free: 19.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003187/0.213, allocations: 0.5965 MB / 485.7 MB, free: 18.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005782/0.2136, allocations: 0.7786 MB / 486.5 MB, free: 18.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.2136, allocations: 3 kB / 486.5 MB, free: 18.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001023/0.2146, allocations: 0.9313 MB / 487.4 MB, free: 17.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.2146, allocations: 9.438 kB / 487.5 MB, free: 17.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.2146, allocations: 13.44 kB / 487.5 MB, free: 17.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005913/0.2152, allocations: 262.3 kB / 487.7 MB, free: 17.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.2154, allocations: 132.1 kB / 487.9 MB, free: 17.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005387/0.216, allocations: 0.8605 MB / 488.7 MB, free: 17.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002614/0.2162, allocations: 26.81 kB / 488.7 MB, free: 17.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-05/0.2163, allocations: 30.69 kB / 488.8 MB, free: 17.18 MB / 410.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.0002101/0.2165, allocations: 253.6 kB / 489 MB, free: 17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-05/0.2165, allocations: 63.7 kB / 489.1 MB, free: 16.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007655/0.2173, allocations: 0.7099 MB / 489.8 MB, free: 16.65 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.2173, allocations: 13.53 kB / 489.8 MB, free: 16.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2173, allocations: 0 / 489.8 MB, free: 16.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.2173, allocations: 8.656 kB / 489.8 MB, free: 16.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001208/0.2185, allocations: 1.229 MB / 491 MB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.2185, allocations: 1.094 kB / 491 MB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004829/0.219, allocations: 193.7 kB / 491.2 MB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001382/0.2192, allocations: 59.03 kB / 491.3 MB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.599e-05/0.2192, allocations: 17.66 kB / 491.3 MB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001112/0.2203, allocations: 2.727 MB / 494 MB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.2203, allocations: 2.406 kB / 494 MB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009866/0.2213, allocations: 1.002 MB / 495 MB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000166/0.2214, allocations: 115.3 kB / 495.1 MB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.451e-05/0.2215, allocations: 16.28 kB / 495.2 MB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.2217, allocations: 13.77 kB / 495.2 MB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.66e-05/0.2217, allocations: 40.12 kB / 495.2 MB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.429e-05/0.2218, allocations: 19.66 kB / 495.2 MB, free: 12.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003366/0.2221, allocations: 347.9 kB / 495.6 MB, free: 12.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2221, allocations: 0 / 495.6 MB, free: 12.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005863/0.2227, allocations: 206.9 kB / 495.8 MB, free: 12.49 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.0003249/0.223, allocations: 222 kB / 496 MB, free: 12.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007648/0.2238, allocations: 0.5843 MB / 496.6 MB, free: 12.15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2238, allocations: 5 kB / 496.6 MB, free: 12.15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006479/0.2244, allocations: 459.5 kB / 497 MB, free: 11.94 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008843/0.2253, allocations: 322.1 kB / 497.3 MB, free: 11.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.2269, allocations: 1.352 MB / 498.7 MB, free: 11.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.2271, allocations: 345.6 kB / 499 MB, free: 10.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.2272, allocations: 68.06 kB / 499.1 MB, free: 10.95 MB / 410.7 MB Notification: Performance of SimCode: time 6.62e-07/0.2272, allocations: 0 / 499.1 MB, free: 10.95 MB / 410.7 MB Notification: Performance of Templates: time 0.01859/0.2458, allocations: 15.25 MB / 0.5023 GB, free: 6.734 MB / 410.7 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: 6.649242587387562]