Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0008883/0.0008883, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004708/0.004708, allocations: 162.4 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.8945/0.8945, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.275/0.275, allocations: 34.26 MB / 295.7 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(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_4.1.0_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_4.1.0_ModelicaTest.Media.TestOnly.FlueGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 443.4 MB, free: 1.18 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.193e-05/2.337e-05, allocations: 9.516 kB / 443.4 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.2806/0.2806, allocations: 131.6 MB / 0.5616 GB, free: 12.67 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.2822, allocations: 1.974 MB / 0.5635 GB, free: 10.69 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.626e-05/0.2823, allocations: 4 kB / 0.5635 GB, free: 10.69 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003477/0.2827, allocations: 51.67 kB / 0.5636 GB, free: 10.64 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009671/0.2836, allocations: 0.6488 MB / 0.5642 GB, free: 9.984 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002246/0.2838, allocations: 117.8 kB / 0.5643 GB, free: 9.871 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002484/0.2841, allocations: 266.9 kB / 0.5646 GB, free: 9.609 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.02e-05/0.2841, allocations: 2.922 kB / 0.5646 GB, free: 9.609 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002798/0.2844, allocations: 183.3 kB / 0.5648 GB, free: 9.43 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.2846, allocations: 83.77 kB / 0.5648 GB, free: 9.348 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.2846, allocations: 8 kB / 0.5648 GB, free: 9.34 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008525/0.2854, allocations: 0.775 MB / 0.5656 GB, free: 8.562 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 7.978e-05/0.2855, allocations: 87.77 kB / 0.5657 GB, free: 8.477 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 6.619e-05/0.2856, allocations: 79.83 kB / 0.5658 GB, free: 8.398 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006555/0.2862, allocations: 0.7053 MB / 0.5664 GB, free: 7.691 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2862, allocations: 3.938 kB / 0.5665 GB, free: 7.688 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2862, allocations: 0 / 0.5665 GB, free: 7.688 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.2862, allocations: 0 / 0.5665 GB, free: 7.688 MB / 474.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.0006078/0.2869, allocations: 446.2 kB / 0.5669 GB, free: 7.227 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.2869, allocations: 8.031 kB / 0.5669 GB, free: 7.219 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.2879, allocations: 282.9 kB / 0.5672 GB, free: 6.949 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.2882, allocations: 233.4 kB / 0.5674 GB, free: 6.695 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.2882, allocations: 12.7 kB / 0.5674 GB, free: 6.684 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.877e-05/0.2883, allocations: 24.12 kB / 0.5674 GB, free: 6.66 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000553/0.2888, allocations: 0.6357 MB / 0.568 GB, free: 5.977 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.2889, allocations: 0 / 0.568 GB, free: 5.977 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.611e-05/0.2889, allocations: 8 kB / 0.568 GB, free: 5.969 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/0.2889, allocations: 11.94 kB / 0.5681 GB, free: 5.957 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005323/0.2894, allocations: 0.5743 MB / 0.5686 GB, free: 5.383 MB / 474.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.001289/0.2907, allocations: 0.9103 MB / 0.5695 GB, free: 4.449 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.291, allocations: 234.6 kB / 0.5697 GB, free: 4.203 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.2912, allocations: 181.6 kB / 0.5699 GB, free: 4.02 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004453/0.2916, allocations: 155.8 kB / 0.57 GB, free: 3.867 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.2916, allocations: 38.5 kB / 0.5701 GB, free: 3.82 MB / 474.7 MB Notification: Performance of pre-optimization done (n=28): time 1.523e-06/0.2916, allocations: 3.938 kB / 0.5701 GB, free: 3.816 MB / 474.7 MB Notification: Performance of matching and sorting (n=28): time 0.001125/0.2928, allocations: 0.6023 MB / 0.5707 GB, free: 3.211 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.2928, allocations: 77.11 kB / 0.5708 GB, free: 3.117 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.338e-05/0.2929, allocations: 137.8 kB / 0.5709 GB, free: 2.973 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.2929, allocations: 29.7 kB / 0.5709 GB, free: 2.938 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.389e-05/0.293, allocations: 120.7 kB / 0.571 GB, free: 2.816 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.655e-05/0.293, allocations: 115 kB / 0.5711 GB, free: 2.703 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.311e-05/0.2931, allocations: 61.69 kB / 0.5712 GB, free: 2.637 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.896e-05/0.2932, allocations: 326.8 kB / 0.5715 GB, free: 2.309 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.2934, allocations: 183.9 kB / 0.5717 GB, free: 2.129 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002451/0.2937, allocations: 295.9 kB / 0.572 GB, free: 1.797 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004689/0.2941, allocations: 488.6 kB / 0.5724 GB, free: 1.273 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.2941, allocations: 1.75 kB / 0.5724 GB, free: 1.273 MB / 474.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005835/0.2947, allocations: 0.5205 MB / 0.5729 GB, free: 0.7461 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.2947, allocations: 11.94 kB / 0.5729 GB, free: 0.7344 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.2947, allocations: 4 kB / 0.573 GB, free: 0.7305 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.2947, allocations: 4.406 kB / 0.573 GB, free: 0.7266 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/0.295, allocations: 87.83 kB / 0.573 GB, free: 0.6406 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.295, allocations: 4 kB / 0.573 GB, free: 0.6367 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.2952, allocations: 33.23 kB / 0.5731 GB, free: 0.6055 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.554e-05/0.2952, allocations: 23.98 kB / 0.5731 GB, free: 0.582 MB / 474.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.0001113/0.2953, allocations: 147.2 kB / 0.5732 GB, free: 440 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.167e-05/0.2954, allocations: 23.84 kB / 0.5733 GB, free: 416 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005688/0.296, allocations: 488.6 kB / 0.5737 GB, free: 15.93 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.296, allocations: 4 kB / 0.5737 GB, free: 15.93 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.296, allocations: 0 / 0.5737 GB, free: 15.93 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.296, allocations: 3.188 kB / 0.5737 GB, free: 15.93 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004031/0.2964, allocations: 363.2 kB / 0.5741 GB, free: 15.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2964, allocations: 1.781 kB / 0.5741 GB, free: 15.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002212/0.2966, allocations: 59.89 kB / 0.5741 GB, free: 15.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2966, allocations: 0 / 0.5741 GB, free: 15.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/0.2966, allocations: 15.92 kB / 0.5742 GB, free: 15.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.2966, allocations: 4 kB / 0.5742 GB, free: 15.48 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2966, allocations: 0 / 0.5742 GB, free: 15.48 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006453/0.2973, allocations: 0.684 MB / 0.5748 GB, free: 14.78 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.22e-05/0.2973, allocations: 23.83 kB / 0.5749 GB, free: 14.76 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.102e-05/0.2973, allocations: 11.94 kB / 0.5749 GB, free: 14.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/0.2975, allocations: 19.97 kB / 0.5749 GB, free: 14.73 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.2976, allocations: 19.97 kB / 0.5749 GB, free: 14.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.55e-05/0.2976, allocations: 15.98 kB / 0.5749 GB, free: 14.69 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.22e-05/0.2976, allocations: 101.7 kB / 0.575 GB, free: 14.59 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2976, allocations: 0 / 0.575 GB, free: 14.59 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004956/0.2981, allocations: 167.6 kB / 0.5752 GB, free: 14.43 MB / 490.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.0005713/0.2987, allocations: 362.7 kB / 0.5755 GB, free: 14.06 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004928/0.2992, allocations: 411.6 kB / 0.5759 GB, free: 13.66 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2992, allocations: 0 / 0.5759 GB, free: 13.66 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001973/0.2994, allocations: 215.8 kB / 0.5761 GB, free: 13.45 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/0.2998, allocations: 90.27 kB / 0.5762 GB, free: 13.37 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008316/0.3006, allocations: 0.7204 MB / 0.5769 GB, free: 12.62 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.557e-05/0.3007, allocations: 125.9 kB / 0.577 GB, free: 12.49 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.3009, allocations: 32.5 kB / 0.5771 GB, free: 12.46 MB / 490.7 MB Notification: Performance of SimCode: time 9.12e-07/0.3009, allocations: 0 / 0.5771 GB, free: 12.46 MB / 490.7 MB Notification: Performance of Templates: time 0.009118/0.31, allocations: 6.895 MB / 0.5838 GB, free: 5.574 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.323659488931298]