Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.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.00136/0.00136, allocations: 79.73 kB / 21.97 MB, free: 2.598 MB / 18.57 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.0009559/0.0009559, allocations: 170.3 kB / 25.33 MB, free: 9.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8117/0.8117, allocations: 158.6 MB / 187.2 MB, free: 2.531 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Examples.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium2.T|medium2.X.[0-9,]+.|medium2.p|state.T|state.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas") translateModel(Modelica.Media.Examples.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium2.T|medium2.X.[0-9,]+.|medium2.p|state.T|state.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 251 MB, free: 3.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/2.03e-05, allocations: 2.312 kB / 251 MB, free: 3.594 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.2148/0.2149, allocations: 144 MB / 395 MB, free: 8.062 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002134/0.217, allocations: 2.133 MB / 397.1 MB, free: 5.941 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.056e-05/0.217, allocations: 3.938 kB / 397.1 MB, free: 5.938 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003423/0.2174, allocations: 47.67 kB / 397.2 MB, free: 5.891 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001238/0.2186, allocations: 0.6496 MB / 397.8 MB, free: 5.238 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.2189, allocations: 103.7 kB / 397.9 MB, free: 5.137 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002863/0.2192, allocations: 262.9 kB / 398.2 MB, free: 4.879 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.593e-05/0.2192, allocations: 4 kB / 398.2 MB, free: 4.875 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000263/0.2195, allocations: 167.5 kB / 398.4 MB, free: 4.711 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.2196, allocations: 87.73 kB / 398.4 MB, free: 4.625 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.641e-05/0.2196, allocations: 11.94 kB / 398.5 MB, free: 4.613 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001305/0.2209, allocations: 0.7517 MB / 399.2 MB, free: 3.859 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.424e-05/0.221, allocations: 87.78 kB / 399.3 MB, free: 3.773 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.856e-05/0.2211, allocations: 79.83 kB / 399.4 MB, free: 3.695 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008425/0.222, allocations: 0.6662 MB / 400 MB, free: 3.027 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.222, allocations: 0 / 400 MB, free: 3.027 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.222, allocations: 0 / 400 MB, free: 3.027 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.222, allocations: 0 / 400 MB, free: 3.027 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0006443/0.2226, allocations: 0.5315 MB / 400.6 MB, free: 2.461 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.2227, allocations: 15.98 kB / 400.6 MB, free: 2.445 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001547/0.2242, allocations: 332.2 kB / 400.9 MB, free: 2.121 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003021/0.2245, allocations: 216.4 kB / 401.1 MB, free: 1.883 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.2245, allocations: 16.7 kB / 401.1 MB, free: 1.867 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.23e-05/0.2246, allocations: 24.36 kB / 401.2 MB, free: 1.844 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005835/0.2252, allocations: 0.4965 MB / 401.7 MB, free: 1.301 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.2252, allocations: 3.938 kB / 401.7 MB, free: 1.297 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.03e-05/0.2252, allocations: 8 kB / 401.7 MB, free: 1.289 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.533e-05/0.2253, allocations: 7.984 kB / 401.7 MB, free: 1.281 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005173/0.2258, allocations: 303.7 kB / 402 MB, free: 0.9844 MB / 330.7 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.001505/0.2273, allocations: 0.9053 MB / 402.9 MB, free: 40 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002856/0.2276, allocations: 170.1 kB / 403 MB, free: 15.85 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.2277, allocations: 111.5 kB / 403.2 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004237/0.2282, allocations: 123.9 kB / 403.3 MB, free: 15.61 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.2282, allocations: 45.66 kB / 403.3 MB, free: 15.55 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 1.864e-06/0.2282, allocations: 0 / 403.3 MB, free: 15.55 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.001289/0.2295, allocations: 457.8 kB / 403.8 MB, free: 15.1 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.2295, allocations: 81.11 kB / 403.8 MB, free: 15 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.2296, allocations: 189.9 kB / 404 MB, free: 14.8 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.578e-05/0.2297, allocations: 37.7 kB / 404.1 MB, free: 14.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.689e-05/0.2297, allocations: 159.3 kB / 404.2 MB, free: 14.59 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.101e-05/0.2298, allocations: 111 kB / 404.3 MB, free: 14.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.2299, allocations: 79.3 kB / 404.4 MB, free: 14.4 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.23, allocations: 0.4962 MB / 404.9 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.2302, allocations: 99.95 kB / 405 MB, free: 13.79 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/0.2305, allocations: 251 kB / 405.3 MB, free: 13.48 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006738/0.2311, allocations: 375 kB / 405.6 MB, free: 13.05 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.2311, allocations: 0 / 405.6 MB, free: 13.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006118/0.2317, allocations: 382.3 kB / 406 MB, free: 12.68 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.2318, allocations: 8.625 kB / 406 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.2318, allocations: 0 / 406 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.2318, allocations: 11.94 kB / 406 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003471/0.2321, allocations: 84.23 kB / 406.1 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.2321, allocations: 8 kB / 406.1 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/0.2324, allocations: 35.83 kB / 406.1 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.201e-05/0.2324, allocations: 15.98 kB / 406.2 MB, free: 12.52 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (41): * Single equations (assignments): 41 * 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.0001248/0.2325, allocations: 180.5 kB / 406.3 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.2327, allocations: 31.84 kB / 406.4 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005955/0.2333, allocations: 373.1 kB / 406.7 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.2333, allocations: 7.938 kB / 406.7 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2333, allocations: 0 / 406.7 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.942e-06/0.2333, allocations: 3.984 kB / 406.7 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005075/0.2338, allocations: 318.2 kB / 407 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.2338, allocations: 0.875 kB / 407 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003151/0.2341, allocations: 59.91 kB / 407.1 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.2341, allocations: 4 kB / 407.1 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.579e-05/0.2341, allocations: 11.98 kB / 407.1 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.2341, allocations: 0 / 407.1 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.2341, allocations: 3.938 kB / 407.1 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007294/0.2349, allocations: 0.6613 MB / 407.8 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.184e-05/0.2349, allocations: 19.84 kB / 407.8 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.2349, allocations: 11.98 kB / 407.8 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002892/0.2352, allocations: 19.92 kB / 407.8 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.2353, allocations: 23.97 kB / 407.9 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.533e-05/0.2353, allocations: 11.98 kB / 407.9 MB, free: 10.73 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.655e-05/0.2354, allocations: 140.6 kB / 408 MB, free: 10.59 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2354, allocations: 0 / 408 MB, free: 10.59 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005498/0.2359, allocations: 163.6 kB / 408.2 MB, free: 10.43 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4],state.p,state.T) * 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 (28): * Single equations (assignments): 28 * 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.000648/0.2366, allocations: 342.6 kB / 408.5 MB, free: 10.09 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000461/0.237, allocations: 292.1 kB / 408.8 MB, free: 9.801 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.237, allocations: 4.062 kB / 408.8 MB, free: 9.797 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002085/0.2372, allocations: 159.5 kB / 408.9 MB, free: 9.637 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005873/0.2378, allocations: 96.75 kB / 409 MB, free: 9.547 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.2391, allocations: 0.6774 MB / 409.7 MB, free: 8.832 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.317e-05/0.2392, allocations: 84.64 kB / 409.8 MB, free: 8.73 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000354/0.2395, allocations: 97.77 kB / 409.9 MB, free: 8.637 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.2397, allocations: 36.48 kB / 409.9 MB, free: 8.602 MB / 346.7 MB Notification: Performance of SimCode: time 6.51e-07/0.2397, allocations: 0 / 409.9 MB, free: 8.602 MB / 346.7 MB Notification: Performance of Templates: time 0.01058/0.2503, allocations: 9.703 MB / 419.6 MB, free: 14.92 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/FlueGas/FlueGas.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0106245670467615]