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.002093/0.002093, allocations: 121.4 kB / 17.79 MB, free: 5.121 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.002392/0.002392, allocations: 190.9 kB / 20.73 MB, free: 2.184 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.344/1.344, allocations: 225.6 MB / 249.1 MB, free: 3.605 MB / 190.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 47.92 kB / 365.6 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0933/0.09473, allocations: 52.14 MB / 417.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005896/0.1006, allocations: 4.507 MB / 422.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.1027, allocations: 1.814 MB / 424.1 MB, free: 6.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.491e-05/0.1027, allocations: 4 kB / 424.1 MB, free: 6.246 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002582/0.103, allocations: 39.69 kB / 424.1 MB, free: 6.207 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003485/0.1033, allocations: 127.2 kB / 424.2 MB, free: 6.082 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006329/0.104, allocations: 246.3 kB / 424.5 MB, free: 5.844 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003454/0.1043, allocations: 286.9 kB / 424.8 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.708e-05/0.1044, allocations: 13.12 kB / 424.8 MB, free: 5.551 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002515/0.1046, allocations: 131.6 kB / 424.9 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.1047, allocations: 87.61 kB / 425 MB, free: 5.336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.1048, allocations: 8 kB / 425 MB, free: 5.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002322/0.105, allocations: 91.92 kB / 425.1 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.432e-05/0.1051, allocations: 43.83 kB / 425.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.259e-05/0.1052, allocations: 75.7 kB / 425.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003374/0.1055, allocations: 215.2 kB / 425.4 MB, free: 4.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1055, allocations: 3.938 kB / 425.4 MB, free: 4.906 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1055, allocations: 4 kB / 425.4 MB, free: 4.902 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1055, allocations: 0 / 425.4 MB, free: 4.902 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.0009496/0.1065, allocations: 487 kB / 425.9 MB, free: 4.375 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.1065, allocations: 12.03 kB / 425.9 MB, free: 4.363 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.153e-05/0.1066, allocations: 46.73 kB / 426 MB, free: 4.309 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001729/0.1067, allocations: 28.83 kB / 426 MB, free: 4.281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000306/0.107, allocations: 208.2 kB / 426.2 MB, free: 4.039 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.1071, allocations: 16.59 kB / 426.2 MB, free: 4.023 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.36e-05/0.1071, allocations: 16.33 kB / 426.2 MB, free: 4.008 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004123/0.1075, allocations: 224.5 kB / 426.4 MB, free: 3.766 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.1075, allocations: 0 / 426.4 MB, free: 3.766 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.358e-05/0.1075, allocations: 8 kB / 426.5 MB, free: 3.758 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.1075, allocations: 4 kB / 426.5 MB, free: 3.754 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003495/0.1079, allocations: 151.8 kB / 426.6 MB, free: 3.605 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.1092, allocations: 0.9402 MB / 427.5 MB, free: 2.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003915/0.1096, allocations: 146.7 kB / 427.7 MB, free: 2.438 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.1097, allocations: 52.83 kB / 427.7 MB, free: 2.383 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000555/0.1103, allocations: 0.4993 MB / 428.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.1103, allocations: 42.56 kB / 428.3 MB, free: 1.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.1103, allocations: 0 / 428.3 MB, free: 1.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002457/0.1128, allocations: 0.7695 MB / 429 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.1128, allocations: 51.41 kB / 429.1 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.1129, allocations: 156.5 kB / 429.3 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.113, allocations: 29.7 kB / 429.3 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.1131, allocations: 148.1 kB / 429.4 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.963e-05/0.1131, allocations: 71.38 kB / 429.5 MB, free: 480 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.895e-05/0.1132, allocations: 53.7 kB / 429.5 MB, free: 420 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1133, allocations: 326.8 kB / 429.9 MB, free: 84 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002342/0.1136, allocations: 79.94 kB / 429.9 MB, free: 4 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003209/0.1139, allocations: 205.7 kB / 430.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005478/0.1145, allocations: 301.4 kB / 430.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1145, allocations: 4 kB / 430.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006722/0.1151, allocations: 314.5 kB / 430.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.1151, allocations: 6.188 kB / 430.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.1152, allocations: 4 kB / 430.8 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.1152, allocations: 11.94 kB / 430.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003735/0.1155, allocations: 88.34 kB / 430.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.1156, allocations: 4 kB / 430.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.1158, allocations: 15.98 kB / 430.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/0.1158, allocations: 12 kB / 430.9 MB, free: 14.95 MB / 366.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.0001253/0.1159, allocations: 145.6 kB / 431 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.612e-05/0.116, allocations: 23.83 kB / 431.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006254/0.1166, allocations: 238.6 kB / 431.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1166, allocations: 4 kB / 431.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1166, allocations: 0 / 431.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.1166, allocations: 3.984 kB / 431.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.1179, allocations: 0.6013 MB / 431.9 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1179, allocations: 0 / 431.9 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003028/0.1182, allocations: 60.02 kB / 432 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.1182, allocations: 4 kB / 432 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.1182, allocations: 7.938 kB / 432 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1182, allocations: 0 / 432 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.1182, allocations: 4 kB / 432 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008034/0.119, allocations: 410.5 kB / 432.4 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.724e-05/0.1191, allocations: 89.05 kB / 432.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.027e-05/0.1191, allocations: 11.94 kB / 432.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/0.1194, allocations: 16.05 kB / 432.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.413e-05/0.1194, allocations: 15.98 kB / 432.5 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.1194, allocations: 7.984 kB / 432.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.052e-05/0.1195, allocations: 114.1 kB / 432.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1195, allocations: 0 / 432.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000351/0.1198, allocations: 63.88 kB / 432.7 MB, free: 13.04 MB / 366.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.001182/0.121, allocations: 0.9692 MB / 433.7 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005461/0.1216, allocations: 214.1 kB / 433.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1216, allocations: 0 / 433.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002408/0.1218, allocations: 93 kB / 434 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.1222, allocations: 42.91 kB / 434 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00331/0.1255, allocations: 2.354 MB / 436.3 MB, free: 9.145 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.1258, allocations: 0.7168 MB / 437.1 MB, free: 8.398 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002027/0.126, allocations: 45.94 kB / 437.1 MB, free: 8.355 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.1261, allocations: 55.34 kB / 437.2 MB, free: 8.301 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1261, allocations: 0 / 437.2 MB, free: 8.301 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02722/0.1533, allocations: 4.55 MB / 441.7 MB, free: 3.832 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.678/7.831, allocations: 12.28 kB / 441.7 MB, free: 3.82 MB / 366.1 MB " [Timeout remaining time 652] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.236103715840727]