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.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.001334/0.001334, allocations: 116 kB / 18.45 MB, free: 4.625 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.001324/0.001324, allocations: 194.9 kB / 21.4 MB, free: 1.688 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.331/1.331, allocations: 207.6 MB / 231.8 MB, free: 4.227 MB / 174.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.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_3_2_3_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 51.92 kB / 342.2 MB, free: 10.07 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08311/0.08473, allocations: 49.12 MB / 391.4 MB, free: 8.781 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005795/0.09052, allocations: 4.494 MB / 395.8 MB, free: 4.262 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002/0.09252, allocations: 1.829 MB / 397.7 MB, free: 2.426 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.52e-05/0.09258, allocations: 3.938 kB / 397.7 MB, free: 2.422 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002468/0.09282, allocations: 51.67 kB / 397.7 MB, free: 2.371 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003127/0.09313, allocations: 115.3 kB / 397.8 MB, free: 2.258 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006168/0.09375, allocations: 255.3 kB / 398.1 MB, free: 2.008 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003384/0.09409, allocations: 286.9 kB / 398.4 MB, free: 1.727 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.573e-05/0.09414, allocations: 9.125 kB / 398.4 MB, free: 1.719 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002387/0.09437, allocations: 131.5 kB / 398.5 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.0945, allocations: 87.66 kB / 398.6 MB, free: 1.504 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.09453, allocations: 8 kB / 398.6 MB, free: 1.496 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002093/0.09474, allocations: 91.94 kB / 398.7 MB, free: 1.406 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.514e-05/0.09481, allocations: 47.77 kB / 398.7 MB, free: 1.359 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.345e-05/0.09491, allocations: 75.7 kB / 398.8 MB, free: 1.285 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003113/0.09522, allocations: 207.5 kB / 399 MB, free: 1.082 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.09522, allocations: 4 kB / 399 MB, free: 1.078 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.09522, allocations: 0 / 399 MB, free: 1.078 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.09523, allocations: 0 / 399 MB, free: 1.078 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.0009365/0.09617, allocations: 495 kB / 399.5 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.0962, allocations: 8.031 kB / 399.5 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.029e-05/0.09626, allocations: 54.73 kB / 399.6 MB, free: 488 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/0.09643, allocations: 20.88 kB / 399.6 MB, free: 468 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.09675, allocations: 216.2 kB / 399.8 MB, free: 212 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.09677, allocations: 8.656 kB / 399.8 MB, free: 204 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.717e-05/0.09681, allocations: 12.38 kB / 399.8 MB, free: 192 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000423/0.09723, allocations: 220.6 kB / 400 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.09724, allocations: 0 / 400 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/0.09727, allocations: 12 kB / 400 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.09727, allocations: 4 kB / 400 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003486/0.09762, allocations: 147.8 kB / 400.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.09893, allocations: 0.948 MB / 401.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003845/0.09932, allocations: 150.7 kB / 401.3 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.09946, allocations: 48.83 kB / 401.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005683/0.1, allocations: 0.511 MB / 401.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.1001, allocations: 34.56 kB / 401.9 MB, free: 13.94 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.1001, allocations: 4 kB / 401.9 MB, free: 13.94 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.002517/0.1026, allocations: 0.7632 MB / 402.6 MB, free: 13.12 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.1026, allocations: 55.41 kB / 402.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.1028, allocations: 150.4 kB / 402.8 MB, free: 12.9 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.1028, allocations: 33.7 kB / 402.9 MB, free: 12.86 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.615e-05/0.1029, allocations: 148.1 kB / 403 MB, free: 12.71 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.454e-05/0.103, allocations: 83.34 kB / 403.1 MB, free: 12.62 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.897e-05/0.103, allocations: 53.66 kB / 403.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1032, allocations: 330.8 kB / 403.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002385/0.1034, allocations: 83.89 kB / 403.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003252/0.1037, allocations: 193.6 kB / 403.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005678/0.1043, allocations: 290.2 kB / 404 MB, free: 11.58 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1043, allocations: 0 / 404 MB, free: 11.58 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006897/0.105, allocations: 325.2 kB / 404.4 MB, free: 11.26 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.105, allocations: 4 kB / 404.4 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.105, allocations: 4 kB / 404.4 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.1051, allocations: 11.98 kB / 404.4 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003677/0.1054, allocations: 83.83 kB / 404.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.1054, allocations: 4.281 kB / 404.5 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002142/0.1056, allocations: 19.98 kB / 404.5 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.227e-05/0.1057, allocations: 16 kB / 404.5 MB, free: 11.12 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.0001321/0.1058, allocations: 141.6 kB / 404.6 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.906e-05/0.1059, allocations: 23.78 kB / 404.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006305/0.1065, allocations: 234.7 kB / 404.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1065, allocations: 0 / 404.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.1065, allocations: 3.984 kB / 404.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.1065, allocations: 4 kB / 404.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001267/0.1078, allocations: 0.5954 MB / 405.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.1078, allocations: 4 kB / 405.5 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002915/0.1081, allocations: 51.89 kB / 405.5 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.1081, allocations: 4 kB / 405.5 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.1081, allocations: 12.06 kB / 405.6 MB, free: 9.965 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.1081, allocations: 4 kB / 405.6 MB, free: 9.961 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1081, allocations: 0 / 405.6 MB, free: 9.961 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008064/0.1089, allocations: 403.1 kB / 406 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.388e-05/0.109, allocations: 93.05 kB / 406 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.902e-05/0.109, allocations: 15.88 kB / 406.1 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.1092, allocations: 15.98 kB / 406.1 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.058e-05/0.1093, allocations: 12.05 kB / 406.1 MB, free: 9.387 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.562e-05/0.1093, allocations: 15.98 kB / 406.1 MB, free: 9.371 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.896e-05/0.1094, allocations: 107.2 kB / 406.2 MB, free: 9.266 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1094, allocations: 0 / 406.2 MB, free: 9.266 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003562/0.1097, allocations: 63.94 kB / 406.3 MB, free: 9.203 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.001204/0.1109, allocations: 0.9692 MB / 407.2 MB, free: 8.195 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005553/0.1115, allocations: 208 kB / 407.4 MB, free: 7.992 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.1115, allocations: 0 / 407.4 MB, free: 7.992 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002303/0.1117, allocations: 88.75 kB / 407.5 MB, free: 7.906 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.1121, allocations: 47.86 kB / 407.6 MB, free: 7.859 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003439/0.1155, allocations: 2.374 MB / 410 MB, free: 5.285 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.1159, allocations: 0.7168 MB / 410.7 MB, free: 4.543 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002204/0.1161, allocations: 53.86 kB / 410.7 MB, free: 4.492 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.1162, allocations: 47.41 kB / 410.8 MB, free: 4.445 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1162, allocations: 0 / 410.8 MB, free: 4.445 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02785/0.144, allocations: 4.549 MB / 415.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.619/7.763, allocations: 16.22 kB / 415.3 MB, free: 15.83 MB / 350.1 MB " [Timeout remaining time 652] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.982397540006787]