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.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.001813/0.001813, allocations: 114.5 kB / 18.45 MB, free: 4.609 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.002081/0.002081, allocations: 216.3 kB / 21.41 MB, free: 1.648 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.451/1.451, allocations: 207.6 MB / 231.8 MB, free: 4.105 MB / 174.1 MB " [Timeout remaining time 178] 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.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_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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 51.94 kB / 342.3 MB, free: 10.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09722/0.09895, allocations: 49.12 MB / 391.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006301/0.1053, allocations: 4.505 MB / 395.9 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002124/0.1074, allocations: 1.829 MB / 397.7 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.495e-05/0.1075, allocations: 4 kB / 397.7 MB, free: 2.352 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002833/0.1078, allocations: 47.69 kB / 397.8 MB, free: 2.305 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003628/0.1081, allocations: 119.2 kB / 397.9 MB, free: 2.188 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006757/0.1088, allocations: 251.3 kB / 398.1 MB, free: 1.941 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003782/0.1092, allocations: 282.9 kB / 398.4 MB, free: 1.664 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.343e-05/0.1092, allocations: 9.125 kB / 398.4 MB, free: 1.656 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002649/0.1095, allocations: 131.6 kB / 398.6 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.1096, allocations: 79.69 kB / 398.6 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.818e-05/0.1097, allocations: 8 kB / 398.6 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002531/0.1099, allocations: 107.8 kB / 398.7 MB, free: 1.336 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.294e-05/0.11, allocations: 35.84 kB / 398.8 MB, free: 1.301 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.369e-05/0.1101, allocations: 83.7 kB / 398.9 MB, free: 1.219 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003414/0.1104, allocations: 207.5 kB / 399.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1104, allocations: 0 / 399.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1104, allocations: 0 / 399.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.1104, allocations: 0 / 399.1 MB, free: 1.016 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.001037/0.1115, allocations: 498.9 kB / 399.6 MB, free: 492 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.1115, allocations: 12.03 kB / 399.6 MB, free: 480 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.755e-05/0.1116, allocations: 46.73 kB / 399.6 MB, free: 424 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001759/0.1118, allocations: 16.89 kB / 399.6 MB, free: 408 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003627/0.1121, allocations: 212.2 kB / 399.8 MB, free: 156 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.1121, allocations: 12.66 kB / 399.8 MB, free: 144 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.856e-05/0.1122, allocations: 16.38 kB / 399.9 MB, free: 128 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004523/0.1126, allocations: 216.6 kB / 400.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.1126, allocations: 4 kB / 400.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.652e-05/0.1127, allocations: 4 kB / 400.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.1127, allocations: 4 kB / 400.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003789/0.1131, allocations: 151.8 kB / 400.2 MB, free: 15.73 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/0.1144, allocations: 0.9519 MB / 401.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004221/0.1149, allocations: 146.7 kB / 401.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.115, allocations: 52.83 kB / 401.4 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006311/0.1156, allocations: 0.5072 MB / 401.9 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.1157, allocations: 34.56 kB / 401.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.1157, allocations: 3.938 kB / 401.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.002678/0.1183, allocations: 0.7672 MB / 402.7 MB, free: 13.06 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.1184, allocations: 55.39 kB / 402.7 MB, free: 12.99 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.1186, allocations: 154.3 kB / 402.9 MB, free: 12.83 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/0.1186, allocations: 29.7 kB / 402.9 MB, free: 12.8 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.1187, allocations: 152.1 kB / 403.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.732e-05/0.1188, allocations: 75.34 kB / 403.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.1189, allocations: 61.66 kB / 403.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.119, allocations: 326.8 kB / 403.5 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000266/0.1193, allocations: 79.94 kB / 403.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003663/0.1197, allocations: 197.5 kB / 403.8 MB, free: 11.85 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006379/0.1203, allocations: 294.2 kB / 404.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1203, allocations: 0 / 404.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007725/0.1211, allocations: 325 kB / 404.4 MB, free: 11.19 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.1211, allocations: 8.469 kB / 404.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.1211, allocations: 8 kB / 404.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.623e-05/0.1211, allocations: 4 kB / 404.4 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003943/0.1215, allocations: 83.88 kB / 404.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/0.1215, allocations: 8 kB / 404.5 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.1218, allocations: 15.98 kB / 404.5 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.501e-05/0.1218, allocations: 15.94 kB / 404.5 MB, free: 11.05 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.0001597/0.122, allocations: 141.7 kB / 404.7 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.798e-05/0.122, allocations: 15.91 kB / 404.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007141/0.1227, allocations: 234.7 kB / 404.9 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.1227, allocations: 4 kB / 404.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.1227, allocations: 4 kB / 404.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.1228, allocations: 3.984 kB / 404.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.1242, allocations: 0.5955 MB / 405.5 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1242, allocations: 0 / 405.5 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003011/0.1245, allocations: 55.89 kB / 405.6 MB, free: 9.918 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.1245, allocations: 7.938 kB / 405.6 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.1245, allocations: 7.938 kB / 405.6 MB, free: 9.902 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1245, allocations: 0 / 405.6 MB, free: 9.902 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.1245, allocations: 4 kB / 405.6 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009143/0.1254, allocations: 411.2 kB / 406 MB, free: 9.469 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.616e-05/0.1255, allocations: 89.02 kB / 406.1 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.572e-05/0.1255, allocations: 7.938 kB / 406.1 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/0.1257, allocations: 11.98 kB / 406.1 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.1258, allocations: 15.98 kB / 406.1 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/0.1258, allocations: 7.984 kB / 406.1 MB, free: 9.32 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.734e-05/0.1259, allocations: 111.2 kB / 406.3 MB, free: 9.211 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1259, allocations: 64 / 406.3 MB, free: 9.211 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004234/0.1263, allocations: 71.88 kB / 406.3 MB, free: 9.141 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.001449/0.1278, allocations: 0.9616 MB / 407.3 MB, free: 8.141 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000677/0.1284, allocations: 208.4 kB / 407.5 MB, free: 7.938 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1284, allocations: 192 / 407.5 MB, free: 7.938 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002678/0.1287, allocations: 91.81 kB / 407.6 MB, free: 7.848 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.1291, allocations: 39.89 kB / 407.6 MB, free: 7.809 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003817/0.133, allocations: 2.382 MB / 410 MB, free: 5.227 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.1333, allocations: 0.7168 MB / 410.7 MB, free: 4.484 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002256/0.1335, allocations: 49.86 kB / 410.8 MB, free: 4.438 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.1337, allocations: 47.42 kB / 410.8 MB, free: 4.391 MB / 334.1 MB Notification: Performance of SimCode: time 1.132e-06/0.1337, allocations: 4 kB / 410.8 MB, free: 4.387 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02879/0.1625, allocations: 4.553 MB / 415.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.187/8.349, allocations: 15.91 kB / 415.4 MB, free: 15.77 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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.019992 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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 10.89963518899458]