Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001475/0.001475, allocations: 124.8 kB / 17.79 MB, free: 5.266 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.001589/0.001589, allocations: 186.9 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 225.6 MB / 249.1 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 51.92 kB / 365.6 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08511/0.08652, allocations: 52.13 MB / 417.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.006702/0.09323, allocations: 4.889 MB / 422.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008638/0.09409, allocations: 0.6231 MB / 423.3 MB, free: 7.098 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.175e-05/0.09413, allocations: 0 / 423.3 MB, free: 7.098 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002048/0.09434, allocations: 31.83 kB / 423.3 MB, free: 7.066 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001278/0.09561, allocations: 0.5839 MB / 423.9 MB, free: 6.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.09583, allocations: 90.81 kB / 424 MB, free: 6.395 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002373/0.09607, allocations: 179.3 kB / 424.1 MB, free: 6.219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.91e-05/0.09611, allocations: 11.97 kB / 424.2 MB, free: 6.207 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009699/0.09708, allocations: 0.6119 MB / 424.8 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.487e-05/0.09716, allocations: 51.77 kB / 424.8 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.09718, allocations: 7.938 kB / 424.8 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001302/0.09848, allocations: 0.858 MB / 425.7 MB, free: 4.676 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.456e-05/0.09853, allocations: 19.86 kB / 425.7 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.554e-05/0.09859, allocations: 51.78 kB / 425.8 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003914/0.09898, allocations: 235.3 kB / 426 MB, free: 4.375 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.09899, allocations: 0 / 426 MB, free: 4.375 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.09899, allocations: 0 / 426 MB, free: 4.375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.09899, allocations: 0 / 426 MB, free: 4.375 MB / 350.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.0005006/0.09949, allocations: 430.8 kB / 426.4 MB, free: 3.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.09952, allocations: 8.031 kB / 426.4 MB, free: 3.898 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.607e-05/0.09957, allocations: 46.69 kB / 426.5 MB, free: 3.844 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003691/0.09994, allocations: 32.86 kB / 426.5 MB, free: 3.812 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.1002, allocations: 188.3 kB / 426.7 MB, free: 3.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.1002, allocations: 12.12 kB / 426.7 MB, free: 3.578 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.1002, allocations: 4 kB / 426.7 MB, free: 3.574 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.1005, allocations: 143.1 kB / 426.8 MB, free: 3.418 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.1005, allocations: 0 / 426.8 MB, free: 3.418 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.1005, allocations: 8 kB / 426.8 MB, free: 3.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.1005, allocations: 3.938 kB / 426.8 MB, free: 3.406 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/0.1007, allocations: 107.8 kB / 426.9 MB, free: 3.301 MB / 350.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.0007333/0.1014, allocations: 0.6683 MB / 427.6 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.1015, allocations: 78.48 kB / 427.7 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.856e-05/0.1016, allocations: 32.84 kB / 427.7 MB, free: 2.438 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006542/0.1022, allocations: 0.8076 MB / 428.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.1023, allocations: 34.56 kB / 428.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.1023, allocations: 4 kB / 428.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002792/0.1025, allocations: 129.8 kB / 428.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.1026, allocations: 59.34 kB / 428.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.1027, allocations: 117.8 kB / 428.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.1027, allocations: 29.7 kB / 428.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.327e-05/0.1028, allocations: 103.9 kB / 429 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.109e-05/0.1028, allocations: 47.58 kB / 429 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.123e-05/0.1029, allocations: 33.7 kB / 429.1 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.103, allocations: 322.8 kB / 429.4 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.063e-05/0.103, allocations: 27.98 kB / 429.4 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.533e-05/0.1031, allocations: 73.19 kB / 429.5 MB, free: 412 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.1033, allocations: 104.8 kB / 429.6 MB, free: 292 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1033, allocations: 0 / 429.6 MB, free: 292 kB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002126/0.1035, allocations: 137.5 kB / 429.7 MB, free: 148 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.1035, allocations: 7.938 kB / 429.7 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1035, allocations: 0 / 429.7 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1035, allocations: 8.094 kB / 429.7 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.1036, allocations: 35.98 kB / 429.8 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.1036, allocations: 7.984 kB / 429.8 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.54e-05/0.1037, allocations: 7.953 kB / 429.8 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.1037, allocations: 12 kB / 429.8 MB, free: 68 kB / 350.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 0.0001085/0.1038, allocations: 122.4 kB / 429.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.546e-05/0.1039, allocations: 7.953 kB / 429.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002792/0.1041, allocations: 146.4 kB / 430.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.1041, allocations: 4 kB / 430.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1041, allocations: 3.938 kB / 430.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.1041, allocations: 0 / 430.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004587/0.1046, allocations: 398.3 kB / 430.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1046, allocations: 4 kB / 430.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.926e-05/0.1047, allocations: 23.92 kB / 430.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1047, allocations: 0 / 430.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.1047, allocations: 8 kB / 430.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1047, allocations: 4 kB / 430.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1047, allocations: 0 / 430.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.1049, allocations: 207.4 kB / 430.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.136e-05/0.105, allocations: 97.03 kB / 430.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.105, allocations: 4 kB / 430.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.1051, allocations: 0 / 430.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.169e-05/0.1051, allocations: 11.98 kB / 430.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.1051, allocations: 8 kB / 430.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.627e-05/0.1052, allocations: 99.2 kB / 430.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1052, allocations: 0 / 430.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003092/0.1055, allocations: 55.88 kB / 431 MB, free: 14.78 MB / 366.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.0006334/0.1061, allocations: 0.7971 MB / 431.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001764/0.1063, allocations: 87.83 kB / 431.9 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1063, allocations: 0 / 431.9 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.425e-05/0.1064, allocations: 31.98 kB / 431.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.1068, allocations: 42.8 kB / 431.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.1083, allocations: 1.589 MB / 433.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.1086, allocations: 0.6967 MB / 434.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001162/0.1087, allocations: 29.02 kB / 434.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.902e-05/0.1088, allocations: 39.38 kB / 434.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1088, allocations: 0 / 434.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02513/0.1339, allocations: 3.758 MB / 438.1 MB, free: 7.664 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.726/7.86, allocations: 11.91 kB / 438.1 MB, free: 7.652 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Incompressible_Examples_TestGlycol_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.247079173102975]