Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.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.001514/0.001514, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001679/0.001679, allocations: 217 kB / 24.53 MB, free: 4.008 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.353/1.353, allocations: 230.5 MB / 258.2 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SimpleLiquidWater",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SimpleLiquidWater",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001777/0.001777, allocations: 67.84 kB / 378.5 MB, free: 3.035 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2205, allocations: 53.4 MB / 431.9 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005931/0.2264, allocations: 4.593 MB / 436.5 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002056/0.2285, allocations: 1.821 MB / 438.4 MB, free: 260 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.868e-05/0.2285, allocations: 8 kB / 438.4 MB, free: 252 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002201/0.2287, allocations: 43.67 kB / 438.4 MB, free: 208 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003279/0.2291, allocations: 123.2 kB / 438.5 MB, free: 84 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006677/0.2297, allocations: 262.3 kB / 438.8 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003593/0.2301, allocations: 294.9 kB / 439.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.185e-05/0.2301, allocations: 13.2 kB / 439.1 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002709/0.2304, allocations: 135.6 kB / 439.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.2305, allocations: 79.69 kB / 439.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/0.2306, allocations: 8 kB / 439.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000252/0.2308, allocations: 119.8 kB / 439.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.115e-05/0.2309, allocations: 39.89 kB / 439.5 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.699e-05/0.231, allocations: 71.72 kB / 439.5 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003332/0.2313, allocations: 227.6 kB / 439.8 MB, free: 14.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2313, allocations: 4 kB / 439.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2313, allocations: 0 / 439.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.2313, allocations: 0 / 439.8 MB, free: 14.86 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009231/0.2322, allocations: 421.8 kB / 440.2 MB, free: 14.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.2323, allocations: 8.031 kB / 440.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.319e-05/0.2323, allocations: 4.469 kB / 440.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.157e-05/0.2323, allocations: 50.67 kB / 440.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.2325, allocations: 24.83 kB / 440.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002689/0.2328, allocations: 146.3 kB / 440.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.2328, allocations: 12.66 kB / 440.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.784e-05/0.2328, allocations: 24.12 kB / 440.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004228/0.2333, allocations: 213.7 kB / 440.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.2333, allocations: 4 kB / 440.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/0.2333, allocations: 12 kB / 440.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.2333, allocations: 4 kB / 440.7 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003733/0.2337, allocations: 155.8 kB / 440.8 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.235, allocations: 0.9063 MB / 441.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003994/0.2354, allocations: 138.8 kB / 441.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/0.2356, allocations: 52.83 kB / 441.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004751/0.236, allocations: 340.1 kB / 442.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.2361, allocations: 34.56 kB / 442.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.393e-06/0.2361, allocations: 0 / 442.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002502/0.2386, allocations: 0.6946 MB / 443 MB, free: 11.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.2386, allocations: 55.41 kB / 443 MB, free: 11.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.2388, allocations: 157.4 kB / 443.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.2388, allocations: 33.7 kB / 443.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.259e-05/0.2389, allocations: 140.1 kB / 443.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.466e-05/0.2389, allocations: 79.31 kB / 443.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.535e-05/0.239, allocations: 65.62 kB / 443.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.2392, allocations: 326.8 kB / 443.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002529/0.2394, allocations: 83.94 kB / 443.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003417/0.2398, allocations: 194 kB / 444.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005954/0.2404, allocations: 296.8 kB / 444.4 MB, free: 9.891 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2404, allocations: 4 kB / 444.4 MB, free: 9.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007126/0.2411, allocations: 325.3 kB / 444.7 MB, free: 9.562 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.2411, allocations: 4 kB / 444.7 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.2411, allocations: 4 kB / 444.7 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.2411, allocations: 8 kB / 444.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003661/0.2415, allocations: 79.89 kB / 444.8 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.2415, allocations: 7.938 kB / 444.8 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002151/0.2417, allocations: 16.17 kB / 444.8 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.38e-05/0.2418, allocations: 23.98 kB / 444.8 MB, free: 9.422 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000129/0.2419, allocations: 137.7 kB / 445 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.083e-05/0.2419, allocations: 15.91 kB / 445 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006793/0.2426, allocations: 234.5 kB / 445.2 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.2426, allocations: 8 kB / 445.2 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2426, allocations: 0 / 445.2 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.2426, allocations: 0 / 445.2 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.2439, allocations: 0.5826 MB / 445.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2439, allocations: 0 / 445.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002867/0.2442, allocations: 47.95 kB / 445.9 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.2442, allocations: 4 kB / 445.9 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.2443, allocations: 8 kB / 445.9 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.673e-06/0.2443, allocations: 7.922 kB / 445.9 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/0.2443, allocations: 12.05 kB / 445.9 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008465/0.2451, allocations: 399.2 kB / 446.3 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.047e-05/0.2452, allocations: 27.91 kB / 446.3 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.115e-05/0.2452, allocations: 15.94 kB / 446.3 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002491/0.2455, allocations: 11.98 kB / 446.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.2455, allocations: 19.91 kB / 446.3 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-05/0.2455, allocations: 16 kB / 446.4 MB, free: 7.789 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.464e-05/0.2456, allocations: 112.1 kB / 446.5 MB, free: 7.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2456, allocations: 0 / 446.5 MB, free: 7.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003713/0.246, allocations: 63.94 kB / 446.5 MB, free: 7.617 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001267/0.2473, allocations: 0.9672 MB / 447.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006066/0.2479, allocations: 207.5 kB / 447.7 MB, free: 6.414 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/0.2479, allocations: 4 kB / 447.7 MB, free: 6.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002542/0.2481, allocations: 91.81 kB / 447.8 MB, free: 6.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004015/0.2485, allocations: 40.33 kB / 447.8 MB, free: 6.281 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003574/0.2521, allocations: 2.38 MB / 450.2 MB, free: 3.707 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.2524, allocations: 0.7168 MB / 450.9 MB, free: 2.965 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002045/0.2527, allocations: 45.92 kB / 451 MB, free: 2.922 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.2528, allocations: 51.41 kB / 451 MB, free: 2.871 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2528, allocations: 4 kB / 451 MB, free: 2.867 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02863/0.2814, allocations: 4.863 MB / 455.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.9, allocations: 0 / 455.9 MB, free: 14.12 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_SimpleLiquidWater_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.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: 13.289952161954716]