Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.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.0008869/0.0008869, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0008443/0.0008443, allocations: 173.9 kB / 23.96 MB, free: 0.5977 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.8739/0.8739, allocations: 158.6 MB / 185.7 MB, free: 3.023 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1209/0.1209, allocations: 32.38 MB / 270.4 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas") translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 408.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.543e-05/1.7e-05, allocations: 5.656 kB / 408.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.2584/0.2584, allocations: 129.9 MB / 0.5254 GB, free: 5.984 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.2599, allocations: 1.881 MB / 0.5272 GB, free: 4.113 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.411e-05/0.2599, allocations: 3.938 kB / 0.5272 GB, free: 4.109 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003326/0.2603, allocations: 55.11 kB / 0.5273 GB, free: 4.059 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008838/0.2611, allocations: 0.6411 MB / 0.5279 GB, free: 3.414 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.2613, allocations: 99.72 kB / 0.528 GB, free: 3.316 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002384/0.2616, allocations: 270.9 kB / 0.5282 GB, free: 3.051 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.358e-05/0.2616, allocations: 7.938 kB / 0.5282 GB, free: 3.043 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000218/0.2618, allocations: 159.5 kB / 0.5284 GB, free: 2.887 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.262, allocations: 95.73 kB / 0.5285 GB, free: 2.793 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.262, allocations: 8 kB / 0.5285 GB, free: 2.785 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001024/0.263, allocations: 0.7477 MB / 0.5292 GB, free: 2.035 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7.399e-05/0.2631, allocations: 87.77 kB / 0.5293 GB, free: 1.949 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 6.128e-05/0.2632, allocations: 71.89 kB / 0.5294 GB, free: 1.879 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006222/0.2638, allocations: 0.7053 MB / 0.5301 GB, free: 1.172 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2638, allocations: 0 / 0.5301 GB, free: 1.172 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2638, allocations: 0 / 0.5301 GB, free: 1.172 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.2638, allocations: 0 / 0.5301 GB, free: 1.172 MB / 426.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.0005728/0.2644, allocations: 437.5 kB / 0.5305 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.2644, allocations: 8.031 kB / 0.5305 GB, free: 0.707 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/0.2654, allocations: 277.1 kB / 0.5308 GB, free: 452 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.2657, allocations: 221.5 kB / 0.531 GB, free: 204 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.2657, allocations: 14.3 kB / 0.531 GB, free: 192 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.117e-05/0.2657, allocations: 24.31 kB / 0.531 GB, free: 168 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005379/0.2663, allocations: 0.6479 MB / 0.5316 GB, free: 15.47 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.2663, allocations: 7.922 kB / 0.5316 GB, free: 15.46 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.144e-05/0.2663, allocations: 8 kB / 0.5317 GB, free: 15.45 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.904e-05/0.2663, allocations: 8 kB / 0.5317 GB, free: 15.45 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005281/0.2669, allocations: 0.5816 MB / 0.5322 GB, free: 14.86 MB / 442.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.001226/0.2681, allocations: 0.9114 MB / 0.5331 GB, free: 13.92 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002529/0.2683, allocations: 237.1 kB / 0.5333 GB, free: 13.67 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.2685, allocations: 181.6 kB / 0.5335 GB, free: 13.48 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000343/0.2688, allocations: 123.9 kB / 0.5336 GB, free: 13.36 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.2689, allocations: 38.56 kB / 0.5337 GB, free: 13.32 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 1.342e-06/0.2689, allocations: 0 / 0.5337 GB, free: 13.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=28): time 0.001052/0.2699, allocations: 0.6045 MB / 0.5343 GB, free: 12.71 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.2699, allocations: 81.11 kB / 0.5343 GB, free: 12.61 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.679e-05/0.27, allocations: 125.8 kB / 0.5345 GB, free: 12.48 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.2701, allocations: 37.7 kB / 0.5345 GB, free: 12.43 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.212e-05/0.2701, allocations: 120.6 kB / 0.5346 GB, free: 12.31 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.896e-05/0.2702, allocations: 107.1 kB / 0.5347 GB, free: 12.21 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.54e-05/0.2703, allocations: 65.48 kB / 0.5348 GB, free: 12.14 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.971e-05/0.2703, allocations: 330.8 kB / 0.5351 GB, free: 11.8 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.2705, allocations: 183.9 kB / 0.5353 GB, free: 11.62 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/0.2708, allocations: 288.7 kB / 0.5355 GB, free: 11.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004487/0.2712, allocations: 488 kB / 0.536 GB, free: 10.78 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.2712, allocations: 8 kB / 0.536 GB, free: 10.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007983/0.272, allocations: 0.5194 MB / 0.5365 GB, free: 10.25 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.272, allocations: 7.062 kB / 0.5365 GB, free: 10.24 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.272, allocations: 8 kB / 0.5365 GB, free: 10.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.272, allocations: 11.94 kB / 0.5365 GB, free: 10.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/0.2723, allocations: 79.89 kB / 0.5366 GB, free: 10.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.2723, allocations: 15.86 kB / 0.5366 GB, free: 10.13 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.2725, allocations: 35.77 kB / 0.5367 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.052e-05/0.2725, allocations: 20 kB / 0.5367 GB, free: 10.07 MB / 442.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 9.671e-05/0.2726, allocations: 141.7 kB / 0.5368 GB, free: 9.926 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.384e-05/0.2726, allocations: 15.91 kB / 0.5368 GB, free: 9.91 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005376/0.2732, allocations: 495.9 kB / 0.5373 GB, free: 9.422 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.2732, allocations: 3.938 kB / 0.5373 GB, free: 9.418 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.2732, allocations: 11.94 kB / 0.5373 GB, free: 9.406 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.2732, allocations: 3.984 kB / 0.5373 GB, free: 9.402 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003823/0.2736, allocations: 349.6 kB / 0.5377 GB, free: 9.035 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2736, allocations: 0 / 0.5377 GB, free: 9.035 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002222/0.2738, allocations: 59.89 kB / 0.5377 GB, free: 8.977 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.2738, allocations: 0 / 0.5377 GB, free: 8.977 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.2738, allocations: 15.98 kB / 0.5377 GB, free: 8.961 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.2738, allocations: 4 kB / 0.5377 GB, free: 8.957 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2738, allocations: 3.938 kB / 0.5377 GB, free: 8.953 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006565/0.2745, allocations: 0.6895 MB / 0.5384 GB, free: 8.25 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.595e-05/0.2745, allocations: 11.89 kB / 0.5384 GB, free: 8.238 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/0.2745, allocations: 8 kB / 0.5384 GB, free: 8.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.2747, allocations: 23.91 kB / 0.5385 GB, free: 8.207 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.139e-05/0.2748, allocations: 19.97 kB / 0.5385 GB, free: 8.188 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-05/0.2748, allocations: 19.98 kB / 0.5385 GB, free: 8.168 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.874e-05/0.2748, allocations: 99.25 kB / 0.5386 GB, free: 8.07 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2748, allocations: 0 / 0.5386 GB, free: 8.07 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003707/0.2752, allocations: 163.6 kB / 0.5388 GB, free: 7.91 MB / 442.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.0005129/0.2757, allocations: 346.8 kB / 0.5391 GB, free: 7.562 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004893/0.2762, allocations: 423 kB / 0.5395 GB, free: 7.152 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2762, allocations: 4 kB / 0.5395 GB, free: 7.148 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.2764, allocations: 203.8 kB / 0.5397 GB, free: 6.949 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/0.2768, allocations: 98.2 kB / 0.5398 GB, free: 6.859 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008063/0.2776, allocations: 0.7276 MB / 0.5405 GB, free: 6.09 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.865e-05/0.2777, allocations: 123.6 kB / 0.5406 GB, free: 5.949 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.2779, allocations: 32.48 kB / 0.5406 GB, free: 5.918 MB / 442.7 MB Notification: Performance of SimCode: time 4.71e-07/0.2779, allocations: 4 kB / 0.5406 GB, free: 5.914 MB / 442.7 MB Notification: Performance of Templates: time 0.006213/0.2841, allocations: 6.893 MB / 0.5474 GB, free: 15.03 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.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: 5.154077748768032]