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.001656/0.001656, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 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.001793/0.001793, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 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 1.388/1.388, allocations: 225.6 MB / 250.8 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001454/0.001454, allocations: 51.92 kB / 368.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2238, allocations: 52.14 MB / 420.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.00715/0.231, allocations: 4.922 MB / 425.8 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000941/0.2319, allocations: 0.6231 MB / 426.4 MB, free: 9.676 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.155e-05/0.232, allocations: 3.938 kB / 426.4 MB, free: 9.672 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002158/0.2322, allocations: 31.83 kB / 426.4 MB, free: 9.641 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001403/0.2336, allocations: 0.5839 MB / 427 MB, free: 9.055 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000264/0.2339, allocations: 91.86 kB / 427.1 MB, free: 8.965 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002622/0.2341, allocations: 175.2 kB / 427.3 MB, free: 8.793 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.221e-05/0.2342, allocations: 11.97 kB / 427.3 MB, free: 8.781 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001082/0.2352, allocations: 0.612 MB / 427.9 MB, free: 8.168 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.581e-05/0.2353, allocations: 55.77 kB / 427.9 MB, free: 8.113 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.2353, allocations: 8 kB / 428 MB, free: 8.105 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.2367, allocations: 0.8672 MB / 428.8 MB, free: 7.238 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.697e-05/0.2367, allocations: 15.98 kB / 428.8 MB, free: 7.223 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.329e-05/0.2368, allocations: 55.72 kB / 428.9 MB, free: 7.168 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004011/0.2372, allocations: 239.3 kB / 429.1 MB, free: 6.934 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2372, allocations: 0 / 429.1 MB, free: 6.934 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.2372, allocations: 0 / 429.1 MB, free: 6.934 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.2372, allocations: 0 / 429.1 MB, free: 6.934 MB / 334.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.0005473/0.2378, allocations: 426.7 kB / 429.5 MB, free: 6.469 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.2378, allocations: 8.031 kB / 429.6 MB, free: 6.461 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004004/0.2382, allocations: 32.86 kB / 429.6 MB, free: 6.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.2385, allocations: 200.2 kB / 429.8 MB, free: 6.195 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.2385, allocations: 12.38 kB / 429.8 MB, free: 6.184 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.2385, allocations: 11.94 kB / 429.8 MB, free: 6.172 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/0.2388, allocations: 129.1 kB / 429.9 MB, free: 6.027 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.2388, allocations: 0 / 429.9 MB, free: 6.027 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.889e-05/0.2388, allocations: 4 kB / 429.9 MB, free: 6.023 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.2388, allocations: 4 kB / 429.9 MB, free: 6.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001924/0.239, allocations: 107.8 kB / 430 MB, free: 5.914 MB / 334.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.0007701/0.2398, allocations: 0.6761 MB / 430.7 MB, free: 5.164 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.2399, allocations: 82.42 kB / 430.8 MB, free: 5.074 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.004e-05/0.24, allocations: 32.84 kB / 430.8 MB, free: 5.039 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007003/0.2407, allocations: 0.8038 MB / 431.6 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.2407, allocations: 42.55 kB / 431.7 MB, free: 4 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.2407, allocations: 0 / 431.7 MB, free: 4 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003078/0.241, allocations: 128.7 kB / 431.8 MB, free: 3.871 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.2411, allocations: 55.34 kB / 431.9 MB, free: 3.805 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.2412, allocations: 117.8 kB / 432 MB, free: 3.68 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.2412, allocations: 29.7 kB / 432 MB, free: 3.645 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.246e-05/0.2413, allocations: 111.9 kB / 432.1 MB, free: 3.531 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.609e-05/0.2413, allocations: 43.64 kB / 432.2 MB, free: 3.488 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.615e-05/0.2414, allocations: 33.7 kB / 432.2 MB, free: 3.449 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.2415, allocations: 318.8 kB / 432.5 MB, free: 3.129 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.501e-05/0.2416, allocations: 23.98 kB / 432.5 MB, free: 3.105 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.126e-05/0.2416, allocations: 73.06 kB / 432.6 MB, free: 3.016 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.2418, allocations: 105.1 kB / 432.7 MB, free: 2.895 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2418, allocations: 0 / 432.7 MB, free: 2.895 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002416/0.2421, allocations: 140.4 kB / 432.8 MB, free: 2.754 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.2421, allocations: 8 kB / 432.8 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.2421, allocations: 0 / 432.8 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.2421, allocations: 7.938 kB / 432.8 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.2422, allocations: 39.91 kB / 432.9 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.2422, allocations: 7.938 kB / 432.9 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.807e-05/0.2423, allocations: 11.89 kB / 432.9 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.2423, allocations: 8 kB / 432.9 MB, free: 2.672 MB / 334.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 9.912e-05/0.2424, allocations: 121.9 kB / 433 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.636e-05/0.2424, allocations: 11.95 kB / 433 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003095/0.2428, allocations: 146.2 kB / 433.2 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.2428, allocations: 4 kB / 433.2 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.2428, allocations: 0 / 433.2 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2428, allocations: 0 / 433.2 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004767/0.2432, allocations: 394.4 kB / 433.6 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2432, allocations: 0 / 433.6 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.888e-05/0.2433, allocations: 27.98 kB / 433.6 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2433, allocations: 0 / 433.6 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.2433, allocations: 4 kB / 433.6 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.2434, allocations: 4 kB / 433.6 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.2434, allocations: 4 kB / 433.6 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002176/0.2436, allocations: 207.3 kB / 433.8 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.163e-05/0.2437, allocations: 105 kB / 433.9 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.2437, allocations: 4 kB / 433.9 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.557e-05/0.2438, allocations: 4 kB / 433.9 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.425e-05/0.2438, allocations: 7.984 kB / 433.9 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/0.2438, allocations: 12 kB / 433.9 MB, free: 1.527 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.962e-05/0.2439, allocations: 91.27 kB / 434 MB, free: 1.438 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2439, allocations: 0 / 434 MB, free: 1.438 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003314/0.2442, allocations: 55.88 kB / 434.1 MB, free: 1.383 MB / 334.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.000269/0.2445, allocations: 159.8 kB / 434.2 MB, free: 1.219 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001959/0.2447, allocations: 85.83 kB / 434.3 MB, free: 1.137 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2447, allocations: 0 / 434.3 MB, free: 1.137 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.741e-05/0.2447, allocations: 35.98 kB / 434.4 MB, free: 1.102 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.2451, allocations: 40.2 kB / 434.4 MB, free: 1.062 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004531/0.2456, allocations: 235.6 kB / 434.6 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.2459, allocations: 0.6967 MB / 435.3 MB, free: 84 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001174/0.246, allocations: 36.73 kB / 435.4 MB, free: 48 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.267e-05/0.2461, allocations: 15.44 kB / 435.4 MB, free: 32 kB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2461, allocations: 0 / 435.4 MB, free: 32 kB / 334.1 MB Notification: Performance of Templates: time 0.005817/0.2519, allocations: 2.445 MB / 437.8 MB, free: 13.61 MB / 350.1 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.450185981579125]