Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001241/0.001241, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.001356/0.001356, allocations: 210.5 kB / 21.46 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 230.2 MB / 254.5 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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: "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_trunk_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_trunk_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 59.89 kB / 373.3 MB, free: 10.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09574/0.09753, allocations: 53.32 MB / 426.6 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007234/0.1048, allocations: 4.939 MB / 431.6 MB, free: 144 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1704/0.2752, allocations: 0.6131 MB / 432.2 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.291e-05/0.2753, allocations: 0.6875 kB / 432.2 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002382/0.2755, allocations: 28.19 kB / 432.2 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001382/0.2769, allocations: 0.5865 MB / 432.8 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002158/0.2771, allocations: 97.95 kB / 432.9 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002147/0.2773, allocations: 179 kB / 433.1 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.852e-05/0.2774, allocations: 8.109 kB / 433.1 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008452/0.2782, allocations: 0.6122 MB / 433.7 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.074e-05/0.2783, allocations: 57.16 kB / 433.8 MB, free: 7.453 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.2783, allocations: 6.469 kB / 433.8 MB, free: 7.453 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001149/0.2795, allocations: 0.8872 MB / 434.7 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.416e-05/0.2795, allocations: 21.59 kB / 434.7 MB, free: 7.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.481e-05/0.2796, allocations: 47.12 kB / 434.7 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003788/0.2799, allocations: 241.4 kB / 435 MB, free: 7.387 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2799, allocations: 0 / 435 MB, free: 7.387 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2799, allocations: 0 / 435 MB, free: 7.387 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.2799, allocations: 1.469 kB / 435 MB, free: 7.387 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.0003883/0.2803, allocations: 435.1 kB / 435.4 MB, free: 6.988 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.2804, allocations: 9.219 kB / 435.4 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.596e-05/0.2804, allocations: 43.08 kB / 435.4 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003721/0.2808, allocations: 34.88 kB / 435.5 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.281, allocations: 192.8 kB / 435.7 MB, free: 6.742 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.281, allocations: 8.031 kB / 435.7 MB, free: 6.742 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.281, allocations: 8.906 kB / 435.7 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.2812, allocations: 144.3 kB / 435.8 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.2812, allocations: 5.125 kB / 435.8 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.2812, allocations: 2.219 kB / 435.8 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.2813, allocations: 2.125 kB / 435.8 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001706/0.2814, allocations: 110.7 kB / 435.9 MB, free: 6.668 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.0005483/0.282, allocations: 0.6598 MB / 436.6 MB, free: 6.082 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.2821, allocations: 79.42 kB / 436.7 MB, free: 6.059 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.502e-05/0.2822, allocations: 35.39 kB / 436.7 MB, free: 6.051 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003835/0.2825, allocations: 0.8037 MB / 437.5 MB, free: 5.113 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.2826, allocations: 35.97 kB / 437.5 MB, free: 5.074 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.2826, allocations: 3.844 kB / 437.5 MB, free: 5.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002634/0.2828, allocations: 137.9 kB / 437.7 MB, free: 5.031 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.2828, allocations: 57.66 kB / 437.7 MB, free: 4.965 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.058e-05/0.2829, allocations: 113.1 kB / 437.8 MB, free: 4.867 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.2829, allocations: 29.67 kB / 437.9 MB, free: 4.836 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.283, allocations: 105.1 kB / 438 MB, free: 4.738 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.283, allocations: 39.22 kB / 438 MB, free: 4.711 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.817e-05/0.283, allocations: 42.36 kB / 438.1 MB, free: 4.691 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.722e-05/0.2831, allocations: 319.3 kB / 438.4 MB, free: 4.379 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.907e-05/0.2831, allocations: 30 kB / 438.4 MB, free: 4.375 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.116e-05/0.2832, allocations: 82.16 kB / 438.5 MB, free: 4.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.2833, allocations: 104.3 kB / 438.6 MB, free: 4.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2833, allocations: 1.125 kB / 438.6 MB, free: 4.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000185/0.2835, allocations: 137.3 kB / 438.7 MB, free: 4.227 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.2835, allocations: 5.875 kB / 438.7 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.2835, allocations: 1.219 kB / 438.7 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.2835, allocations: 2.766 kB / 438.7 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.2836, allocations: 33.92 kB / 438.8 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.2836, allocations: 8.406 kB / 438.8 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.468e-05/0.2837, allocations: 14.48 kB / 438.8 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.2837, allocations: 7.594 kB / 438.8 MB, free: 4.211 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.548e-05/0.2838, allocations: 123.7 kB / 438.9 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.555e-05/0.2838, allocations: 12.28 kB / 438.9 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002513/0.284, allocations: 143.9 kB / 439.1 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.284, allocations: 9.031 kB / 439.1 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.284, allocations: 1.125 kB / 439.1 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.2841, allocations: 1.406 kB / 439.1 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003439/0.2844, allocations: 389.4 kB / 439.5 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.2844, allocations: 3.938 kB / 439.5 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.597e-05/0.2845, allocations: 26.59 kB / 439.5 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2845, allocations: 0 / 439.5 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.2845, allocations: 7.984 kB / 439.5 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2845, allocations: 0.7031 kB / 439.5 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2845, allocations: 2.031 kB / 439.5 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.2846, allocations: 201.5 kB / 439.7 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.701e-05/0.2847, allocations: 99.11 kB / 439.8 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.2847, allocations: 4.719 kB / 439.8 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.229e-05/0.2848, allocations: 2.719 kB / 439.8 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.958e-05/0.2848, allocations: 11.61 kB / 439.8 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.2848, allocations: 5.812 kB / 439.8 MB, free: 3.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.234e-05/0.2849, allocations: 89.62 kB / 439.9 MB, free: 3.406 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2849, allocations: 7.938 kB / 439.9 MB, free: 3.398 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003126/0.2852, allocations: 66.89 kB / 440 MB, free: 3.387 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.0004267/0.2856, allocations: 0.7983 MB / 440.8 MB, free: 2.707 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001646/0.2858, allocations: 78.59 kB / 440.8 MB, free: 2.699 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2858, allocations: 0 / 440.8 MB, free: 2.699 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.997e-05/0.2858, allocations: 43.88 kB / 440.9 MB, free: 2.691 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004/0.2862, allocations: 43.66 kB / 440.9 MB, free: 2.688 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.2873, allocations: 1.578 MB / 442.5 MB, free: 1.398 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.2874, allocations: 0.6968 MB / 443.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001098/0.2875, allocations: 26.95 kB / 443.2 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.216e-05/0.2876, allocations: 31.28 kB / 443.3 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2876, allocations: 5.188 kB / 443.3 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02338/0.311, allocations: 3.864 MB / 447.1 MB, free: 108 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.594/7.905, allocations: 5.125 kB / 447.1 MB, free: 104 kB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Incompressible_Examples_TestGlycol_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.195777483284473]