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.0014/0.0014, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.001338/0.001338, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.398/1.398, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.001769/0.001769, allocations: 67.89 kB / 373.3 MB, free: 10.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0956/0.09737, allocations: 53.32 MB / 426.6 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005901/0.1033, allocations: 4.564 MB / 431.2 MB, free: 432 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1859/0.2892, allocations: 1.809 MB / 433 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.2893, allocations: 3.219 kB / 433 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002546/0.2896, allocations: 46.23 kB / 433.1 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003349/0.2899, allocations: 126.3 kB / 433.2 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000574/0.2905, allocations: 245.2 kB / 433.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000302/0.2908, allocations: 295.3 kB / 433.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.079e-05/0.2908, allocations: 6.5 kB / 433.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002296/0.291, allocations: 130.3 kB / 433.9 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.2911, allocations: 88.16 kB / 433.9 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.2912, allocations: 8.594 kB / 433.9 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002194/0.2914, allocations: 108.6 kB / 434.1 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.888e-05/0.2914, allocations: 42.69 kB / 434.1 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.187e-05/0.2915, allocations: 76.97 kB / 434.2 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002668/0.2918, allocations: 221.1 kB / 434.4 MB, free: 7.473 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2918, allocations: 3.438 kB / 434.4 MB, free: 7.473 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2918, allocations: 0.875 kB / 434.4 MB, free: 7.473 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.2918, allocations: 3.562 kB / 434.4 MB, free: 7.473 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.0008099/0.2926, allocations: 0.4888 MB / 434.9 MB, free: 7.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.2926, allocations: 9.5 kB / 434.9 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.156e-05/0.2927, allocations: 49.81 kB / 434.9 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001664/0.2928, allocations: 19.91 kB / 435 MB, free: 7.027 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.2931, allocations: 210 kB / 435.2 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.2931, allocations: 13.59 kB / 435.2 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.438e-05/0.2931, allocations: 13.06 kB / 435.2 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003587/0.2935, allocations: 220.5 kB / 435.4 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.2935, allocations: 1.219 kB / 435.4 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.2935, allocations: 5.781 kB / 435.4 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.2935, allocations: 3.25 kB / 435.4 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000319/0.2938, allocations: 150 kB / 435.6 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.2949, allocations: 0.9502 MB / 436.5 MB, free: 5.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003449/0.2952, allocations: 147.2 kB / 436.7 MB, free: 5.945 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.2954, allocations: 51.69 kB / 436.7 MB, free: 5.938 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004096/0.2958, allocations: 0.506 MB / 437.2 MB, free: 5.461 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.666e-05/0.2958, allocations: 32.53 kB / 437.2 MB, free: 5.422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.933e-06/0.2958, allocations: 1.312 kB / 437.2 MB, free: 5.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002319/0.2981, allocations: 0.7699 MB / 438 MB, free: 5.125 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.243e-05/0.2981, allocations: 62.27 kB / 438.1 MB, free: 5.055 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.2982, allocations: 159.5 kB / 438.2 MB, free: 4.949 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.2982, allocations: 31.44 kB / 438.3 MB, free: 4.914 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.868e-05/0.2983, allocations: 143.7 kB / 438.4 MB, free: 4.793 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.456e-05/0.2983, allocations: 79.72 kB / 438.5 MB, free: 4.746 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.928e-05/0.2984, allocations: 56.58 kB / 438.5 MB, free: 4.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.568e-05/0.2985, allocations: 322.8 kB / 438.9 MB, free: 4.418 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/0.2987, allocations: 86.45 kB / 438.9 MB, free: 4.414 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002585/0.299, allocations: 195.9 kB / 439.1 MB, free: 4.277 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004655/0.2994, allocations: 292.2 kB / 439.4 MB, free: 4.129 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2994, allocations: 1.469 kB / 439.4 MB, free: 4.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006186/0.3, allocations: 326.5 kB / 439.7 MB, free: 4.059 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.3001, allocations: 7.438 kB / 439.7 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.3001, allocations: 4.094 kB / 439.7 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.3001, allocations: 9.281 kB / 439.8 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003494/0.3004, allocations: 78.56 kB / 439.8 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.3004, allocations: 7.125 kB / 439.8 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002142/0.3007, allocations: 18.52 kB / 439.9 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.02e-05/0.3007, allocations: 12.64 kB / 439.9 MB, free: 4.051 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 8.54e-05/0.3008, allocations: 138.9 kB / 440 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.62e-05/0.3008, allocations: 22.56 kB / 440 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000592/0.3014, allocations: 235.5 kB / 440.3 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3014, allocations: 1.281 kB / 440.3 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3014, allocations: 1.969 kB / 440.3 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3014, allocations: 1.125 kB / 440.3 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.3025, allocations: 0.6013 MB / 440.9 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.3025, allocations: 6.25 kB / 440.9 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002807/0.3028, allocations: 56.67 kB / 440.9 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.3028, allocations: 4.016 kB / 440.9 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.3028, allocations: 8.453 kB / 440.9 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.3028, allocations: 2.625 kB / 440.9 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.3029, allocations: 5.812 kB / 440.9 MB, free: 3.504 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007046/0.3036, allocations: 407.3 kB / 441.3 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.605e-05/0.3036, allocations: 106.8 kB / 441.4 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.515e-05/0.3037, allocations: 11.42 kB / 441.5 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.3039, allocations: 17.64 kB / 441.5 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.999e-05/0.3039, allocations: 10.62 kB / 441.5 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/0.304, allocations: 12.22 kB / 441.5 MB, free: 3.211 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.135e-05/0.304, allocations: 115.8 kB / 441.6 MB, free: 3.133 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.304, allocations: 0 / 441.6 MB, free: 3.133 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003631/0.3044, allocations: 63.89 kB / 441.7 MB, free: 3.129 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.0009527/0.3053, allocations: 0.9634 MB / 442.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005749/0.3059, allocations: 208.5 kB / 442.8 MB, free: 2.395 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3059, allocations: 1.938 kB / 442.8 MB, free: 2.395 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002213/0.3061, allocations: 90.28 kB / 442.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.3065, allocations: 37.95 kB / 443 MB, free: 2.379 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002868/0.3094, allocations: 2.367 MB / 445.3 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/0.3096, allocations: 0.7178 MB / 446.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002146/0.3098, allocations: 47.17 kB / 446.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.3099, allocations: 51.95 kB / 446.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3099, allocations: 0.9375 kB / 446.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02906/0.339, allocations: 4.543 MB / 450.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.906/8.245, allocations: 2.812 kB / 450.7 MB, free: 15.28 MB / 366.1 MB " [Timeout remaining time 652] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.550981388892978]