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.001974/0.001974, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002421/0.002421, allocations: 214.6 kB / 23.73 MB, free: 4.164 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.478/1.478, allocations: 230.5 MB / 257.4 MB, free: 7.793 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.002062/0.002062, allocations: 63.89 kB / 378.2 MB, free: 2.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2222, allocations: 53.41 MB / 431.6 MB, free: 6.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007183/0.2293, allocations: 4.636 MB / 436.3 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009069/0.2303, allocations: 0.5687 MB / 436.8 MB, free: 1.301 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.268e-05/0.2303, allocations: 3.938 kB / 436.8 MB, free: 1.297 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002152/0.2305, allocations: 31.83 kB / 436.9 MB, free: 1.266 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001481/0.232, allocations: 0.6034 MB / 437.5 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.2322, allocations: 103.3 kB / 437.6 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002594/0.2325, allocations: 183.3 kB / 437.7 MB, free: 392 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.496e-05/0.2325, allocations: 7.984 kB / 437.7 MB, free: 384 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001118/0.2337, allocations: 0.6275 MB / 438.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.183e-05/0.2338, allocations: 47.77 kB / 438.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.2338, allocations: 8 kB / 438.4 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001473/0.2353, allocations: 0.9063 MB / 439.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.645e-05/0.2353, allocations: 15.92 kB / 439.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.072e-05/0.2354, allocations: 43.84 kB / 439.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004226/0.2358, allocations: 247 kB / 439.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2358, allocations: 7.938 kB / 439.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2358, allocations: 3.938 kB / 439.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.2358, allocations: 0 / 439.6 MB, free: 14.48 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.0005384/0.2363, allocations: 341.7 kB / 440 MB, free: 14.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.2364, allocations: 23.91 kB / 440 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003993/0.2368, allocations: 28.88 kB / 440 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.237, allocations: 134.5 kB / 440.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.237, allocations: 12.36 kB / 440.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.2371, allocations: 7.938 kB / 440.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003112/0.2374, allocations: 224.8 kB / 440.4 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.2374, allocations: 0 / 440.4 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/0.2374, allocations: 7.984 kB / 440.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.2374, allocations: 4 kB / 440.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001946/0.2376, allocations: 103.9 kB / 440.5 MB, free: 13.52 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.0007216/0.2383, allocations: 0.5399 MB / 441.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.2385, allocations: 82.42 kB / 441.1 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.593e-05/0.2385, allocations: 36.84 kB / 441.2 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002637/0.2388, allocations: 59.95 kB / 441.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.2388, allocations: 34.56 kB / 441.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/0.2388, allocations: 0 / 441.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.000306/0.2392, allocations: 136.8 kB / 441.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.2392, allocations: 55.41 kB / 441.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.2393, allocations: 121.7 kB / 441.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.2393, allocations: 29.7 kB / 441.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.021e-05/0.2394, allocations: 100 kB / 441.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.922e-05/0.2395, allocations: 47.58 kB / 441.7 MB, free: 12.19 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.088e-05/0.2395, allocations: 41.66 kB / 441.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.2397, allocations: 314.8 kB / 442.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.569e-05/0.2397, allocations: 31.98 kB / 442.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.891e-05/0.2398, allocations: 65.52 kB / 442.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.24, allocations: 105 kB / 442.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.24, allocations: 0 / 442.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000243/0.2402, allocations: 149.6 kB / 442.4 MB, free: 11.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.2402, allocations: 7.938 kB / 442.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2402, allocations: 0 / 442.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.2402, allocations: 4 kB / 442.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.2404, allocations: 27.98 kB / 442.5 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.2404, allocations: 7.938 kB / 442.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.898e-05/0.2404, allocations: 23.83 kB / 442.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.2405, allocations: 4 kB / 442.5 MB, free: 11.37 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.0001049/0.2406, allocations: 125.8 kB / 442.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.119e-05/0.2406, allocations: 11.95 kB / 442.6 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002952/0.2409, allocations: 145.1 kB / 442.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.2409, allocations: 7.938 kB / 442.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2409, allocations: 0 / 442.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2409, allocations: 0 / 442.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000446/0.2414, allocations: 322.1 kB / 443.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2414, allocations: 0 / 443.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.903e-05/0.2414, allocations: 31.92 kB / 443.1 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.2414, allocations: 3.938 kB / 443.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.2415, allocations: 0 / 443.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2415, allocations: 4 kB / 443.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.2415, allocations: 4 kB / 443.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.2417, allocations: 199.5 kB / 443.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.972e-05/0.2417, allocations: 19.94 kB / 443.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.2418, allocations: 3.938 kB / 443.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.969e-05/0.2419, allocations: 3.984 kB / 443.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.387e-05/0.2419, allocations: 11.98 kB / 443.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.2419, allocations: 8 kB / 443.4 MB, free: 10.42 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.529e-05/0.242, allocations: 95.2 kB / 443.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.242, allocations: 0 / 443.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003417/0.2423, allocations: 67.81 kB / 443.6 MB, free: 10.26 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.0002702/0.2426, allocations: 163.3 kB / 443.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001885/0.2428, allocations: 80.08 kB / 443.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2428, allocations: 0 / 443.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.28e-05/0.2428, allocations: 43.86 kB / 443.8 MB, free: 9.969 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004227/0.2432, allocations: 39.95 kB / 443.9 MB, free: 9.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004521/0.2437, allocations: 248 kB / 444.1 MB, free: 9.664 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.268e-05/0.2438, allocations: 75.77 kB / 444.2 MB, free: 9.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001265/0.2439, allocations: 32.89 kB / 444.2 MB, free: 9.539 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.798e-05/0.244, allocations: 19.44 kB / 444.2 MB, free: 9.52 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.244, allocations: 0 / 444.2 MB, free: 9.52 MB / 350.1 MB Notification: Performance of Templates: time 0.00626/0.2502, allocations: 2.616 MB / 446.9 MB, free: 6.945 MB / 350.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.481281824409962]