Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001539/0.001539, allocations: 112.2 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.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.001639/0.001639, allocations: 206.1 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.388/1.388, allocations: 230.6 MB / 258.3 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Media_Examples_SimpleLiquidWater",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_SimpleLiquidWater",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 47.92 kB / 378.5 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2335, allocations: 53.36 MB / 431.9 MB, free: 6.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006072/0.2396, allocations: 4.597 MB / 436.5 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002133/0.2417, allocations: 1.829 MB / 438.3 MB, free: 392 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.156e-05/0.2418, allocations: 4 kB / 438.3 MB, free: 388 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002243/0.242, allocations: 39.69 kB / 438.4 MB, free: 348 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003511/0.2424, allocations: 123.2 kB / 438.5 MB, free: 224 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006793/0.243, allocations: 253.6 kB / 438.7 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003887/0.2434, allocations: 294.8 kB / 439 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.621e-05/0.2435, allocations: 9.266 kB / 439 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002895/0.2438, allocations: 143.5 kB / 439.2 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.2439, allocations: 79.73 kB / 439.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.757e-05/0.2439, allocations: 8 kB / 439.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002596/0.2442, allocations: 115.8 kB / 439.4 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.682e-05/0.2443, allocations: 35.91 kB / 439.4 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.969e-05/0.2444, allocations: 71.72 kB / 439.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003519/0.2447, allocations: 227.6 kB / 439.7 MB, free: 15.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.2447, allocations: 7.984 kB / 439.7 MB, free: 15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2447, allocations: 0 / 439.7 MB, free: 15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.2447, allocations: 4 kB / 439.7 MB, free: 15 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.0009545/0.2457, allocations: 417.8 kB / 440.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.2457, allocations: 11.97 kB / 440.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.457e-05/0.2457, allocations: 4.469 kB / 440.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.314e-05/0.2458, allocations: 50.67 kB / 440.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001746/0.246, allocations: 24.89 kB / 440.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002909/0.2462, allocations: 146.3 kB / 440.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.2463, allocations: 12.66 kB / 440.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.791e-05/0.2463, allocations: 20.12 kB / 440.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004519/0.2467, allocations: 217.4 kB / 440.6 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.2468, allocations: 4 kB / 440.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.72e-05/0.2468, allocations: 8 kB / 440.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.2468, allocations: 4 kB / 440.6 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000365/0.2472, allocations: 144.6 kB / 440.8 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001303/0.2485, allocations: 0.9063 MB / 441.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004078/0.2489, allocations: 146.8 kB / 441.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.249, allocations: 54.66 kB / 441.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004811/0.2495, allocations: 332.2 kB / 442.2 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.2495, allocations: 38.56 kB / 442.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.804e-06/0.2495, allocations: 0 / 442.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.00254/0.2521, allocations: 0.7023 MB / 442.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.2521, allocations: 55.41 kB / 443 MB, free: 11.51 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.2523, allocations: 163.7 kB / 443.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.2523, allocations: 33.7 kB / 443.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.713e-05/0.2524, allocations: 136.1 kB / 443.3 MB, free: 11.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.136e-05/0.2524, allocations: 79.31 kB / 443.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.45e-05/0.2525, allocations: 61.62 kB / 443.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.2527, allocations: 326.8 kB / 443.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000262/0.2529, allocations: 83.94 kB / 443.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003334/0.2533, allocations: 198.6 kB / 444 MB, free: 10.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005876/0.2539, allocations: 299.5 kB / 444.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2539, allocations: 0 / 444.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007423/0.2546, allocations: 321.1 kB / 444.6 MB, free: 9.711 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.2546, allocations: 4 kB / 444.6 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.2546, allocations: 4 kB / 444.7 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.2546, allocations: 8 kB / 444.7 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003661/0.255, allocations: 88.3 kB / 444.7 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.255, allocations: 4 kB / 444.7 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.2552, allocations: 19.98 kB / 444.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.267e-05/0.2553, allocations: 15.98 kB / 444.8 MB, free: 9.57 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.000131/0.2554, allocations: 137.7 kB / 444.9 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.108e-05/0.2555, allocations: 15.91 kB / 444.9 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006649/0.2561, allocations: 246.5 kB / 445.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.2561, allocations: 4 kB / 445.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2561, allocations: 0 / 445.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.2561, allocations: 0 / 445.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.2574, allocations: 0.5788 MB / 445.8 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2574, allocations: 0 / 445.8 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002887/0.2577, allocations: 56.02 kB / 445.8 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.2577, allocations: 4 kB / 445.8 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.2577, allocations: 8 kB / 445.8 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.2578, allocations: 3.938 kB / 445.8 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.2578, allocations: 3.984 kB / 445.8 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008731/0.2586, allocations: 404.4 kB / 446.2 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.563e-05/0.2587, allocations: 31.91 kB / 446.3 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/0.2587, allocations: 7.938 kB / 446.3 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/0.259, allocations: 16.05 kB / 446.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.259, allocations: 15.97 kB / 446.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-05/0.259, allocations: 11.94 kB / 446.3 MB, free: 7.941 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.974e-05/0.2591, allocations: 111.2 kB / 446.4 MB, free: 7.832 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2591, allocations: 0 / 446.4 MB, free: 7.832 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003633/0.2595, allocations: 63.94 kB / 446.5 MB, free: 7.77 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.001234/0.2607, allocations: 0.9677 MB / 447.4 MB, free: 6.762 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005907/0.2613, allocations: 207.8 kB / 447.6 MB, free: 6.559 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2613, allocations: 0 / 447.6 MB, free: 6.559 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002603/0.2616, allocations: 95.41 kB / 447.7 MB, free: 6.469 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.262, allocations: 47.89 kB / 447.8 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003517/0.2655, allocations: 2.378 MB / 450.2 MB, free: 3.852 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.2658, allocations: 0.7207 MB / 450.9 MB, free: 3.105 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002037/0.266, allocations: 41.94 kB / 450.9 MB, free: 3.066 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.2661, allocations: 51.41 kB / 451 MB, free: 3.016 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2661, allocations: 0 / 451 MB, free: 3.016 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02688/0.293, allocations: 4.867 MB / 455.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11, allocations: 8.047 kB / 455.9 MB, free: 14.29 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_SimpleLiquidWater_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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.425060875015333]