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.0008195/0.0008195, allocations: 84 kB / 21.43 MB, free: 3.129 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.003364/0.003364, allocations: 140.6 kB / 24.67 MB, free: 9.43 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.844/0.844, allocations: 173.4 MB / 201.2 MB, free: 9.434 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: translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol") translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 319.7 MB, free: 5.863 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.361e-05/2.489e-05, allocations: 6.219 kB / 319.7 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.00489/0.004915, allocations: 4.558 MB / 324.2 MB, free: 1.258 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005471/0.005462, allocations: 0.5762 MB / 324.8 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.871e-05/0.00552, allocations: 4 kB / 324.8 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002504/0.005771, allocations: 27.77 kB / 324.8 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00145/0.007221, allocations: 0.6107 MB / 325.4 MB, free: 36 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.007455, allocations: 99.3 kB / 325.5 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002648/0.00772, allocations: 191.1 kB / 325.7 MB, free: 15.75 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.856e-05/0.007769, allocations: 11.92 kB / 325.7 MB, free: 15.74 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008922/0.008661, allocations: 0.647 MB / 326.4 MB, free: 15.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.972e-05/0.008721, allocations: 39.89 kB / 326.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.008736, allocations: 7.938 kB / 326.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009784/0.009715, allocations: 0.8772 MB / 327.3 MB, free: 14.17 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.656e-05/0.009761, allocations: 19.91 kB / 327.3 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.984e-05/0.009801, allocations: 43.91 kB / 327.4 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003141/0.01012, allocations: 255.2 kB / 327.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.01012, allocations: 3.938 kB / 327.6 MB, free: 13.85 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.01012, allocations: 3.984 kB / 327.6 MB, free: 13.85 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.01013, allocations: 4 kB / 327.6 MB, free: 13.84 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.0004109/0.01054, allocations: 341.7 kB / 328 MB, free: 13.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.01057, allocations: 8.922 kB / 328 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002405/0.01082, allocations: 36.86 kB / 328 MB, free: 13.44 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.01101, allocations: 129.7 kB / 328.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.01102, allocations: 8.375 kB / 328.1 MB, free: 13.28 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.01104, allocations: 12.38 kB / 328.2 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.01126, allocations: 220.7 kB / 328.4 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.01127, allocations: 0 / 328.4 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.01129, allocations: 8 kB / 328.4 MB, free: 13.01 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.0113, allocations: 0 / 328.4 MB, free: 13.01 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.01142, allocations: 115.8 kB / 328.5 MB, free: 12.89 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.0004923/0.01191, allocations: 0.5475 MB / 329 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.01202, allocations: 82.55 kB / 329.1 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.446e-05/0.01207, allocations: 32.84 kB / 329.2 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001775/0.01225, allocations: 59.94 kB / 329.2 MB, free: 12.12 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.01227, allocations: 34.56 kB / 329.2 MB, free: 12.08 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.01227, allocations: 0 / 329.2 MB, free: 12.08 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002134/0.01248, allocations: 129.8 kB / 329.4 MB, free: 11.95 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.01251, allocations: 55.41 kB / 329.4 MB, free: 11.88 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.53e-05/0.01258, allocations: 113.8 kB / 329.5 MB, free: 11.76 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.01259, allocations: 29.7 kB / 329.6 MB, free: 11.72 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.329e-05/0.01263, allocations: 103.9 kB / 329.7 MB, free: 11.62 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.01266, allocations: 51.56 kB / 329.7 MB, free: 11.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-05/0.01269, allocations: 41.66 kB / 329.8 MB, free: 11.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.761e-05/0.01276, allocations: 314.8 kB / 330.1 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.22e-05/0.01279, allocations: 31.98 kB / 330.1 MB, free: 11.17 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.013e-05/0.01284, allocations: 69.5 kB / 330.2 MB, free: 11.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.895e-05/0.01293, allocations: 105 kB / 330.3 MB, free: 10.96 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.01293, allocations: 0 / 330.3 MB, free: 10.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001274/0.01306, allocations: 144.8 kB / 330.4 MB, free: 10.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.01307, allocations: 7.938 kB / 330.4 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.01308, allocations: 0 / 330.4 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.01309, allocations: 4 kB / 330.4 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.314e-05/0.01316, allocations: 31.92 kB / 330.5 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.01317, allocations: 11.92 kB / 330.5 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.191e-05/0.0132, allocations: 11.95 kB / 330.5 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.01322, allocations: 11.94 kB / 330.5 MB, free: 10.74 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 6.091e-05/0.01328, allocations: 121.8 kB / 330.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.698e-05/0.0133, allocations: 7.953 kB / 330.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001841/0.01348, allocations: 149.9 kB / 330.8 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.01348, allocations: 0 / 330.8 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.01349, allocations: 0 / 330.8 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.01349, allocations: 0 / 330.8 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.01374, allocations: 326.1 kB / 331.1 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.01374, allocations: 0 / 331.1 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.058e-05/0.01378, allocations: 31.92 kB / 331.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.01379, allocations: 0 / 331.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.01379, allocations: 0 / 331.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.01379, allocations: 4 kB / 331.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.0138, allocations: 7.938 kB / 331.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.01391, allocations: 191.5 kB / 331.3 MB, free: 9.852 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.553e-05/0.01394, allocations: 27.86 kB / 331.3 MB, free: 9.824 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.01395, allocations: 4 kB / 331.3 MB, free: 9.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.131e-05/0.014, allocations: 0 / 331.3 MB, free: 9.82 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.741e-05/0.01402, allocations: 15.92 kB / 331.4 MB, free: 9.805 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.01403, allocations: 8 kB / 331.4 MB, free: 9.797 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.277e-05/0.01406, allocations: 95.2 kB / 331.5 MB, free: 9.703 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01406, allocations: 0 / 331.5 MB, free: 9.703 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002014/0.01426, allocations: 55.88 kB / 331.5 MB, free: 9.648 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.0002083/0.01447, allocations: 167 kB / 331.7 MB, free: 9.477 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001232/0.01459, allocations: 83.5 kB / 331.8 MB, free: 9.398 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01459, allocations: 4 kB / 331.8 MB, free: 9.395 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.211e-05/0.01463, allocations: 39.92 kB / 331.8 MB, free: 9.355 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.01489, allocations: 35.91 kB / 331.8 MB, free: 9.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/0.0152, allocations: 238.7 kB / 332.1 MB, free: 9.055 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.793e-05/0.01526, allocations: 88.06 kB / 332.2 MB, free: 8.949 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.586e-05/0.01531, allocations: 24.5 kB / 332.2 MB, free: 8.926 MB / 298.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01531, allocations: 0 / 332.2 MB, free: 8.926 MB / 298.7 MB Notification: Performance of Templates: time 0.002788/0.0181, allocations: 2.206 MB / 334.4 MB, free: 6.734 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 480] 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: 4.247487879358232]