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.001413/0.001413, allocations: 110 kB / 20.43 MB, free: 1.453 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.001431/0.001431, allocations: 213.6 kB / 23.74 MB, free: 4.66 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.379/1.379, allocations: 230.5 MB / 257.4 MB, free: 8.004 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 63.91 kB / 377.8 MB, free: 3.047 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2389, allocations: 53.4 MB / 431.2 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006255/0.2451, allocations: 4.593 MB / 435.8 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002188/0.2473, allocations: 1.829 MB / 437.6 MB, free: 268 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.592e-05/0.2474, allocations: 4 kB / 437.6 MB, free: 264 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002426/0.2477, allocations: 39.69 kB / 437.6 MB, free: 224 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003728/0.248, allocations: 127.2 kB / 437.8 MB, free: 96 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006885/0.2487, allocations: 258.5 kB / 438 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004319/0.2492, allocations: 298.9 kB / 438.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.869e-05/0.2492, allocations: 9.266 kB / 438.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002936/0.2495, allocations: 135.5 kB / 438.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.2496, allocations: 91.59 kB / 438.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.2497, allocations: 8 kB / 438.5 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002725/0.2499, allocations: 107.9 kB / 438.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.712e-05/0.25, allocations: 39.89 kB / 438.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.468e-05/0.2501, allocations: 75.66 kB / 438.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003638/0.2505, allocations: 227.6 kB / 439 MB, free: 14.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2505, allocations: 0 / 439 MB, free: 14.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2505, allocations: 0 / 439 MB, free: 14.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.012e-06/0.2505, allocations: 0 / 439 MB, free: 14.88 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.0009734/0.2515, allocations: 421.8 kB / 439.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.2515, allocations: 11.97 kB / 439.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.595e-05/0.2516, allocations: 46.73 kB / 439.4 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001812/0.2517, allocations: 24.88 kB / 439.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.252, allocations: 146.3 kB / 439.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.2521, allocations: 12.66 kB / 439.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.803e-05/0.2521, allocations: 16.38 kB / 439.6 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004369/0.2525, allocations: 221.1 kB / 439.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.2526, allocations: 7.984 kB / 439.9 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.713e-05/0.2526, allocations: 8 kB / 439.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.2526, allocations: 4 kB / 439.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003784/0.253, allocations: 151.8 kB / 440 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.2543, allocations: 0.9064 MB / 440.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003962/0.2547, allocations: 146.7 kB / 441.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.2549, allocations: 56.83 kB / 441.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000486/0.2554, allocations: 324.2 kB / 441.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.2554, allocations: 34.56 kB / 441.5 MB, free: 12.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 3.246e-06/0.2554, allocations: 3.984 kB / 441.5 MB, free: 12.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002525/0.2579, allocations: 0.7059 MB / 442.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.258, allocations: 55.41 kB / 442.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.2581, allocations: 157.4 kB / 442.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/0.2582, allocations: 33.7 kB / 442.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.979e-05/0.2582, allocations: 140.1 kB / 442.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.961e-05/0.2583, allocations: 87.23 kB / 442.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.275e-05/0.2584, allocations: 53.7 kB / 442.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.2586, allocations: 330.8 kB / 443 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002541/0.2588, allocations: 83.94 kB / 443.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003404/0.2592, allocations: 194 kB / 443.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005851/0.2597, allocations: 293.4 kB / 443.6 MB, free: 9.906 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2597, allocations: 0 / 443.6 MB, free: 9.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007065/0.2605, allocations: 325.5 kB / 443.9 MB, free: 9.582 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.2605, allocations: 4 kB / 443.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.2605, allocations: 4 kB / 443.9 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.2605, allocations: 11.94 kB / 443.9 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003922/0.2609, allocations: 83.88 kB / 444 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.2609, allocations: 4 kB / 444 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.2611, allocations: 15.98 kB / 444 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.003e-05/0.2612, allocations: 16 kB / 444 MB, free: 9.445 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.0001393/0.2613, allocations: 145.7 kB / 444.2 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.049e-05/0.2613, allocations: 15.91 kB / 444.2 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006467/0.262, allocations: 234.5 kB / 444.4 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.262, allocations: 4 kB / 444.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.262, allocations: 4 kB / 444.4 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.262, allocations: 3.984 kB / 444.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001317/0.2633, allocations: 0.571 MB / 445 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2633, allocations: 4 kB / 445 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002901/0.2636, allocations: 47.91 kB / 445.1 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.2636, allocations: 4 kB / 445.1 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.2636, allocations: 7.984 kB / 445.1 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.2636, allocations: 4 kB / 445.1 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.2636, allocations: 3.938 kB / 445.1 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008487/0.2645, allocations: 414 kB / 445.5 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.063e-05/0.2646, allocations: 27.92 kB / 445.5 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.667e-05/0.2646, allocations: 7.984 kB / 445.5 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.2649, allocations: 11.94 kB / 445.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.022e-05/0.2649, allocations: 23.91 kB / 445.6 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.321e-05/0.2649, allocations: 11.98 kB / 445.6 MB, free: 7.816 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.927e-05/0.265, allocations: 112.1 kB / 445.7 MB, free: 7.707 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.265, allocations: 0 / 445.7 MB, free: 7.707 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003786/0.2654, allocations: 67.92 kB / 445.7 MB, free: 7.641 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.001239/0.2666, allocations: 0.9711 MB / 446.7 MB, free: 6.633 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005988/0.2672, allocations: 204.5 kB / 446.9 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.2672, allocations: 8.062 kB / 446.9 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002382/0.2675, allocations: 87.83 kB / 447 MB, free: 6.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004296/0.2679, allocations: 35.83 kB / 447 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003548/0.2714, allocations: 2.388 MB / 449.4 MB, free: 3.723 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.2718, allocations: 0.7128 MB / 450.1 MB, free: 2.984 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00022/0.272, allocations: 45.94 kB / 450.2 MB, free: 2.941 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.2721, allocations: 47.41 kB / 450.2 MB, free: 2.895 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2721, allocations: 4 kB / 450.2 MB, free: 2.891 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03386/0.306, allocations: 4.837 MB / 455.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/10.83, allocations: 3.438 kB / 455.1 MB, free: 14.16 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.1372691730503]