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.001358/0.001358, allocations: 117.2 kB / 18.5 MB, free: 4.543 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.00141/0.00141, allocations: 202.6 kB / 21.45 MB, free: 1.59 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.455/1.455, allocations: 230.2 MB / 254.5 MB, free: 15.41 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: 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_trunk_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_trunk_Modelica.Media.Incompressible.Examples.TestGlycol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 63.89 kB / 373.8 MB, free: 9.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08827/0.09014, allocations: 53.33 MB / 427.1 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007189/0.09733, allocations: 4.935 MB / 432.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008977/0.09823, allocations: 0.6309 MB / 432.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.787e-05/0.09828, allocations: 0 / 432.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002335/0.09851, allocations: 27.83 kB / 432.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0014/0.09991, allocations: 0.5839 MB / 433.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.1001, allocations: 98.3 kB / 433.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002565/0.1004, allocations: 183.3 kB / 433.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.302e-05/0.1004, allocations: 0 / 433.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.1014, allocations: 0.6158 MB / 434.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.925e-05/0.1015, allocations: 55.77 kB / 434.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.1016, allocations: 4 kB / 434.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001399/0.103, allocations: 0.8891 MB / 435.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.984e-05/0.103, allocations: 23.91 kB / 435.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.265e-05/0.1031, allocations: 43.86 kB / 435.2 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004188/0.1035, allocations: 239.3 kB / 435.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1035, allocations: 0 / 435.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1035, allocations: 0 / 435.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1035, allocations: 0 / 435.5 MB, free: 12.18 MB / 366.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.0005536/0.104, allocations: 438.7 kB / 435.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.1041, allocations: 8.031 kB / 435.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004017/0.1045, allocations: 36.86 kB / 435.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.1047, allocations: 188.2 kB / 436.1 MB, free: 11.44 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.1047, allocations: 8.375 kB / 436.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.1048, allocations: 15.94 kB / 436.1 MB, free: 11.42 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.105, allocations: 141 kB / 436.3 MB, free: 11.26 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.105, allocations: 0 / 436.3 MB, free: 11.26 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.1051, allocations: 4 kB / 436.3 MB, free: 11.26 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.1051, allocations: 4 kB / 436.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001932/0.1053, allocations: 111.8 kB / 436.4 MB, free: 11.14 MB / 366.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.0007704/0.106, allocations: 0.6607 MB / 437 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.1062, allocations: 78.48 kB / 437.1 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.027e-05/0.1062, allocations: 32.84 kB / 437.2 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006788/0.1069, allocations: 0.8037 MB / 438 MB, free: 9.301 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.107, allocations: 38.55 kB / 438 MB, free: 9.254 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.107, allocations: 4 kB / 438 MB, free: 9.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003078/0.1073, allocations: 129.9 kB / 438.1 MB, free: 9.117 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.1073, allocations: 63.28 kB / 438.2 MB, free: 9.043 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.1074, allocations: 117.8 kB / 438.3 MB, free: 8.918 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.1074, allocations: 25.7 kB / 438.3 MB, free: 8.887 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7e-05/0.1075, allocations: 107.9 kB / 438.4 MB, free: 8.777 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.845e-05/0.1076, allocations: 43.62 kB / 438.5 MB, free: 8.734 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.046e-05/0.1076, allocations: 41.66 kB / 438.5 MB, free: 8.688 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1077, allocations: 322.8 kB / 438.8 MB, free: 8.363 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.354e-05/0.1078, allocations: 19.98 kB / 438.9 MB, free: 8.344 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.821e-05/0.1079, allocations: 75.53 kB / 438.9 MB, free: 8.254 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.108, allocations: 110.6 kB / 439 MB, free: 8.129 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.108, allocations: 0 / 439 MB, free: 8.129 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002256/0.1083, allocations: 136.4 kB / 439.2 MB, free: 7.992 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.1083, allocations: 8 kB / 439.2 MB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1083, allocations: 0 / 439.2 MB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.1083, allocations: 12.03 kB / 439.2 MB, free: 7.973 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.1084, allocations: 31.98 kB / 439.2 MB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.1084, allocations: 4 kB / 439.2 MB, free: 7.938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.899e-05/0.1085, allocations: 23.88 kB / 439.2 MB, free: 7.914 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.1085, allocations: 4 kB / 439.2 MB, free: 7.91 MB / 366.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 0.0001014/0.1086, allocations: 125.8 kB / 439.4 MB, free: 7.777 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.702e-05/0.1087, allocations: 7.953 kB / 439.4 MB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003127/0.109, allocations: 142.3 kB / 439.5 MB, free: 7.617 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.109, allocations: 4 kB / 439.5 MB, free: 7.613 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.109, allocations: 0 / 439.5 MB, free: 7.613 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.109, allocations: 0 / 439.5 MB, free: 7.613 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004819/0.1095, allocations: 394.4 kB / 439.9 MB, free: 7.172 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1095, allocations: 0 / 439.9 MB, free: 7.172 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.336e-05/0.1096, allocations: 31.92 kB / 439.9 MB, free: 7.141 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.1096, allocations: 0 / 439.9 MB, free: 7.141 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.1096, allocations: 0 / 439.9 MB, free: 7.141 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1096, allocations: 4 kB / 439.9 MB, free: 7.137 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1096, allocations: 4 kB / 439.9 MB, free: 7.133 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002185/0.1098, allocations: 199.4 kB / 440.1 MB, free: 6.922 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.959e-05/0.1099, allocations: 101 kB / 440.2 MB, free: 6.805 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.1099, allocations: 3.984 kB / 440.2 MB, free: 6.801 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.11, allocations: 3.984 kB / 440.2 MB, free: 6.797 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.379e-05/0.11, allocations: 11.98 kB / 440.3 MB, free: 6.785 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.11, allocations: 8 kB / 440.3 MB, free: 6.777 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.404e-05/0.1101, allocations: 99.2 kB / 440.4 MB, free: 6.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1101, allocations: 0 / 440.4 MB, free: 6.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003625/0.1105, allocations: 59.88 kB / 440.4 MB, free: 6.621 MB / 366.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.0002736/0.1107, allocations: 163 kB / 440.6 MB, free: 6.453 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002088/0.1109, allocations: 83.52 kB / 440.7 MB, free: 6.375 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1109, allocations: 0 / 440.7 MB, free: 6.375 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.972e-05/0.111, allocations: 39.92 kB / 440.7 MB, free: 6.336 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004384/0.1114, allocations: 48.2 kB / 440.7 MB, free: 6.289 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004163/0.1119, allocations: 231.3 kB / 441 MB, free: 6.039 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.1122, allocations: 0.6928 MB / 441.7 MB, free: 5.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.1123, allocations: 37.02 kB / 441.7 MB, free: 5.285 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.507e-05/0.1124, allocations: 19.44 kB / 441.7 MB, free: 5.266 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1124, allocations: 0 / 441.7 MB, free: 5.266 MB / 366.1 MB Notification: Performance of Templates: time 0.006117/0.1185, allocations: 2.494 MB / 444.2 MB, free: 2.793 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.641958236694336]