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.001278/0.001278, allocations: 83.69 kB / 20.68 MB, free: 3.883 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.001609/0.001609, allocations: 170 kB / 23.95 MB, free: 0.6094 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.9152/0.9152, allocations: 177.1 MB / 204.3 MB, free: 5.734 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.2369/0.2369, allocations: 34.25 MB / 294.9 MB, free: 0.7227 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: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 442.2 MB, free: 1.695 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.193e-05/2.348e-05, allocations: 2.281 kB / 442.2 MB, free: 1.691 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.2769/0.277, allocations: 131.7 MB / 0.5604 GB, free: 13.04 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.2785, allocations: 1.973 MB / 0.5623 GB, free: 11.06 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.567e-05/0.2786, allocations: 4 kB / 0.5623 GB, free: 11.06 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003137/0.2789, allocations: 47.67 kB / 0.5623 GB, free: 11.01 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001112/0.28, allocations: 0.6605 MB / 0.563 GB, free: 10.35 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002433/0.2803, allocations: 110.1 kB / 0.5631 GB, free: 10.24 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002909/0.2806, allocations: 262.9 kB / 0.5633 GB, free: 9.984 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.743e-05/0.2806, allocations: 10.92 kB / 0.5634 GB, free: 9.977 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002884/0.2809, allocations: 179.3 kB / 0.5635 GB, free: 9.801 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.2811, allocations: 83.77 kB / 0.5636 GB, free: 9.719 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.2811, allocations: 8 kB / 0.5636 GB, free: 9.711 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.2822, allocations: 0.775 MB / 0.5644 GB, free: 8.934 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 8.357e-05/0.2823, allocations: 83.77 kB / 0.5644 GB, free: 8.852 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 7.811e-05/0.2824, allocations: 79.83 kB / 0.5645 GB, free: 8.773 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007387/0.2831, allocations: 0.717 MB / 0.5652 GB, free: 8.055 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2831, allocations: 0 / 0.5652 GB, free: 8.055 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2831, allocations: 0 / 0.5652 GB, free: 8.055 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.2831, allocations: 0 / 0.5652 GB, free: 8.055 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.0006555/0.2838, allocations: 446.1 kB / 0.5656 GB, free: 7.594 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.2838, allocations: 8.031 kB / 0.5657 GB, free: 7.586 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.325e-05/0.2839, allocations: 54.73 kB / 0.5657 GB, free: 7.523 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/0.285, allocations: 279.9 kB / 0.566 GB, free: 7.254 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.2852, allocations: 217.5 kB / 0.5662 GB, free: 7.016 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.2853, allocations: 12.7 kB / 0.5662 GB, free: 7.004 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.439e-05/0.2853, allocations: 27.94 kB / 0.5662 GB, free: 6.977 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005332/0.2858, allocations: 0.6434 MB / 0.5668 GB, free: 6.285 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.2858, allocations: 0 / 0.5668 GB, free: 6.285 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.79e-05/0.2859, allocations: 13.5 kB / 0.5669 GB, free: 6.273 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.025e-05/0.2859, allocations: 8 kB / 0.5669 GB, free: 6.266 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005278/0.2864, allocations: 0.5666 MB / 0.5674 GB, free: 5.699 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.001314/0.2877, allocations: 0.9487 MB / 0.5683 GB, free: 4.715 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.288, allocations: 245 kB / 0.5686 GB, free: 4.457 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.2882, allocations: 187.1 kB / 0.5688 GB, free: 4.27 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004193/0.2886, allocations: 143.8 kB / 0.5689 GB, free: 4.129 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.2886, allocations: 42.5 kB / 0.5689 GB, free: 4.078 MB / 474.7 MB Notification: Performance of pre-optimization done (n=28): time 1.613e-06/0.2886, allocations: 4 kB / 0.5689 GB, free: 4.074 MB / 474.7 MB Notification: Performance of matching and sorting (n=28): time 0.001067/0.2897, allocations: 0.6023 MB / 0.5695 GB, free: 3.469 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.2897, allocations: 81.11 kB / 0.5696 GB, free: 3.371 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.057e-05/0.2898, allocations: 125.8 kB / 0.5697 GB, free: 3.238 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/0.2898, allocations: 36.05 kB / 0.5698 GB, free: 3.199 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.238e-05/0.2899, allocations: 116.7 kB / 0.5699 GB, free: 3.082 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.488e-05/0.2899, allocations: 111 kB / 0.57 GB, free: 2.973 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.485e-05/0.29, allocations: 65.69 kB / 0.57 GB, free: 2.902 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.556e-05/0.2901, allocations: 330.8 kB / 0.5704 GB, free: 2.57 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/0.2903, allocations: 183.9 kB / 0.5705 GB, free: 2.391 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002388/0.2905, allocations: 292 kB / 0.5708 GB, free: 2.062 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004627/0.291, allocations: 492.5 kB / 0.5713 GB, free: 1.535 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.291, allocations: 4 kB / 0.5713 GB, free: 1.531 MB / 474.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005697/0.2916, allocations: 0.5244 MB / 0.5718 GB, free: 1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.2916, allocations: 4 kB / 0.5718 GB, free: 0.9961 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.2916, allocations: 4 kB / 0.5718 GB, free: 0.9922 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.2916, allocations: 4 kB / 0.5718 GB, free: 0.9883 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/0.2918, allocations: 83.89 kB / 0.5719 GB, free: 0.9062 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.2919, allocations: 8.344 kB / 0.5719 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/0.292, allocations: 39.77 kB / 0.5719 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.308e-05/0.292, allocations: 19.98 kB / 0.572 GB, free: 0.8398 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.0001046/0.2922, allocations: 142.9 kB / 0.5721 GB, free: 0.6914 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.045e-05/0.2922, allocations: 21.16 kB / 0.5721 GB, free: 0.6719 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005571/0.2928, allocations: 490.2 kB / 0.5726 GB, free: 200 kB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.2928, allocations: 4 kB / 0.5726 GB, free: 196 kB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2928, allocations: 3.984 kB / 0.5726 GB, free: 192 kB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.2928, allocations: 0 / 0.5726 GB, free: 192 kB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004448/0.2932, allocations: 394.9 kB / 0.573 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.2932, allocations: 3.938 kB / 0.573 GB, free: 15.76 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002296/0.2935, allocations: 67.08 kB / 0.573 GB, free: 15.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.2935, allocations: 4 kB / 0.573 GB, free: 15.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/0.2935, allocations: 8 kB / 0.573 GB, free: 15.69 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2935, allocations: 0 / 0.573 GB, free: 15.69 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2935, allocations: 0 / 0.573 GB, free: 15.69 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006493/0.2941, allocations: 0.6904 MB / 0.5737 GB, free: 14.99 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.967e-05/0.2942, allocations: 21.94 kB / 0.5737 GB, free: 14.97 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.956e-05/0.2942, allocations: 11.94 kB / 0.5737 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002163/0.2944, allocations: 23.97 kB / 0.5738 GB, free: 14.94 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.158e-05/0.2944, allocations: 15.97 kB / 0.5738 GB, free: 14.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-05/0.2945, allocations: 15.98 kB / 0.5738 GB, free: 14.91 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.414e-05/0.2945, allocations: 106.1 kB / 0.5739 GB, free: 14.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2945, allocations: 0 / 0.5739 GB, free: 14.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004498/0.295, allocations: 163.6 kB / 0.5741 GB, free: 14.64 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.001436/0.2964, allocations: 1.48 MB / 0.5755 GB, free: 13.14 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004978/0.2969, allocations: 427.5 kB / 0.5759 GB, free: 12.72 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.2969, allocations: 4 kB / 0.5759 GB, free: 12.71 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001967/0.2971, allocations: 207.8 kB / 0.5761 GB, free: 12.51 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/0.2975, allocations: 93.5 kB / 0.5762 GB, free: 12.43 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00262/0.3001, allocations: 3.036 MB / 0.5792 GB, free: 9.238 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.46e-05/0.3002, allocations: 131.2 kB / 0.5793 GB, free: 9.09 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003089/0.3005, allocations: 105.8 kB / 0.5794 GB, free: 8.988 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.3007, allocations: 68.47 kB / 0.5795 GB, free: 8.922 MB / 490.7 MB Notification: Performance of SimCode: time 6.41e-07/0.3007, allocations: 0 / 0.5795 GB, free: 8.922 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02391/0.3246, allocations: 11.48 MB / 0.5907 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.841/7.165, allocations: 15.53 kB / 0.5907 GB, free: 13.62 MB / 0.4948 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 52.5] 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: 9.16557795740664]