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.0008627/0.0008627, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.001014/0.001014, allocations: 156.9 kB / 23.95 MB, free: 0.6133 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.886/0.886, allocations: 177 MB / 204.1 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.2374/0.2374, allocations: 34.23 MB / 294.8 MB, free: 0.6602 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: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 442.2 MB, free: 1.516 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.047e-05/2.256e-05, allocations: 6.219 kB / 442.2 MB, free: 1.508 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.1964/0.1965, allocations: 18.57 MB / 460.7 MB, free: 32.83 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00387/0.2003, allocations: 3.986 MB / 464.7 MB, free: 30.17 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000493/0.2008, allocations: 28.44 kB / 464.8 MB, free: 30.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006602/0.2015, allocations: 309.9 kB / 465.1 MB, free: 29.99 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00132/0.2028, allocations: 0.9115 MB / 466 MB, free: 29.46 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001495/0.2043, allocations: 0.9432 MB / 466.9 MB, free: 28.99 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001338/0.2056, allocations: 1.826 MB / 468.7 MB, free: 28.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004082/0.206, allocations: 407.1 kB / 469.1 MB, free: 27.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001301/0.2073, allocations: 1.174 MB / 470.3 MB, free: 27.48 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005736/0.2079, allocations: 0.6164 MB / 470.9 MB, free: 27.29 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.93e-05/0.208, allocations: 58.91 kB / 471 MB, free: 27.29 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000514/0.2085, allocations: 284 kB / 471.3 MB, free: 27.22 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001623/0.2087, allocations: 275.2 kB / 471.5 MB, free: 27.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001819/0.2088, allocations: 283.3 kB / 471.8 MB, free: 26.99 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008414/0.2097, allocations: 1.125 MB / 472.9 MB, free: 26.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2097, allocations: 4 kB / 472.9 MB, free: 26.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2097, allocations: 0 / 472.9 MB, free: 26.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.2097, allocations: 0 / 472.9 MB, free: 26.6 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.00134/0.211, allocations: 0.9844 MB / 473.9 MB, free: 25.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.2111, allocations: 9.875 kB / 473.9 MB, free: 25.96 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.919e-05/0.2112, allocations: 99.75 kB / 474 MB, free: 25.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002059/0.2114, allocations: 90.34 kB / 474.1 MB, free: 25.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005156/0.2119, allocations: 480.8 kB / 474.6 MB, free: 25.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.634e-05/0.212, allocations: 155.2 kB / 474.7 MB, free: 25.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.908e-05/0.212, allocations: 46 kB / 474.8 MB, free: 25.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007582/0.2128, allocations: 1.072 MB / 475.9 MB, free: 24.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.2128, allocations: 0 / 475.9 MB, free: 24.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.478e-05/0.2128, allocations: 30.52 kB / 475.9 MB, free: 24.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.242e-05/0.2129, allocations: 41.38 kB / 475.9 MB, free: 24.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006222/0.2135, allocations: 0.6386 MB / 476.6 MB, free: 24.38 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.002472/0.216, allocations: 3.411 MB / 480 MB, free: 21.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005382/0.2165, allocations: 401.6 kB / 480.4 MB, free: 21.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001837/0.2167, allocations: 196.6 kB / 480.6 MB, free: 21.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001698/0.2169, allocations: 49.88 kB / 480.6 MB, free: 21.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.2169, allocations: 40.77 kB / 480.7 MB, free: 21.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 2.245e-06/0.2169, allocations: 0 / 480.7 MB, free: 21.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.001978/0.2189, allocations: 1.461 MB / 482.1 MB, free: 20.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.2189, allocations: 135.5 kB / 482.2 MB, free: 20.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000399/0.2193, allocations: 0.5828 MB / 482.8 MB, free: 20.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.2193, allocations: 32.77 kB / 482.9 MB, free: 20.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.2195, allocations: 360.8 kB / 483.2 MB, free: 20.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.344e-05/0.2195, allocations: 172.5 kB / 483.4 MB, free: 19.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.2197, allocations: 142.5 kB / 483.5 MB, free: 19.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.996e-05/0.2197, allocations: 373 kB / 483.9 MB, free: 19.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002312/0.2199, allocations: 226.8 kB / 484.1 MB, free: 19.42 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00032/0.2203, allocations: 0.6014 MB / 484.7 MB, free: 18.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005712/0.2208, allocations: 0.7762 MB / 485.5 MB, free: 18.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.2208, allocations: 6.938 kB / 485.5 MB, free: 18.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001019/0.2219, allocations: 0.9322 MB / 486.4 MB, free: 17.87 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.2219, allocations: 11.97 kB / 486.4 MB, free: 17.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.2219, allocations: 9.25 kB / 486.4 MB, free: 17.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006332/0.2225, allocations: 273.6 kB / 486.7 MB, free: 17.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/0.2228, allocations: 121.1 kB / 486.8 MB, free: 17.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005414/0.2233, allocations: 0.8622 MB / 487.7 MB, free: 17.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002745/0.2236, allocations: 31.75 kB / 487.7 MB, free: 17.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.82e-05/0.2236, allocations: 38.78 kB / 487.8 MB, free: 17.11 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.0002013/0.2238, allocations: 248.7 kB / 488 MB, free: 16.92 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.756e-05/0.2239, allocations: 69.2 kB / 488.1 MB, free: 16.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008084/0.2247, allocations: 0.714 MB / 488.8 MB, free: 16.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.2247, allocations: 6.688 kB / 488.8 MB, free: 16.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.2247, allocations: 0.8438 kB / 488.8 MB, free: 16.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-06/0.2247, allocations: 3.234 kB / 488.8 MB, free: 16.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001386/0.2261, allocations: 1.296 MB / 490.1 MB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.2261, allocations: 2.969 kB / 490.1 MB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005311/0.2266, allocations: 196.5 kB / 490.3 MB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001476/0.2268, allocations: 63.23 kB / 490.3 MB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-05/0.2268, allocations: 13.53 kB / 490.4 MB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001196/0.228, allocations: 2.771 MB / 493.1 MB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.228, allocations: 2.375 kB / 493.1 MB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.2291, allocations: 1.004 MB / 494.1 MB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002005/0.2293, allocations: 128.8 kB / 494.3 MB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.814e-05/0.2293, allocations: 20.84 kB / 494.3 MB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.2295, allocations: 10.62 kB / 494.3 MB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.892e-05/0.2296, allocations: 49.88 kB / 494.3 MB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.097e-05/0.2297, allocations: 17 kB / 494.4 MB, free: 12.47 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003779/0.23, allocations: 422.5 kB / 494.8 MB, free: 12.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.23, allocations: 0 / 494.8 MB, free: 12.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006392/0.2307, allocations: 208.6 kB / 495 MB, free: 12.25 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.001395/0.2321, allocations: 1.672 MB / 496.6 MB, free: 11.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008811/0.2329, allocations: 0.5796 MB / 497.2 MB, free: 10.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.2329, allocations: 0 / 497.2 MB, free: 10.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006794/0.2336, allocations: 468.2 kB / 497.7 MB, free: 10.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009918/0.2346, allocations: 377.8 kB / 498.1 MB, free: 10.63 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006561/0.2412, allocations: 6.473 MB / 0.4927 GB, free: 6.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.2415, allocations: 339.9 kB / 0.493 GB, free: 6.703 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006075/0.2421, allocations: 213.2 kB / 0.4932 GB, free: 6.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002247/0.2423, allocations: 230.9 kB / 0.4934 GB, free: 6.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.172e-06/0.2423, allocations: 0 / 0.4934 GB, free: 6.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04176/0.2841, allocations: 23.66 MB / 0.5166 GB, free: 8.953 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.215/8.5, allocations: 3.938 kB / 0.5166 GB, free: 8.949 MB / 426.7 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 52.5] 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: 10.5519894156605]