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.001223/0.001223, allocations: 108.8 kB / 19.16 MB, free: 3.871 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.001292/0.001292, allocations: 205.6 kB / 22.12 MB, free: 0.9297 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.336/1.336, allocations: 207.6 MB / 232.5 MB, free: 3.906 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.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SimpleLiquidWater",fmuType="cs",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.00169/0.00169, allocations: 51.92 kB / 343 MB, free: 9.996 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08586/0.08755, allocations: 49.13 MB / 392.1 MB, free: 8.691 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006174/0.09372, allocations: 4.491 MB / 396.6 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002092/0.09582, allocations: 1.841 MB / 398.4 MB, free: 2.328 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.295e-05/0.09588, allocations: 0 / 398.4 MB, free: 2.328 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002362/0.09612, allocations: 47.69 kB / 398.5 MB, free: 2.281 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003257/0.09644, allocations: 115.2 kB / 398.6 MB, free: 2.168 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006212/0.09706, allocations: 259.2 kB / 398.8 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003515/0.09741, allocations: 286.9 kB / 399.1 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.048e-05/0.09745, allocations: 5.125 kB / 399.1 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002425/0.0977, allocations: 135.6 kB / 399.3 MB, free: 1.496 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.09783, allocations: 83.67 kB / 399.3 MB, free: 1.414 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.428e-05/0.09786, allocations: 8 kB / 399.4 MB, free: 1.406 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002215/0.09808, allocations: 103.9 kB / 399.5 MB, free: 1.305 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.222e-05/0.09815, allocations: 39.83 kB / 399.5 MB, free: 1.266 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.09825, allocations: 75.7 kB / 399.6 MB, free: 1.191 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003291/0.09858, allocations: 211.5 kB / 399.8 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.09859, allocations: 0 / 399.8 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.09859, allocations: 0 / 399.8 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.09859, allocations: 0 / 399.8 MB, free: 0.9844 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.0009936/0.09959, allocations: 498.9 kB / 400.3 MB, free: 460 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.09962, allocations: 12.03 kB / 400.3 MB, free: 448 kB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.534e-05/0.09964, allocations: 4.469 kB / 400.3 MB, free: 444 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.302e-05/0.09969, allocations: 50.67 kB / 400.3 MB, free: 384 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001712/0.09986, allocations: 16.89 kB / 400.3 MB, free: 368 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002944/0.1002, allocations: 212.2 kB / 400.6 MB, free: 116 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.1002, allocations: 20.66 kB / 400.6 MB, free: 96 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.651e-05/0.1002, allocations: 20.12 kB / 400.6 MB, free: 76 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004528/0.1007, allocations: 204.7 kB / 400.8 MB, free: 15.85 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.1007, allocations: 3.938 kB / 400.8 MB, free: 15.85 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.1007, allocations: 8 kB / 400.8 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.1007, allocations: 8 kB / 400.8 MB, free: 15.83 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003725/0.1011, allocations: 147.8 kB / 401 MB, free: 15.69 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001348/0.1024, allocations: 0.9557 MB / 401.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003964/0.1028, allocations: 134.8 kB / 402 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.103, allocations: 60.81 kB / 402.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000562/0.1036, allocations: 0.5032 MB / 402.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.1036, allocations: 42.55 kB / 402.6 MB, free: 13.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.1036, allocations: 0 / 402.6 MB, free: 13.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.002614/0.1062, allocations: 0.7633 MB / 403.4 MB, free: 13.02 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.1062, allocations: 51.41 kB / 403.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.1064, allocations: 154.4 kB / 403.6 MB, free: 12.8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.1064, allocations: 29.7 kB / 403.6 MB, free: 12.76 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.766e-05/0.1065, allocations: 156.1 kB / 403.8 MB, free: 12.6 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.123e-05/0.1066, allocations: 75.36 kB / 403.9 MB, free: 12.53 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.734e-05/0.1067, allocations: 65.59 kB / 403.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1068, allocations: 322.8 kB / 404.2 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/0.1071, allocations: 79.94 kB / 404.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003355/0.1074, allocations: 189.7 kB / 404.5 MB, free: 11.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006015/0.108, allocations: 298.1 kB / 404.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.108, allocations: 4 kB / 404.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000744/0.1088, allocations: 321.2 kB / 405.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.1088, allocations: 4 kB / 405.1 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.1088, allocations: 4 kB / 405.1 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.1088, allocations: 8 kB / 405.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003731/0.1092, allocations: 83.88 kB / 405.2 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.1092, allocations: 7.938 kB / 405.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.1094, allocations: 28.2 kB / 405.3 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.362e-05/0.1095, allocations: 12 kB / 405.3 MB, free: 11.01 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.0001336/0.1096, allocations: 133.7 kB / 405.4 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.199e-05/0.1096, allocations: 15.91 kB / 405.4 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006813/0.1103, allocations: 242.6 kB / 405.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.1103, allocations: 4 kB / 405.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1103, allocations: 0 / 405.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1103, allocations: 3.984 kB / 405.7 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/0.1116, allocations: 0.5954 MB / 406.2 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1117, allocations: 3.938 kB / 406.3 MB, free: 9.934 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002948/0.1119, allocations: 51.95 kB / 406.3 MB, free: 9.883 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.112, allocations: 4 kB / 406.3 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.998e-05/0.112, allocations: 7.938 kB / 406.3 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.112, allocations: 8.062 kB / 406.3 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.112, allocations: 4 kB / 406.3 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008825/0.1129, allocations: 403.2 kB / 406.7 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.743e-05/0.1129, allocations: 92.98 kB / 406.8 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.293e-05/0.113, allocations: 8 kB / 406.8 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/0.1132, allocations: 11.98 kB / 406.8 MB, free: 9.309 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.1132, allocations: 23.98 kB / 406.9 MB, free: 9.285 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.1133, allocations: 7.984 kB / 406.9 MB, free: 9.277 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.144e-05/0.1133, allocations: 107.3 kB / 407 MB, free: 9.172 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1133, allocations: 0 / 407 MB, free: 9.172 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003756/0.1137, allocations: 67.92 kB / 407 MB, free: 9.105 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.001263/0.115, allocations: 0.9615 MB / 408 MB, free: 8.105 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006087/0.1156, allocations: 212.3 kB / 408.2 MB, free: 7.898 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1156, allocations: 0 / 408.2 MB, free: 7.898 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002493/0.1158, allocations: 87.81 kB / 408.3 MB, free: 7.812 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.1162, allocations: 48.42 kB / 408.3 MB, free: 7.766 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003481/0.1197, allocations: 2.374 MB / 410.7 MB, free: 5.191 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.1201, allocations: 0.7128 MB / 411.4 MB, free: 4.453 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002043/0.1203, allocations: 53.86 kB / 411.5 MB, free: 4.402 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.1204, allocations: 51.42 kB / 411.5 MB, free: 4.352 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1204, allocations: 0 / 411.5 MB, free: 4.352 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02282/0.1432, allocations: 4.59 MB / 416.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.005/8.149, allocations: 11.91 kB / 416.1 MB, free: 15.7 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/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.446486814005766]