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.000955/0.000955, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0007882/0.0007882, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.8992/0.8992, allocations: 173.3 MB / 200.4 MB, free: 9.449 MB / 186.7 MB " [Timeout remaining time 179] 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 1.353e-06/1.353e-06, allocations: 0 / 318.4 MB, free: 6.398 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.231e-05/1.367e-05, allocations: 5.516 kB / 318.4 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.004647/0.00466, allocations: 4.55 MB / 323 MB, free: 1.805 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005499/0.00521, allocations: 0.5801 MB / 323.5 MB, free: 1.223 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.922e-05/0.00526, allocations: 7.938 kB / 323.6 MB, free: 1.215 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002285/0.005488, allocations: 27.83 kB / 323.6 MB, free: 1.188 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001194/0.006682, allocations: 0.6146 MB / 324.2 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001775/0.006859, allocations: 94.36 kB / 324.3 MB, free: 492 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002208/0.00708, allocations: 191.1 kB / 324.5 MB, free: 300 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.818e-05/0.007118, allocations: 11.92 kB / 324.5 MB, free: 288 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007713/0.007889, allocations: 0.647 MB / 325.1 MB, free: 15.63 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.019e-05/0.00796, allocations: 47.83 kB / 325.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.007975, allocations: 4 kB / 325.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008184/0.008793, allocations: 0.8772 MB / 326.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.916e-05/0.008842, allocations: 23.91 kB / 326.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.399e-05/0.008896, allocations: 35.91 kB / 326.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003072/0.009203, allocations: 251.3 kB / 326.4 MB, free: 14.4 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.009205, allocations: 0 / 326.4 MB, free: 14.4 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.009209, allocations: 3.984 kB / 326.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.009213, allocations: 0 / 326.4 MB, free: 14.39 MB / 298.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.0003909/0.009604, allocations: 345.6 kB / 326.7 MB, free: 14.03 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.009643, allocations: 8.922 kB / 326.7 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.836e-05/0.009682, allocations: 46.73 kB / 326.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002256/0.009907, allocations: 40.81 kB / 326.8 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.01007, allocations: 133.6 kB / 326.9 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.01008, allocations: 8.375 kB / 326.9 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.0101, allocations: 4.375 kB / 326.9 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/0.01031, allocations: 222.2 kB / 327.2 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.01032, allocations: 0 / 327.2 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.01033, allocations: 8 kB / 327.2 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.01034, allocations: 0 / 327.2 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.01046, allocations: 103.9 kB / 327.3 MB, free: 13.39 MB / 298.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.0006154/0.01107, allocations: 0.5705 MB / 327.8 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.01118, allocations: 90.48 kB / 327.9 MB, free: 12.67 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.243e-05/0.01122, allocations: 32.84 kB / 328 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001649/0.01139, allocations: 63.88 kB / 328 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.01141, allocations: 30.56 kB / 328.1 MB, free: 12.54 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.213e-06/0.01141, allocations: 0 / 328.1 MB, free: 12.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002029/0.01161, allocations: 129.9 kB / 328.2 MB, free: 12.4 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.01164, allocations: 51.41 kB / 328.2 MB, free: 12.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.883e-05/0.0117, allocations: 129.7 kB / 328.4 MB, free: 12.2 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.01172, allocations: 29.69 kB / 328.4 MB, free: 12.17 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.197e-05/0.01176, allocations: 103.9 kB / 328.5 MB, free: 12.06 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.01179, allocations: 47.62 kB / 328.5 MB, free: 12.02 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-05/0.01183, allocations: 41.66 kB / 328.6 MB, free: 11.97 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.318e-05/0.0119, allocations: 318.8 kB / 328.9 MB, free: 11.65 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.136e-05/0.01193, allocations: 19.98 kB / 328.9 MB, free: 11.63 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.145e-05/0.01198, allocations: 75.78 kB / 329 MB, free: 11.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.966e-05/0.01207, allocations: 107.8 kB / 329.1 MB, free: 11.42 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.01207, allocations: 8 kB / 329.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001311/0.01221, allocations: 133.5 kB / 329.2 MB, free: 11.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.01222, allocations: 4 kB / 329.2 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.01222, allocations: 4 kB / 329.2 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.01223, allocations: 3.984 kB / 329.2 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.535e-05/0.01231, allocations: 35.92 kB / 329.3 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.01232, allocations: 7.922 kB / 329.3 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.241e-05/0.01235, allocations: 15.89 kB / 329.3 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.01236, allocations: 12.16 kB / 329.3 MB, free: 11.19 MB / 298.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 5.703e-05/0.01242, allocations: 121.8 kB / 329.4 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.861e-05/0.01244, allocations: 7.953 kB / 329.4 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001759/0.01261, allocations: 138.4 kB / 329.6 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.01262, allocations: 0 / 329.6 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.01262, allocations: 3.938 kB / 329.6 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.01262, allocations: 0 / 329.6 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002862/0.01291, allocations: 360.1 kB / 329.9 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.01291, allocations: 7.984 kB / 329.9 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.927e-05/0.01295, allocations: 20 kB / 329.9 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.103e-06/0.01295, allocations: 3.938 kB / 330 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.01296, allocations: 7.984 kB / 330 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.01296, allocations: 0 / 330 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.01296, allocations: 0 / 330 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.01308, allocations: 199.4 kB / 330.2 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.614e-05/0.0131, allocations: 23.88 kB / 330.2 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.01312, allocations: 11.88 kB / 330.2 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.172e-05/0.01317, allocations: 0 / 330.2 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.601e-05/0.01318, allocations: 11.98 kB / 330.2 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.0132, allocations: 15.98 kB / 330.2 MB, free: 10.2 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.018e-05/0.01323, allocations: 87.28 kB / 330.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01323, allocations: 0 / 330.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002069/0.01343, allocations: 55.92 kB / 330.4 MB, free: 10.06 MB / 298.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.0004464/0.01388, allocations: 0.8019 MB / 331.2 MB, free: 9.23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001422/0.01402, allocations: 83.39 kB / 331.2 MB, free: 9.152 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01402, allocations: 0 / 331.2 MB, free: 9.152 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.3e-05/0.01406, allocations: 39.92 kB / 331.3 MB, free: 9.113 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.01433, allocations: 36.28 kB / 331.3 MB, free: 9.078 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.0155, allocations: 1.55 MB / 332.9 MB, free: 7.418 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.955e-05/0.01556, allocations: 84.36 kB / 332.9 MB, free: 7.316 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.289e-05/0.01565, allocations: 36.95 kB / 333 MB, free: 7.281 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.242e-05/0.0157, allocations: 32.48 kB / 333 MB, free: 7.25 MB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.0157, allocations: 0 / 333 MB, free: 7.25 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01488/0.03058, allocations: 4.567 MB / 337.6 MB, free: 2.84 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.427/6.458, allocations: 7.875 kB / 337.6 MB, free: 2.832 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.121203313581645]