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.00178/0.00178, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.002239/0.002239, allocations: 208.7 kB / 24.51 MB, free: 3.941 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.355/1.355, allocations: 230.5 MB / 258.2 MB, free: 7.816 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.001767/0.001767, allocations: 59.91 kB / 378.5 MB, free: 2.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2334, allocations: 53.39 MB / 431.9 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005809/0.2392, allocations: 4.281 MB / 436.2 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002006/0.2412, allocations: 1.619 MB / 437.8 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.029e-05/0.2413, allocations: 0 / 437.8 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002449/0.2415, allocations: 39.73 kB / 437.8 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003363/0.2419, allocations: 123.2 kB / 437.9 MB, free: 420 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006131/0.2425, allocations: 258.4 kB / 438.2 MB, free: 164 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003967/0.2429, allocations: 302.8 kB / 438.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.342e-05/0.2429, allocations: 9.266 kB / 438.5 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002534/0.2432, allocations: 131.6 kB / 438.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.2433, allocations: 83.62 kB / 438.7 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.972e-05/0.2433, allocations: 12 kB / 438.7 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002208/0.2436, allocations: 99.86 kB / 438.8 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.426e-05/0.2436, allocations: 35.89 kB / 438.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.2437, allocations: 71.72 kB / 438.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003352/0.2441, allocations: 221.3 kB / 439.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2441, allocations: 4 kB / 439.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2441, allocations: 0 / 439.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.268e-06/0.2441, allocations: 0 / 439.1 MB, free: 15.21 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.0009262/0.245, allocations: 425.8 kB / 439.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.245, allocations: 12.03 kB / 439.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.355e-05/0.2451, allocations: 4.469 kB / 439.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.119e-05/0.2451, allocations: 42.75 kB / 439.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002005/0.2453, allocations: 20.88 kB / 439.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.2456, allocations: 154.3 kB / 439.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.2456, allocations: 12.66 kB / 439.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.01e-05/0.2457, allocations: 16.12 kB / 439.8 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005241/0.2462, allocations: 379.9 kB / 440.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.2462, allocations: 0 / 440.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.815e-05/0.2462, allocations: 12 kB / 440.2 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.2462, allocations: 4 kB / 440.2 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000354/0.2466, allocations: 147.8 kB / 440.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.2479, allocations: 0.8791 MB / 441.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004068/0.2484, allocations: 142.8 kB / 441.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.2485, allocations: 48.83 kB / 441.4 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004699/0.249, allocations: 324.2 kB / 441.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.249, allocations: 34.56 kB / 441.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.249, allocations: 3.938 kB / 441.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.00264/0.2516, allocations: 0.7097 MB / 442.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.2517, allocations: 59.34 kB / 442.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.2518, allocations: 161.4 kB / 442.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.2518, allocations: 29.7 kB / 442.7 MB, free: 11.35 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.028e-05/0.2519, allocations: 144.1 kB / 442.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.339e-05/0.252, allocations: 75.31 kB / 442.9 MB, free: 11.13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.767e-05/0.2521, allocations: 61.69 kB / 443 MB, free: 11.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.2522, allocations: 330.8 kB / 443.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002415/0.2525, allocations: 83.94 kB / 443.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003083/0.2528, allocations: 186 kB / 443.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005935/0.2534, allocations: 305.3 kB / 443.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.2534, allocations: 0 / 443.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000705/0.2541, allocations: 317.3 kB / 444.2 MB, free: 9.758 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.2541, allocations: 6.188 kB / 444.2 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.2541, allocations: 7.984 kB / 444.2 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.2541, allocations: 8 kB / 444.2 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003773/0.2545, allocations: 79.89 kB / 444.3 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.2545, allocations: 8.219 kB / 444.3 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.2547, allocations: 19.98 kB / 444.3 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.662e-05/0.2548, allocations: 16 kB / 444.3 MB, free: 9.617 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.0001387/0.2549, allocations: 141.7 kB / 444.5 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.359e-05/0.255, allocations: 15.91 kB / 444.5 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006454/0.2556, allocations: 238.5 kB / 444.7 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.2556, allocations: 4 kB / 444.7 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2556, allocations: 0 / 444.7 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.2556, allocations: 0 / 444.7 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.2569, allocations: 0.5632 MB / 445.3 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2569, allocations: 0 / 445.3 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002973/0.2572, allocations: 51.89 kB / 445.3 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.2572, allocations: 7.938 kB / 445.3 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.2572, allocations: 8 kB / 445.4 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.2573, allocations: 7.875 kB / 445.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2573, allocations: 0 / 445.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008534/0.2581, allocations: 414.2 kB / 445.8 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.452e-05/0.2582, allocations: 31.88 kB / 445.8 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.2582, allocations: 3.938 kB / 445.8 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002405/0.2585, allocations: 15.98 kB / 445.8 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.878e-05/0.2585, allocations: 16.05 kB / 445.8 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.629e-05/0.2585, allocations: 11.98 kB / 445.8 MB, free: 8.004 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.15e-05/0.2586, allocations: 112.1 kB / 446 MB, free: 7.895 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2586, allocations: 0 / 446 MB, free: 7.895 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000368/0.259, allocations: 63.94 kB / 446 MB, free: 7.832 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.001214/0.2602, allocations: 0.9642 MB / 447 MB, free: 6.828 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005984/0.2608, allocations: 208 kB / 447.2 MB, free: 6.625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.2608, allocations: 4 kB / 447.2 MB, free: 6.621 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002367/0.261, allocations: 87.88 kB / 447.3 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.2614, allocations: 36.72 kB / 447.3 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0034/0.2648, allocations: 2.391 MB / 449.7 MB, free: 3.918 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.2649, allocations: 103.3 kB / 449.8 MB, free: 3.797 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002169/0.2651, allocations: 45.88 kB / 449.8 MB, free: 3.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.2653, allocations: 51.41 kB / 449.9 MB, free: 3.699 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2653, allocations: 4 kB / 449.9 MB, free: 3.695 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02678/0.292, allocations: 4.947 MB / 454.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.13, allocations: 8.047 kB / 454.9 MB, free: 14.88 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.539431664044969]