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.001339/0.001339, allocations: 106.8 kB / 21.19 MB, free: 0.6406 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.001447/0.001447, allocations: 213.3 kB / 24.49 MB, free: 3.934 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.471/1.471, allocations: 230.6 MB / 258.3 MB, free: 7.746 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+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.001575/0.001575, allocations: 51.92 kB / 379 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2216, allocations: 53.37 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007425/0.229, allocations: 4.624 MB / 437 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009484/0.23, allocations: 0.5804 MB / 437.5 MB, free: 1.488 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.392e-05/0.23, allocations: 3.938 kB / 437.5 MB, free: 1.484 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002374/0.2302, allocations: 19.84 kB / 437.6 MB, free: 1.465 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001545/0.2318, allocations: 0.619 MB / 438.2 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002298/0.232, allocations: 91.06 kB / 438.3 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00026/0.2323, allocations: 187.3 kB / 438.4 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.532e-05/0.2323, allocations: 7.938 kB / 438.5 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001122/0.2334, allocations: 0.6342 MB / 439.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.535e-05/0.2335, allocations: 51.83 kB / 439.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.2335, allocations: 4 kB / 439.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001472/0.235, allocations: 0.9087 MB / 440.1 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.776e-05/0.2351, allocations: 19.92 kB / 440.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.252e-05/0.2351, allocations: 43.84 kB / 440.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004258/0.2355, allocations: 246.9 kB / 440.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2355, allocations: 4 kB / 440.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2355, allocations: 0 / 440.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.2356, allocations: 0 / 440.4 MB, free: 14.66 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.0005124/0.2361, allocations: 345.6 kB / 440.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.2361, allocations: 8.031 kB / 440.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004186/0.2365, allocations: 40.86 kB / 440.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.2368, allocations: 134.5 kB / 440.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.407e-06/0.2368, allocations: 4.375 kB / 440.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.2368, allocations: 11.94 kB / 440.9 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003151/0.2371, allocations: 224.6 kB / 441.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.2371, allocations: 0 / 441.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.2372, allocations: 3.984 kB / 441.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.2372, allocations: 4 kB / 441.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001919/0.2374, allocations: 111.8 kB / 441.2 MB, free: 13.71 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.0007314/0.2381, allocations: 0.5477 MB / 441.8 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.2383, allocations: 74.55 kB / 441.8 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.557e-05/0.2383, allocations: 36.84 kB / 441.9 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003071/0.2386, allocations: 59.94 kB / 441.9 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.2387, allocations: 34.56 kB / 442 MB, free: 12.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.2387, allocations: 0 / 442 MB, free: 12.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003334/0.239, allocations: 125.8 kB / 442.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.239, allocations: 59.41 kB / 442.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.2392, allocations: 129.6 kB / 442.3 MB, free: 12.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.2392, allocations: 33.7 kB / 442.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.972e-05/0.2393, allocations: 92.05 kB / 442.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.575e-05/0.2393, allocations: 55.52 kB / 442.5 MB, free: 12.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.809e-05/0.2394, allocations: 33.7 kB / 442.5 MB, free: 12.33 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.2395, allocations: 322.8 kB / 442.8 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.883e-05/0.2396, allocations: 27.98 kB / 442.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.834e-05/0.2397, allocations: 65.14 kB / 442.9 MB, free: 11.9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.2398, allocations: 111.9 kB / 443 MB, free: 11.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2398, allocations: 0 / 443 MB, free: 11.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000231/0.2401, allocations: 137.5 kB / 443.1 MB, free: 11.63 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.2401, allocations: 14.75 kB / 443.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.2401, allocations: 0 / 443.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.2401, allocations: 4 kB / 443.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.2402, allocations: 31.98 kB / 443.2 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.2402, allocations: 7.938 kB / 443.2 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.247e-05/0.2403, allocations: 19.98 kB / 443.2 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/0.2403, allocations: 8 kB / 443.2 MB, free: 11.55 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 9.567e-05/0.2404, allocations: 113.8 kB / 443.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.101e-05/0.2405, allocations: 15.94 kB / 443.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000315/0.2408, allocations: 134.3 kB / 443.5 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.2408, allocations: 3.984 kB / 443.5 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.2408, allocations: 7.922 kB / 443.5 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.306e-05/0.2408, allocations: 23.88 kB / 443.5 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.2409, allocations: 8 kB / 443.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.241, allocations: 0 / 443.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.39e-05/0.241, allocations: 7.984 kB / 443.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000224/0.2412, allocations: 180.9 kB / 443.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002628/0.2415, allocations: 288.8 kB / 444 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.415e-05/0.2416, allocations: 27.98 kB / 444 MB, free: 10.72 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.833e-05/0.2416, allocations: 91.27 kB / 444.1 MB, free: 10.63 MB / 350.1 MB Notification: Performance of Backend: time 1.9e-07/0.2416, allocations: 288 / 444.1 MB, free: 10.63 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006741/0.2423, allocations: 237.9 kB / 444.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of SimCode: time 0.0006755/0.243, allocations: 0.6846 MB / 445 MB, free: 9.656 MB / 350.1 MB Notification: Performance of Templates: time 0.006884/0.2498, allocations: 3.044 MB / 448.1 MB, free: 6.641 MB / 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 -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.426005463006732]