Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.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.001324/0.001324, allocations: 121.3 kB / 18.45 MB, free: 4.605 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.001711/0.001711, allocations: 189.2 kB / 21.39 MB, free: 1.672 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.344/1.344, allocations: 207.6 MB / 231.8 MB, free: 4.223 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.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol",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.001624/0.001624, allocations: 55.91 kB / 342.2 MB, free: 10.06 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08394/0.08557, allocations: 49.13 MB / 391.4 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.01039/0.09596, allocations: 7.791 MB / 399.2 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008992/0.09686, allocations: 0.6233 MB / 399.8 MB, free: 324 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.395e-05/0.0969, allocations: 0 / 399.8 MB, free: 324 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002298/0.09713, allocations: 27.83 kB / 399.8 MB, free: 296 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001442/0.09857, allocations: 0.5878 MB / 400.4 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002423/0.09882, allocations: 87.86 kB / 400.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002563/0.09907, allocations: 179.2 kB / 400.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.12e-05/0.09912, allocations: 19.91 kB / 400.7 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.1001, allocations: 0.6119 MB / 401.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.403e-05/0.1002, allocations: 43.83 kB / 401.3 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.1002, allocations: 8 kB / 401.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001322/0.1016, allocations: 0.854 MB / 402.2 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.129e-05/0.1016, allocations: 23.91 kB / 402.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.256e-05/0.1017, allocations: 47.8 kB / 402.3 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004243/0.1021, allocations: 239.3 kB / 402.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.1021, allocations: 0 / 402.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1021, allocations: 0 / 402.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1021, allocations: 4 kB / 402.5 MB, free: 13.59 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005268/0.1027, allocations: 430.7 kB / 402.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.1027, allocations: 8.031 kB / 402.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.187e-05/0.1027, allocations: 38.75 kB / 403 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003817/0.1031, allocations: 36.86 kB / 403 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002753/0.1034, allocations: 200.2 kB / 403.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.1034, allocations: 4.375 kB / 403.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.1034, allocations: 12.36 kB / 403.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/0.1037, allocations: 141 kB / 403.3 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1037, allocations: 4 kB / 403.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.1037, allocations: 0 / 403.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.1037, allocations: 4 kB / 403.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001715/0.1039, allocations: 115.8 kB / 403.5 MB, free: 12.5 MB / 334.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007738/0.1046, allocations: 0.6761 MB / 404.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.1048, allocations: 78.55 kB / 404.2 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.184e-05/0.1049, allocations: 32.84 kB / 404.3 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006805/0.1055, allocations: 0.7998 MB / 405.1 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.1056, allocations: 42.5 kB / 405.1 MB, free: 10.6 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.1056, allocations: 0 / 405.1 MB, free: 10.6 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002958/0.1059, allocations: 125.9 kB / 405.2 MB, free: 10.47 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.1059, allocations: 51.41 kB / 405.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.106, allocations: 125.8 kB / 405.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.106, allocations: 29.7 kB / 405.4 MB, free: 10.24 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.061e-05/0.1061, allocations: 91.98 kB / 405.5 MB, free: 10.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.086e-05/0.1061, allocations: 55.58 kB / 405.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.443e-05/0.1062, allocations: 37.7 kB / 405.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1063, allocations: 318.8 kB / 405.9 MB, free: 9.727 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.015e-05/0.1064, allocations: 27.98 kB / 405.9 MB, free: 9.699 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.963e-05/0.1065, allocations: 72.98 kB / 406 MB, free: 9.609 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.1066, allocations: 113.5 kB / 406.1 MB, free: 9.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1066, allocations: 0 / 406.1 MB, free: 9.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000224/0.1068, allocations: 137.5 kB / 406.3 MB, free: 9.34 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.1068, allocations: 8.156 kB / 406.3 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.1068, allocations: 4 kB / 406.3 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.1069, allocations: 4 kB / 406.3 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.107, allocations: 35.92 kB / 406.3 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.107, allocations: 7.922 kB / 406.3 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.522e-05/0.107, allocations: 11.89 kB / 406.3 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.1071, allocations: 12 kB / 406.3 MB, free: 9.258 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 18 * 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 9.638e-05/0.1072, allocations: 117.8 kB / 406.5 MB, free: 9.133 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.583e-05/0.1072, allocations: 7.953 kB / 406.5 MB, free: 9.125 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002834/0.1075, allocations: 146.4 kB / 406.6 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1075, allocations: 3.938 kB / 406.6 MB, free: 8.973 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1075, allocations: 0 / 406.6 MB, free: 8.973 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1075, allocations: 7.984 kB / 406.6 MB, free: 8.965 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004555/0.1079, allocations: 394.2 kB / 407 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1079, allocations: 0 / 407 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.694e-05/0.108, allocations: 27.92 kB / 407 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.108, allocations: 4 kB / 407 MB, free: 8.492 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.108, allocations: 4 kB / 407 MB, free: 8.488 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.108, allocations: 4 kB / 407 MB, free: 8.484 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.108, allocations: 3.984 kB / 407 MB, free: 8.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002014/0.1082, allocations: 199.4 kB / 407.2 MB, free: 8.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-05/0.1083, allocations: 96.98 kB / 407.3 MB, free: 8.156 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.1083, allocations: 8 kB / 407.3 MB, free: 8.148 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.7e-05/0.1084, allocations: 0 / 407.3 MB, free: 8.148 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.964e-05/0.1085, allocations: 15.98 kB / 407.4 MB, free: 8.133 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.1085, allocations: 8 kB / 407.4 MB, free: 8.125 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.856e-05/0.1085, allocations: 91.27 kB / 407.5 MB, free: 8.035 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1085, allocations: 0 / 407.5 MB, free: 8.035 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003109/0.1088, allocations: 59.86 kB / 407.5 MB, free: 7.977 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (13): * Single equations (assignments): 13 * 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.0006495/0.1095, allocations: 0.8066 MB / 408.3 MB, free: 7.145 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001715/0.1097, allocations: 84.03 kB / 408.4 MB, free: 7.062 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.1097, allocations: 320 / 408.4 MB, free: 7.062 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.759e-05/0.1097, allocations: 39.92 kB / 408.4 MB, free: 7.023 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/0.1101, allocations: 39.89 kB / 408.5 MB, free: 6.984 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.1117, allocations: 1.561 MB / 410 MB, free: 5.312 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.112, allocations: 0.6966 MB / 410.7 MB, free: 4.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001249/0.1121, allocations: 40.72 kB / 410.8 MB, free: 4.547 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.041e-05/0.1122, allocations: 31.42 kB / 410.8 MB, free: 4.52 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1122, allocations: 0 / 410.8 MB, free: 4.52 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02567/0.1378, allocations: 3.801 MB / 414.6 MB, free: 0.668 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.776/7.914, allocations: 11.83 kB / 414.6 MB, free: 0.6562 MB / 334.1 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.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.13702596584335]