Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.004591/0.004591, allocations: 110.7 kB / 21.97 MB, free: 5.25 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 206.5 kB / 25.27 MB, free: 3.238 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.26/1.26, allocations: 207.6 MB / 236 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SimpleLiquidWater",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SimpleLiquidWater",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 51.94 kB / 348 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2217, allocations: 49.17 MB / 397.1 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.00449/0.2262, allocations: 4.521 MB / 401.6 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001579/0.2278, allocations: 1.828 MB / 403.5 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.849e-05/0.2278, allocations: 1.375 kB / 403.5 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002413/0.2281, allocations: 37.5 kB / 403.5 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003841/0.2285, allocations: 131.2 kB / 403.6 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006875/0.2291, allocations: 257.6 kB / 403.9 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003677/0.2295, allocations: 293.7 kB / 404.2 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.357e-05/0.2296, allocations: 7.812 kB / 404.2 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002725/0.2298, allocations: 135.5 kB / 404.3 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.23, allocations: 94.12 kB / 404.4 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.23, allocations: 8.875 kB / 404.4 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002619/0.2303, allocations: 93.36 kB / 404.5 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.862e-05/0.2303, allocations: 42.88 kB / 404.6 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.84e-05/0.2304, allocations: 71.08 kB / 404.6 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003145/0.2307, allocations: 218.5 kB / 404.8 MB, free: 3.805 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2308, allocations: 0 / 404.8 MB, free: 3.805 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2308, allocations: 0 / 404.8 MB, free: 3.805 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.2308, allocations: 1.156 kB / 404.8 MB, free: 3.805 MB / 318.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.0008074/0.2316, allocations: 421.4 kB / 405.2 MB, free: 3.477 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.2316, allocations: 17.52 kB / 405.3 MB, free: 3.469 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.298e-05/0.2316, allocations: 3.125 kB / 405.3 MB, free: 3.469 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.568e-05/0.2317, allocations: 47.97 kB / 405.3 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001609/0.2318, allocations: 18.17 kB / 405.3 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.232, allocations: 148.4 kB / 405.5 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.2321, allocations: 14.94 kB / 405.5 MB, free: 3.266 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.884e-05/0.2321, allocations: 20.92 kB / 405.5 MB, free: 3.254 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004078/0.2325, allocations: 219.4 kB / 405.7 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.2325, allocations: 6.188 kB / 405.7 MB, free: 3.117 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.652e-05/0.2325, allocations: 10.41 kB / 405.7 MB, free: 3.109 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.2326, allocations: 3.969 kB / 405.7 MB, free: 3.109 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003438/0.2329, allocations: 149.7 kB / 405.9 MB, free: 3.07 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.2339, allocations: 0.8952 MB / 406.8 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003743/0.2343, allocations: 140.4 kB / 406.9 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.2345, allocations: 53.97 kB / 407 MB, free: 2.215 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003867/0.2348, allocations: 337.9 kB / 407.3 MB, free: 1.93 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.533e-05/0.2349, allocations: 36.89 kB / 407.3 MB, free: 1.887 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.293e-06/0.2349, allocations: 0 / 407.3 MB, free: 1.887 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.00234/0.2372, allocations: 0.6942 MB / 408 MB, free: 1.543 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.992e-05/0.2372, allocations: 54 kB / 408.1 MB, free: 1.48 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.922e-05/0.2373, allocations: 151.2 kB / 408.2 MB, free: 1.363 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.2373, allocations: 30.98 kB / 408.3 MB, free: 1.328 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.992e-05/0.2374, allocations: 149.6 kB / 408.4 MB, free: 1.191 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.22e-05/0.2374, allocations: 68.41 kB / 408.5 MB, free: 1.141 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.355e-05/0.2375, allocations: 61.69 kB / 408.5 MB, free: 1.102 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.408e-05/0.2376, allocations: 334.3 kB / 408.9 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/0.2378, allocations: 80.86 kB / 408.9 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000266/0.2381, allocations: 197.3 kB / 409.1 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004817/0.2385, allocations: 293 kB / 409.4 MB, free: 380 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2385, allocations: 1.5 kB / 409.4 MB, free: 380 kB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006227/0.2392, allocations: 326.4 kB / 409.7 MB, free: 236 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.2392, allocations: 10.91 kB / 409.8 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.2392, allocations: 12.66 kB / 409.8 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.2392, allocations: 5.5 kB / 409.8 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000337/0.2395, allocations: 81.7 kB / 409.9 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.2396, allocations: 6.203 kB / 409.9 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/0.2398, allocations: 16.14 kB / 409.9 MB, free: 212 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/0.2398, allocations: 13.12 kB / 409.9 MB, free: 212 kB / 318.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.492e-05/0.2399, allocations: 147.4 kB / 410 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.64e-05/0.2399, allocations: 16.16 kB / 410 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006363/0.2406, allocations: 237.2 kB / 410.3 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.2406, allocations: 2.75 kB / 410.3 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.2406, allocations: 0 / 410.3 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.2406, allocations: 5.359 kB / 410.3 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/0.2419, allocations: 0.5682 MB / 410.9 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.2419, allocations: 1.719 kB / 410.9 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002833/0.2421, allocations: 56.09 kB / 410.9 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.2422, allocations: 2.719 kB / 410.9 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/0.2422, allocations: 8.078 kB / 410.9 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.2422, allocations: 3.047 kB / 410.9 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.2422, allocations: 5.219 kB / 410.9 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008766/0.2431, allocations: 415.7 kB / 411.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.657e-05/0.2431, allocations: 18.48 kB / 411.4 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.983e-05/0.2431, allocations: 7.547 kB / 411.4 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.2434, allocations: 10.42 kB / 411.4 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.2434, allocations: 19.12 kB / 411.4 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.2434, allocations: 10.52 kB / 411.4 MB, free: 15.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.146e-05/0.2435, allocations: 110.4 kB / 411.5 MB, free: 15.16 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2435, allocations: 1.281 kB / 411.5 MB, free: 15.16 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003742/0.2439, allocations: 67.48 kB / 411.6 MB, free: 15.14 MB / 334.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.001276/0.2451, allocations: 0.9694 MB / 412.5 MB, free: 14.35 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000592/0.2457, allocations: 215 kB / 412.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.2457, allocations: 4.125 kB / 412.8 MB, free: 14.28 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002506/0.246, allocations: 88.48 kB / 412.8 MB, free: 14.26 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.2464, allocations: 38.69 kB / 412.9 MB, free: 14.24 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0035/0.2499, allocations: 2.358 MB / 415.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.2502, allocations: 0.7252 MB / 416 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002143/0.2504, allocations: 45.53 kB / 416 MB, free: 11.63 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.2506, allocations: 52.81 kB / 416.1 MB, free: 11.6 MB / 334.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2506, allocations: 4 kB / 416.1 MB, free: 11.6 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02608/0.2767, allocations: 4.884 MB / 421 MB, free: 8.918 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/10.66, allocations: 2.375 kB / 421 MB, free: 8.918 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_SimpleLiquidWater_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 12.917901050997898]