Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 73.02 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 159.7 kB / 24.5 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.465/1.465, allocations: 177.2 MB / 204.9 MB, free: 9 MB / 190.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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Media.Incompressible.Examples.TestGlycol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 49.89 kB / 325.6 MB, free: 484 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08487/0.08646, allocations: 53.34 MB / 378.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007055/0.09351, allocations: 4.638 MB / 383.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008965/0.09441, allocations: 0.5687 MB / 384.1 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.752e-05/0.09446, allocations: 0 / 384.1 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002057/0.09466, allocations: 23.84 kB / 384.1 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001423/0.09609, allocations: 0.6112 MB / 384.7 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002317/0.09632, allocations: 99.17 kB / 384.8 MB, free: 9.852 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002644/0.09658, allocations: 187.3 kB / 385 MB, free: 9.668 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.463e-05/0.09662, allocations: 4 kB / 385 MB, free: 9.664 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001152/0.09777, allocations: 0.6313 MB / 385.6 MB, free: 9.031 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.311e-05/0.09786, allocations: 51.77 kB / 385.7 MB, free: 8.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.09788, allocations: 4 kB / 385.7 MB, free: 8.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001524/0.09941, allocations: 0.9047 MB / 386.6 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.06e-05/0.09946, allocations: 23.84 kB / 386.6 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.311e-05/0.09952, allocations: 43.86 kB / 386.7 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004232/0.09995, allocations: 243.3 kB / 386.9 MB, free: 7.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.09995, allocations: 4 kB / 386.9 MB, free: 7.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.09995, allocations: 0 / 386.9 MB, free: 7.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.09995, allocations: 0 / 386.9 MB, free: 7.762 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.000508/0.1005, allocations: 353.6 kB / 387.3 MB, free: 7.387 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.1005, allocations: 11.97 kB / 387.3 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004026/0.1009, allocations: 28.88 kB / 387.3 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.1011, allocations: 142.4 kB / 387.4 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.1011, allocations: 8.375 kB / 387.4 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.1012, allocations: 7.938 kB / 387.4 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000308/0.1015, allocations: 222.1 kB / 387.7 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.1015, allocations: 4 kB / 387.7 MB, free: 6.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.1015, allocations: 8 kB / 387.7 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1015, allocations: 3.984 kB / 387.7 MB, free: 6.898 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001822/0.1017, allocations: 103.9 kB / 387.8 MB, free: 6.797 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.0006919/0.1024, allocations: 0.5477 MB / 388.3 MB, free: 6.207 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.1025, allocations: 82.48 kB / 388.4 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.031e-05/0.1026, allocations: 32.84 kB / 388.4 MB, free: 6.082 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002534/0.1028, allocations: 56.2 kB / 388.5 MB, free: 6.027 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.1029, allocations: 34.56 kB / 388.5 MB, free: 5.984 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.213e-06/0.1029, allocations: 0 / 388.5 MB, free: 5.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002984/0.1032, allocations: 133.6 kB / 388.7 MB, free: 5.848 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.1032, allocations: 55.34 kB / 388.7 MB, free: 5.781 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.1033, allocations: 121.7 kB / 388.8 MB, free: 5.652 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.1034, allocations: 29.7 kB / 388.9 MB, free: 5.617 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.742e-05/0.1034, allocations: 99.97 kB / 389 MB, free: 5.516 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.264e-05/0.1035, allocations: 51.53 kB / 389 MB, free: 5.465 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.108e-05/0.1035, allocations: 34.09 kB / 389 MB, free: 5.426 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1037, allocations: 318.8 kB / 389.4 MB, free: 5.105 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.951e-05/0.1037, allocations: 23.98 kB / 389.4 MB, free: 5.082 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.932e-05/0.1038, allocations: 73.2 kB / 389.5 MB, free: 4.992 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.104, allocations: 117 kB / 389.6 MB, free: 4.859 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.104, allocations: 0 / 389.6 MB, free: 4.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002382/0.1042, allocations: 141.1 kB / 389.7 MB, free: 4.719 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.1042, allocations: 8.156 kB / 389.7 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.1042, allocations: 4 kB / 389.7 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.1042, allocations: 3.938 kB / 389.7 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.1044, allocations: 27.98 kB / 389.7 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.1044, allocations: 7.938 kB / 389.8 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.313e-05/0.1044, allocations: 19.83 kB / 389.8 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.1045, allocations: 11.98 kB / 389.8 MB, free: 4.637 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 0.0001035/0.1046, allocations: 122.4 kB / 389.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.8e-05/0.1046, allocations: 7.953 kB / 389.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002945/0.1049, allocations: 142 kB / 390.1 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1049, allocations: 3.938 kB / 390.1 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.1049, allocations: 0 / 390.1 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.1049, allocations: 3.984 kB / 390.1 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004476/0.1053, allocations: 338 kB / 390.4 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1054, allocations: 0 / 390.4 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.063e-05/0.1054, allocations: 27.92 kB / 390.4 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.1054, allocations: 3.938 kB / 390.4 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.1055, allocations: 0 / 390.4 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.1055, allocations: 8 kB / 390.4 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1055, allocations: 0 / 390.4 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002259/0.1057, allocations: 203.5 kB / 390.6 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.342e-05/0.1057, allocations: 15.94 kB / 390.6 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.1057, allocations: 3.938 kB / 390.6 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.1058, allocations: 11.98 kB / 390.7 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.999e-05/0.1059, allocations: 7.984 kB / 390.7 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.1059, allocations: 4 kB / 390.7 MB, free: 3.684 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.164e-05/0.1059, allocations: 91.27 kB / 390.8 MB, free: 3.594 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1059, allocations: 0 / 390.8 MB, free: 3.594 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000343/0.1063, allocations: 59.88 kB / 390.8 MB, free: 3.535 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.0002454/0.1065, allocations: 167.2 kB / 391 MB, free: 3.363 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001881/0.1067, allocations: 80.16 kB / 391.1 MB, free: 3.285 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1067, allocations: 4 kB / 391.1 MB, free: 3.281 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.017e-05/0.1068, allocations: 39.55 kB / 391.1 MB, free: 3.246 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.1072, allocations: 38.88 kB / 391.1 MB, free: 3.211 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004395/0.1076, allocations: 252.2 kB / 391.4 MB, free: 2.938 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.22e-05/0.1077, allocations: 75.83 kB / 391.5 MB, free: 2.844 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001195/0.1078, allocations: 32.89 kB / 391.5 MB, free: 2.812 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.201e-05/0.1079, allocations: 24.48 kB / 391.5 MB, free: 2.789 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1079, allocations: 0 / 391.5 MB, free: 2.789 MB / 350.1 MB Notification: Performance of Templates: time 0.006244/0.1141, allocations: 2.521 MB / 394 MB, free: 320 kB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.365268309949897]