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.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.001342/0.001342, allocations: 87.62 kB / 21.43 MB, free: 3.137 MB / 18.57 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.004815/0.004815, allocations: 159.4 kB / 24.69 MB, free: 9.422 MB / 18.57 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 0.874/0.874, allocations: 158.6 MB / 186.5 MB, free: 3.043 MB / 170.7 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.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: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 298.4 MB, free: 3.543 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.029e-05, allocations: 10.22 kB / 298.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.1273/0.1273, allocations: 7.146 MB / 305.6 MB, free: 12.26 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005214/0.1279, allocations: 0.5817 MB / 306.2 MB, free: 11.99 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.405e-05/0.1279, allocations: 1.062 kB / 306.2 MB, free: 11.99 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002039/0.1281, allocations: 28 kB / 306.2 MB, free: 11.98 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001025/0.1291, allocations: 0.6196 MB / 306.8 MB, free: 11.77 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001529/0.1293, allocations: 90.97 kB / 306.9 MB, free: 11.72 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001869/0.1295, allocations: 180.8 kB / 307.1 MB, free: 11.64 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.666e-05/0.1295, allocations: 4.875 kB / 307.1 MB, free: 11.64 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007541/0.1303, allocations: 0.6546 MB / 307.7 MB, free: 11.51 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.933e-05/0.1303, allocations: 42.67 kB / 307.8 MB, free: 11.5 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.1303, allocations: 5.594 kB / 307.8 MB, free: 11.5 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008202/0.1312, allocations: 0.8775 MB / 308.6 MB, free: 11.32 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.116e-05/0.1312, allocations: 21.97 kB / 308.7 MB, free: 11.31 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.044e-05/0.1312, allocations: 36.06 kB / 308.7 MB, free: 11.3 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003188/0.1316, allocations: 252.5 kB / 309 MB, free: 11.22 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1316, allocations: 1.219 kB / 309 MB, free: 11.22 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1316, allocations: 0 / 309 MB, free: 11.22 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.1316, allocations: 3.938 kB / 309 MB, free: 11.21 MB / 282.7 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.000352/0.1319, allocations: 353.4 kB / 309.3 MB, free: 10.89 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.132, allocations: 12.61 kB / 309.3 MB, free: 10.89 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.742e-05/0.132, allocations: 40.25 kB / 309.4 MB, free: 10.85 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002153/0.1322, allocations: 40.38 kB / 309.4 MB, free: 10.84 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.1324, allocations: 132 kB / 309.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.1324, allocations: 11.53 kB / 309.5 MB, free: 10.69 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.1324, allocations: 9.141 kB / 309.5 MB, free: 10.69 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.1326, allocations: 213.3 kB / 309.8 MB, free: 10.51 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.1326, allocations: 1.688 kB / 309.8 MB, free: 10.51 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.1326, allocations: 9.188 kB / 309.8 MB, free: 10.5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1326, allocations: 2.375 kB / 309.8 MB, free: 10.5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.1327, allocations: 106.6 kB / 309.9 MB, free: 10.47 MB / 282.7 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.0003992/0.1331, allocations: 0.5833 MB / 310.5 MB, free: 9.922 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.1332, allocations: 74.61 kB / 310.5 MB, free: 9.883 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.284e-05/0.1333, allocations: 33.88 kB / 310.6 MB, free: 9.867 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001792/0.1335, allocations: 59.58 kB / 310.6 MB, free: 9.855 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.549e-05/0.1335, allocations: 37.31 kB / 310.7 MB, free: 9.812 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.022e-06/0.1335, allocations: 3.938 kB / 310.7 MB, free: 9.809 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002098/0.1337, allocations: 130.6 kB / 310.8 MB, free: 9.742 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.755e-05/0.1337, allocations: 58.91 kB / 310.8 MB, free: 9.676 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.211e-05/0.1337, allocations: 119.4 kB / 311 MB, free: 9.566 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.1338, allocations: 30.83 kB / 311 MB, free: 9.531 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.036e-05/0.1338, allocations: 100.4 kB / 311.1 MB, free: 9.434 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.1338, allocations: 48.69 kB / 311.1 MB, free: 9.395 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/0.1338, allocations: 34.03 kB / 311.2 MB, free: 9.371 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.548e-05/0.1339, allocations: 323.4 kB / 311.5 MB, free: 9.051 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.408e-05/0.1339, allocations: 26.5 kB / 311.5 MB, free: 9.043 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.419e-05/0.1339, allocations: 64.84 kB / 311.6 MB, free: 8.988 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.446e-05/0.134, allocations: 115.3 kB / 311.7 MB, free: 8.898 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.134, allocations: 1.578 kB / 311.7 MB, free: 8.898 MB / 282.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001243/0.1342, allocations: 137.8 kB / 311.8 MB, free: 8.828 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.1342, allocations: 5.281 kB / 311.8 MB, free: 8.828 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1342, allocations: 1.438 kB / 311.8 MB, free: 8.828 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.1342, allocations: 3.375 kB / 311.8 MB, free: 8.828 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.079e-05/0.1343, allocations: 36.78 kB / 311.9 MB, free: 8.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.1343, allocations: 3.875 kB / 311.9 MB, free: 8.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.111e-05/0.1343, allocations: 19.36 kB / 311.9 MB, free: 8.809 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.1343, allocations: 7.312 kB / 311.9 MB, free: 8.809 MB / 282.7 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 4.51e-05/0.1344, allocations: 124.5 kB / 312 MB, free: 8.684 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.1344, allocations: 7.547 kB / 312 MB, free: 8.68 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001719/0.1346, allocations: 144.2 kB / 312.2 MB, free: 8.605 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1346, allocations: 2.125 kB / 312.2 MB, free: 8.605 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1346, allocations: 3.938 kB / 312.2 MB, free: 8.602 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1346, allocations: 4.766 kB / 312.2 MB, free: 8.602 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002408/0.1348, allocations: 356.5 kB / 312.5 MB, free: 8.289 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1348, allocations: 0.9375 kB / 312.5 MB, free: 8.289 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.049e-05/0.1348, allocations: 28.48 kB / 312.6 MB, free: 8.281 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.1348, allocations: 1.25 kB / 312.6 MB, free: 8.281 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.1349, allocations: 2.109 kB / 312.6 MB, free: 8.281 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1349, allocations: 5.625 kB / 312.6 MB, free: 8.277 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1349, allocations: 5.031 kB / 312.6 MB, free: 8.273 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.135, allocations: 199 kB / 312.8 MB, free: 8.117 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.666e-05/0.135, allocations: 22.64 kB / 312.8 MB, free: 8.105 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.047e-05/0.135, allocations: 1.406 kB / 312.8 MB, free: 8.105 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.097e-05/0.135, allocations: 10.16 kB / 312.8 MB, free: 8.098 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.637e-05/0.1351, allocations: 16.44 kB / 312.8 MB, free: 8.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.1351, allocations: 6.906 kB / 312.8 MB, free: 8.09 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.102e-05/0.1351, allocations: 89.11 kB / 312.9 MB, free: 8.012 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1351, allocations: 1.062 kB / 312.9 MB, free: 8.012 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002124/0.1353, allocations: 61.23 kB / 313 MB, free: 7.996 MB / 282.7 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.0003089/0.1356, allocations: 0.7914 MB / 313.8 MB, free: 7.289 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001181/0.1357, allocations: 79.72 kB / 313.8 MB, free: 7.266 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.1357, allocations: 1.438 kB / 313.8 MB, free: 7.266 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.473e-05/0.1358, allocations: 38.97 kB / 313.9 MB, free: 7.254 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.136, allocations: 46.56 kB / 313.9 MB, free: 7.238 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007718/0.1368, allocations: 1.565 MB / 315.5 MB, free: 5.84 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.118e-05/0.1368, allocations: 86.25 kB / 315.6 MB, free: 5.762 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.532e-05/0.1369, allocations: 35.52 kB / 315.6 MB, free: 5.746 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.221e-05/0.137, allocations: 34.02 kB / 315.6 MB, free: 5.727 MB / 282.7 MB Notification: Performance of SimCode: time 2.7e-07/0.137, allocations: 0 / 315.6 MB, free: 5.727 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01412/0.1511, allocations: 4.589 MB / 320.2 MB, free: 4.062 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.699/6.851, allocations: 17.05 kB / 320.2 MB, free: 4.047 MB / 282.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.449754489585757]