Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 108.6 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 192.8 kB / 24.5 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 47.94 kB / 371.2 MB, free: 9.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.219, allocations: 52.19 MB / 423.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005688/0.2247, allocations: 4.525 MB / 427.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001945/0.2266, allocations: 1.822 MB / 429.8 MB, free: 8.211 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.829e-05/0.2267, allocations: 7.938 kB / 429.8 MB, free: 8.203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002125/0.2269, allocations: 43.67 kB / 429.8 MB, free: 8.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002944/0.2272, allocations: 123.2 kB / 429.9 MB, free: 8.039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000588/0.2278, allocations: 250.6 kB / 430.2 MB, free: 7.797 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003603/0.2281, allocations: 298.9 kB / 430.5 MB, free: 7.504 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.754e-05/0.2282, allocations: 5.312 kB / 430.5 MB, free: 7.496 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002404/0.2284, allocations: 131.7 kB / 430.6 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.2285, allocations: 91.55 kB / 430.7 MB, free: 7.277 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.2286, allocations: 8 kB / 430.7 MB, free: 7.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002122/0.2288, allocations: 95.88 kB / 430.8 MB, free: 7.176 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.536e-05/0.2288, allocations: 39.89 kB / 430.8 MB, free: 7.137 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.946e-05/0.2289, allocations: 79.64 kB / 430.9 MB, free: 7.059 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003016/0.2292, allocations: 208.2 kB / 431.1 MB, free: 6.859 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2292, allocations: 4 kB / 431.1 MB, free: 6.855 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2292, allocations: 4 kB / 431.1 MB, free: 6.852 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.678e-06/0.2292, allocations: 0 / 431.1 MB, free: 6.852 MB / 334.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.0008964/0.2301, allocations: 413.9 kB / 431.5 MB, free: 6.414 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.2302, allocations: 12.03 kB / 431.5 MB, free: 6.402 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.307e-05/0.2302, allocations: 480 / 431.5 MB, free: 6.402 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.161e-05/0.2302, allocations: 50.73 kB / 431.6 MB, free: 6.344 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001638/0.2304, allocations: 20.84 kB / 431.6 MB, free: 6.324 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.2307, allocations: 154.3 kB / 431.7 MB, free: 6.148 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.2307, allocations: 8.656 kB / 431.8 MB, free: 6.141 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.609e-05/0.2307, allocations: 28.08 kB / 431.8 MB, free: 6.113 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000402/0.2311, allocations: 213.4 kB / 432 MB, free: 5.883 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.2311, allocations: 4 kB / 432 MB, free: 5.879 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.687e-05/0.2311, allocations: 8 kB / 432 MB, free: 5.871 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.2311, allocations: 4 kB / 432 MB, free: 5.867 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003542/0.2315, allocations: 155.8 kB / 432.2 MB, free: 5.715 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.2328, allocations: 0.8946 MB / 433.1 MB, free: 4.758 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003855/0.2331, allocations: 142.8 kB / 433.2 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.2333, allocations: 52.83 kB / 433.2 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004415/0.2337, allocations: 332.1 kB / 433.6 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.2338, allocations: 38.56 kB / 433.6 MB, free: 4.164 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.2338, allocations: 3.938 kB / 433.6 MB, free: 4.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.002475/0.2362, allocations: 0.6919 MB / 434.3 MB, free: 3.434 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.2363, allocations: 55.41 kB / 434.4 MB, free: 3.367 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.2364, allocations: 151.9 kB / 434.5 MB, free: 3.211 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.2364, allocations: 33.7 kB / 434.5 MB, free: 3.172 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.035e-05/0.2365, allocations: 152 kB / 434.7 MB, free: 3.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.24e-05/0.2366, allocations: 71.38 kB / 434.8 MB, free: 2.949 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.23e-05/0.2367, allocations: 61.69 kB / 434.8 MB, free: 2.883 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.2368, allocations: 326.8 kB / 435.1 MB, free: 2.555 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002568/0.2371, allocations: 79.94 kB / 435.2 MB, free: 2.477 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003275/0.2374, allocations: 198 kB / 435.4 MB, free: 2.234 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005816/0.238, allocations: 303.2 kB / 435.7 MB, free: 1.891 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.238, allocations: 0 / 435.7 MB, free: 1.891 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007195/0.2387, allocations: 324.3 kB / 436 MB, free: 1.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.2387, allocations: 4 kB / 436 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.2387, allocations: 7.938 kB / 436 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.2387, allocations: 8 kB / 436 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003622/0.2391, allocations: 79.89 kB / 436.1 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.2391, allocations: 15.92 kB / 436.1 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002133/0.2393, allocations: 16.22 kB / 436.2 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/0.2394, allocations: 15.98 kB / 436.2 MB, free: 1.426 MB / 334.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.0001308/0.2395, allocations: 141.7 kB / 436.3 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.197e-05/0.2395, allocations: 19.89 kB / 436.3 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006585/0.2402, allocations: 237.2 kB / 436.6 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.2402, allocations: 8 kB / 436.6 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2402, allocations: 0 / 436.6 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.2402, allocations: 0 / 436.6 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001265/0.2415, allocations: 0.5706 MB / 437.1 MB, free: 392 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.2415, allocations: 4 kB / 437.1 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002844/0.2418, allocations: 51.95 kB / 437.2 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.698e-06/0.2418, allocations: 7.938 kB / 437.2 MB, free: 328 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/0.2418, allocations: 7.922 kB / 437.2 MB, free: 320 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.2418, allocations: 4 kB / 437.2 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.2418, allocations: 8.062 kB / 437.2 MB, free: 308 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008682/0.2427, allocations: 403.2 kB / 437.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.589e-05/0.2427, allocations: 15.84 kB / 437.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.906e-05/0.2427, allocations: 11.98 kB / 437.6 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.243, allocations: 11.98 kB / 437.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.424e-05/0.243, allocations: 15.98 kB / 437.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.243, allocations: 15.98 kB / 437.7 MB, free: 15.81 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.82e-05/0.2431, allocations: 107.3 kB / 437.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2431, allocations: 0 / 437.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003731/0.2435, allocations: 67.92 kB / 437.9 MB, free: 15.64 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.00132/0.2448, allocations: 0.9693 MB / 438.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005964/0.2454, allocations: 211.2 kB / 439 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2454, allocations: 0 / 439 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002504/0.2456, allocations: 87.81 kB / 439.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/0.246, allocations: 44.53 kB / 439.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003533/0.2496, allocations: 2.375 MB / 441.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.2499, allocations: 0.7128 MB / 442.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002132/0.2501, allocations: 49.88 kB / 442.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.2503, allocations: 51.42 kB / 442.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2503, allocations: 0 / 442.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02592/0.2762, allocations: 4.875 MB / 447.2 MB, free: 6.176 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/10.87, allocations: 4.062 kB / 447.2 MB, free: 6.172 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.237754656001925]