Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00169/0.00169, allocations: 116.7 kB / 19.18 MB, free: 3.762 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001965/0.001965, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.437/1.437, allocations: 230.4 MB / 255.4 MB, free: 15.18 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 75.81 kB / 374.7 MB, free: 9.793 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09547/0.09734, allocations: 53.31 MB / 428 MB, free: 4.391 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.1855/0.2829, allocations: 4.932 MB / 433 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007512/0.2836, allocations: 0.6245 MB / 433.6 MB, free: 8.672 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.818e-05/0.2837, allocations: 1.031 kB / 433.6 MB, free: 8.672 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002163/0.2839, allocations: 26.36 kB / 433.6 MB, free: 8.672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001332/0.2852, allocations: 0.5885 MB / 434.2 MB, free: 8.652 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002093/0.2854, allocations: 95.27 kB / 434.3 MB, free: 8.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000226/0.2857, allocations: 177.3 kB / 434.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.756e-05/0.2857, allocations: 7.531 kB / 434.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009067/0.2866, allocations: 0.6159 MB / 435.1 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.852e-05/0.2867, allocations: 47.91 kB / 435.1 MB, free: 8.605 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.2867, allocations: 5.406 kB / 435.1 MB, free: 8.605 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001358/0.2881, allocations: 0.8934 MB / 436 MB, free: 8.551 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.823e-05/0.2881, allocations: 18.31 kB / 436.1 MB, free: 8.551 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.183e-05/0.2882, allocations: 49.83 kB / 436.1 MB, free: 8.535 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000405/0.2886, allocations: 245.8 kB / 436.3 MB, free: 8.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2886, allocations: 5.75 kB / 436.4 MB, free: 8.496 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2886, allocations: 0 / 436.4 MB, free: 8.496 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.2886, allocations: 0 / 436.4 MB, free: 8.496 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.0004264/0.289, allocations: 426.4 kB / 436.8 MB, free: 8.102 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.289, allocations: 9.062 kB / 436.8 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003752/0.2894, allocations: 32.73 kB / 436.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.2896, allocations: 197.8 kB / 437 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/0.2896, allocations: 8.031 kB / 437 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.2897, allocations: 9.344 kB / 437 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.2899, allocations: 143.2 kB / 437.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.2899, allocations: 1.062 kB / 437.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.2899, allocations: 7.656 kB / 437.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.2899, allocations: 2.625 kB / 437.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.2901, allocations: 110.8 kB / 437.3 MB, free: 7.812 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.0005594/0.2907, allocations: 0.6608 MB / 437.9 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.2908, allocations: 77.5 kB / 438 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.55e-05/0.2908, allocations: 32.69 kB / 438.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003734/0.2912, allocations: 0.8121 MB / 438.9 MB, free: 6.254 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.397e-05/0.2912, allocations: 36.28 kB / 438.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.2912, allocations: 0 / 438.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002738/0.2915, allocations: 127.9 kB / 439 MB, free: 6.172 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.034e-05/0.2915, allocations: 54.28 kB / 439.1 MB, free: 6.109 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.955e-05/0.2916, allocations: 119.2 kB / 439.2 MB, free: 6.008 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.2916, allocations: 30.64 kB / 439.2 MB, free: 5.977 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.592e-05/0.2916, allocations: 100.7 kB / 439.3 MB, free: 5.879 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.2917, allocations: 52.86 kB / 439.4 MB, free: 5.844 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.722e-05/0.2917, allocations: 40.61 kB / 439.4 MB, free: 5.824 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.139e-05/0.2918, allocations: 318.7 kB / 439.7 MB, free: 5.512 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.652e-05/0.2918, allocations: 26.47 kB / 439.7 MB, free: 5.512 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.372e-05/0.2919, allocations: 70.77 kB / 439.8 MB, free: 5.461 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.292, allocations: 106.6 kB / 439.9 MB, free: 5.406 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.292, allocations: 1.25 kB / 439.9 MB, free: 5.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001848/0.2922, allocations: 130.1 kB / 440.1 MB, free: 5.367 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.2922, allocations: 9.75 kB / 440.1 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2922, allocations: 1.984 kB / 440.1 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.2922, allocations: 2.125 kB / 440.1 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.2923, allocations: 36.56 kB / 440.1 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.2923, allocations: 7.172 kB / 440.1 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.472e-05/0.2924, allocations: 12.08 kB / 440.1 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.2924, allocations: 10.92 kB / 440.1 MB, free: 5.348 MB / 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 5.822e-05/0.2925, allocations: 120.8 kB / 440.2 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.467e-05/0.2925, allocations: 11.28 kB / 440.3 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002503/0.2927, allocations: 147.9 kB / 440.4 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.2928, allocations: 6.375 kB / 440.4 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2928, allocations: 4.438 kB / 440.4 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2928, allocations: 0.5625 kB / 440.4 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003541/0.2931, allocations: 395.4 kB / 440.8 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2931, allocations: 0 / 440.8 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.758e-05/0.2932, allocations: 26.02 kB / 440.8 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.2932, allocations: 5.406 kB / 440.8 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.2932, allocations: 4.781 kB / 440.8 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2932, allocations: 1.031 kB / 440.8 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2932, allocations: 0.5625 kB / 440.8 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.2934, allocations: 205.5 kB / 441 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.536e-05/0.2934, allocations: 98.08 kB / 441.1 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.2934, allocations: 5.375 kB / 441.1 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.325e-05/0.2935, allocations: 5.844 kB / 441.1 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.781e-05/0.2936, allocations: 9.656 kB / 441.2 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.2936, allocations: 7.766 kB / 441.2 MB, free: 4.602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.314e-05/0.2936, allocations: 88.97 kB / 441.2 MB, free: 4.527 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2936, allocations: 0 / 441.2 MB, free: 4.527 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003275/0.2939, allocations: 62.59 kB / 441.3 MB, free: 4.52 MB / 350.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.0002315/0.2942, allocations: 164.1 kB / 441.5 MB, free: 4.422 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001746/0.2943, allocations: 87.61 kB / 441.6 MB, free: 4.406 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2943, allocations: 0 / 441.6 MB, free: 4.406 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.181e-05/0.2944, allocations: 31.55 kB / 441.6 MB, free: 4.406 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/0.2948, allocations: 52.11 kB / 441.6 MB, free: 4.398 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003968/0.2952, allocations: 275.8 kB / 441.9 MB, free: 4.207 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.2953, allocations: 0.6975 MB / 442.6 MB, free: 3.508 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.856e-05/0.2954, allocations: 25.06 kB / 442.6 MB, free: 3.5 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2954, allocations: 1.094 kB / 442.6 MB, free: 3.5 MB / 350.1 MB Notification: Performance of Templates: time 0.004489/0.2999, allocations: 2.215 MB / 444.8 MB, free: 3.266 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 6.949340233113617]