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.001274/0.001274, allocations: 120.1 kB / 18.49 MB, free: 4.586 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.001569/0.001569, allocations: 215 kB / 21.45 MB, free: 1.641 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.383/1.383, allocations: 230.6 MB / 254.8 MB, free: 15.21 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.001454/0.001454, allocations: 47.94 kB / 373.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09173/0.09318, allocations: 53.34 MB / 427 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005891/0.09908, allocations: 4.562 MB / 431.6 MB, free: 228 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002158/0.1012, allocations: 1.818 MB / 433.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.169e-05/0.1013, allocations: 7.875 kB / 433.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002322/0.1016, allocations: 35.75 kB / 433.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003499/0.1019, allocations: 135.2 kB / 433.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006183/0.1025, allocations: 254.4 kB / 433.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003686/0.1029, allocations: 286.9 kB / 434.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.079e-05/0.1029, allocations: 9.109 kB / 434.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002698/0.1032, allocations: 131.6 kB / 434.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.1033, allocations: 79.67 kB / 434.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.1034, allocations: 12 kB / 434.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002606/0.1036, allocations: 111.8 kB / 434.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.984e-05/0.1037, allocations: 35.91 kB / 434.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.638e-05/0.1038, allocations: 79.64 kB / 434.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003523/0.1041, allocations: 223.2 kB / 434.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1041, allocations: 3.938 kB / 434.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1041, allocations: 0 / 434.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.1041, allocations: 0 / 434.8 MB, free: 13.02 MB / 366.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.0009891/0.1051, allocations: 0.4911 MB / 435.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1052, allocations: 12.03 kB / 435.3 MB, free: 12.47 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.37e-05/0.1052, allocations: 4.469 kB / 435.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.237e-05/0.1052, allocations: 42.75 kB / 435.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001849/0.1054, allocations: 20.88 kB / 435.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/0.1057, allocations: 208.2 kB / 435.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.1057, allocations: 12.66 kB / 435.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.271e-05/0.1058, allocations: 24.12 kB / 435.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004189/0.1062, allocations: 208.6 kB / 435.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.1062, allocations: 4 kB / 435.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.769e-05/0.1062, allocations: 11.98 kB / 435.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1062, allocations: 4 kB / 435.8 MB, free: 11.87 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003756/0.1066, allocations: 151.8 kB / 435.9 MB, free: 11.72 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.108, allocations: 0.9557 MB / 436.9 MB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004147/0.1084, allocations: 146.8 kB / 437 MB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.1085, allocations: 48.83 kB / 437.1 MB, free: 10.49 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005638/0.1091, allocations: 0.5071 MB / 437.6 MB, free: 9.918 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.1091, allocations: 30.56 kB / 437.6 MB, free: 9.879 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 8.055e-06/0.1091, allocations: 4 kB / 437.6 MB, free: 9.875 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.002717/0.1119, allocations: 0.7711 MB / 438.4 MB, free: 9.051 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.1119, allocations: 55.34 kB / 438.5 MB, free: 8.984 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.1121, allocations: 158.4 kB / 438.6 MB, free: 8.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.1121, allocations: 25.7 kB / 438.6 MB, free: 8.789 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.563e-05/0.1122, allocations: 148.2 kB / 438.8 MB, free: 8.641 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.54e-05/0.1122, allocations: 75.33 kB / 438.9 MB, free: 8.566 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.911e-05/0.1123, allocations: 61.69 kB / 438.9 MB, free: 8.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1125, allocations: 326.8 kB / 439.2 MB, free: 8.172 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002591/0.1127, allocations: 83.94 kB / 439.3 MB, free: 8.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003463/0.1131, allocations: 193.7 kB / 439.5 MB, free: 7.852 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006117/0.1137, allocations: 299.2 kB / 439.8 MB, free: 7.512 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.1137, allocations: 0 / 439.8 MB, free: 7.512 MB / 366.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007424/0.1144, allocations: 317.3 kB / 440.1 MB, free: 7.195 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.1145, allocations: 8 kB / 440.1 MB, free: 7.188 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.1145, allocations: 4 kB / 440.1 MB, free: 7.184 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/0.1145, allocations: 4 kB / 440.1 MB, free: 7.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004013/0.1149, allocations: 79.89 kB / 440.2 MB, free: 7.102 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.1149, allocations: 12.2 kB / 440.2 MB, free: 7.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.1151, allocations: 19.94 kB / 440.2 MB, free: 7.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.649e-05/0.1152, allocations: 19.98 kB / 440.2 MB, free: 7.051 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.0001315/0.1153, allocations: 133.7 kB / 440.4 MB, free: 6.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.457e-05/0.1154, allocations: 15.91 kB / 440.4 MB, free: 6.895 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006893/0.1161, allocations: 248.5 kB / 440.6 MB, free: 6.652 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1161, allocations: 0 / 440.6 MB, free: 6.652 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1161, allocations: 0 / 440.6 MB, free: 6.652 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.1161, allocations: 0 / 440.6 MB, free: 6.652 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.1174, allocations: 0.6032 MB / 441.2 MB, free: 5.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.1174, allocations: 4 kB / 441.2 MB, free: 5.977 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003029/0.1177, allocations: 47.91 kB / 441.3 MB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.1177, allocations: 0 / 441.3 MB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.44e-05/0.1178, allocations: 16.11 kB / 441.3 MB, free: 5.914 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.637e-06/0.1178, allocations: 7.938 kB / 441.3 MB, free: 5.906 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1178, allocations: 0 / 441.3 MB, free: 5.906 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009094/0.1187, allocations: 412.5 kB / 441.7 MB, free: 5.477 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.1188, allocations: 105 kB / 441.8 MB, free: 5.355 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.904e-05/0.1188, allocations: 15.92 kB / 441.8 MB, free: 5.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002385/0.1191, allocations: 7.984 kB / 441.8 MB, free: 5.332 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.297e-05/0.1191, allocations: 20.05 kB / 441.9 MB, free: 5.312 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-05/0.1191, allocations: 8 kB / 441.9 MB, free: 5.305 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.38e-05/0.1192, allocations: 110.3 kB / 442 MB, free: 5.199 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1192, allocations: 0 / 442 MB, free: 5.199 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000389/0.1196, allocations: 63.94 kB / 442 MB, free: 5.137 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.001333/0.121, allocations: 0.9644 MB / 443 MB, free: 4.133 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006563/0.1216, allocations: 216.9 kB / 443.2 MB, free: 3.926 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1216, allocations: 0 / 443.2 MB, free: 3.926 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002674/0.1219, allocations: 83.88 kB / 443.3 MB, free: 3.844 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.1223, allocations: 40.45 kB / 443.3 MB, free: 3.805 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003637/0.126, allocations: 2.37 MB / 445.7 MB, free: 1.238 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.1263, allocations: 0.7128 MB / 446.4 MB, free: 0.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000238/0.1265, allocations: 57.86 kB / 446.5 MB, free: 456 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.1267, allocations: 51.41 kB / 446.5 MB, free: 404 kB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1267, allocations: 0 / 446.5 MB, free: 404 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1918/0.3185, allocations: 4.553 MB / 451.1 MB, free: 24.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.943/8.262, allocations: 9.531 kB / 451.1 MB, free: 24.77 MB / 366.1 MB " [Timeout remaining time 652] (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: 10.634659627045039]