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.001661/0.001661, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 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.001487/0.001487, allocations: 211.8 kB / 24.51 MB, free: 3.914 MB / 14.72 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 1.476/1.476, allocations: 230.6 MB / 258.3 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] 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.2315/0.2315, allocations: 46.96 MB / 361.7 MB, free: 4.016 MB / 286.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_FlueGas",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003114/0.003114, allocations: 63.91 kB / 0.4969 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3593, allocations: 66.03 MB / 0.5613 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1769/0.5362, allocations: 131.5 MB / 0.6898 GB, free: 148 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002939/0.5391, allocations: 1.97 MB / 0.6917 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.5393, allocations: 4 kB / 0.6917 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003597/0.5396, allocations: 43.73 kB / 0.6918 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002015/0.5416, allocations: 0.6453 MB / 0.6924 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003406/0.542, allocations: 111.5 kB / 0.6925 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004171/0.5424, allocations: 267 kB / 0.6928 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.766e-05/0.5424, allocations: 4 kB / 0.6928 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003369/0.5428, allocations: 151.4 kB / 0.6929 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.543, allocations: 95.69 kB / 0.693 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.204e-05/0.543, allocations: 12 kB / 0.693 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001724/0.5448, allocations: 0.7675 MB / 0.6938 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.5449, allocations: 91.7 kB / 0.6938 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001462/0.545, allocations: 87.7 kB / 0.6939 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001232/0.5463, allocations: 0.6525 MB / 0.6946 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.5463, allocations: 0 / 0.6946 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5463, allocations: 0 / 0.6946 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.278e-05/0.5463, allocations: 0 / 0.6946 GB, free: 11.25 MB / 0.5294 GB 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.0009245/0.5472, allocations: 449.4 kB / 0.695 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.5473, allocations: 12.03 kB / 0.695 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.903e-05/0.5473, allocations: 8.516 kB / 0.695 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.748e-05/0.5474, allocations: 54.73 kB / 0.6951 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002168/0.5495, allocations: 272.5 kB / 0.6953 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004574/0.55, allocations: 225.6 kB / 0.6955 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.55, allocations: 12.33 kB / 0.6956 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.581e-05/0.5501, allocations: 20 kB / 0.6956 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009468/0.551, allocations: 0.6357 MB / 0.6962 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.551, allocations: 0 / 0.6962 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.074e-05/0.5511, allocations: 12 kB / 0.6962 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.002e-05/0.5511, allocations: 8 kB / 0.6962 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000949/0.5521, allocations: 0.5777 MB / 0.6968 GB, free: 8.879 MB / 0.5294 GB 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.002357/0.5544, allocations: 0.956 MB / 0.6977 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004134/0.5549, allocations: 229.1 kB / 0.6979 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002614/0.5551, allocations: 185.6 kB / 0.6981 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008597/0.556, allocations: 147.9 kB / 0.6983 GB, free: 7.301 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.556, allocations: 38.55 kB / 0.6983 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 1.693e-06/0.556, allocations: 0 / 0.6983 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28): time 0.002074/0.5581, allocations: 0.5978 MB / 0.6989 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.624e-05/0.5582, allocations: 81.11 kB / 0.6989 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002376/0.5584, allocations: 137.8 kB / 0.6991 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.555e-05/0.5584, allocations: 37.64 kB / 0.6991 GB, free: 6.367 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.5586, allocations: 120.6 kB / 0.6992 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.5587, allocations: 107.1 kB / 0.6993 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/0.5588, allocations: 69.48 kB / 0.6994 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.00027/0.5591, allocations: 330.8 kB / 0.6997 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003939/0.5595, allocations: 183.9 kB / 0.6999 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004488/0.5599, allocations: 292.5 kB / 0.7002 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008209/0.5608, allocations: 488.6 kB / 0.7006 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.5608, allocations: 0 / 0.7006 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001014/0.5618, allocations: 0.5188 MB / 0.7011 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.5618, allocations: 8.344 kB / 0.7011 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.5618, allocations: 8 kB / 0.7012 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.821e-05/0.5618, allocations: 8 kB / 0.7012 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005183/0.5624, allocations: 83.83 kB / 0.7012 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.5624, allocations: 7.984 kB / 0.7013 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003599/0.5627, allocations: 35.77 kB / 0.7013 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.412e-05/0.5628, allocations: 20 kB / 0.7013 GB, free: 4.008 MB / 0.5294 GB 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.0001937/0.563, allocations: 145.6 kB / 0.7014 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.5631, allocations: 23.89 kB / 0.7015 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/0.5641, allocations: 494.2 kB / 0.7019 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.5641, allocations: 4 kB / 0.7019 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.5641, allocations: 4 kB / 0.7019 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.5641, allocations: 7.984 kB / 0.702 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007688/0.5649, allocations: 381.2 kB / 0.7023 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.5649, allocations: 4 kB / 0.7023 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004891/0.5654, allocations: 55.89 kB / 0.7024 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.5654, allocations: 4 kB / 0.7024 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.679e-05/0.5654, allocations: 15.98 kB / 0.7024 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.5655, allocations: 4 kB / 0.7024 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5655, allocations: 0 / 0.7024 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.5666, allocations: 0.684 MB / 0.7031 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.208e-05/0.5667, allocations: 19.84 kB / 0.7031 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.855e-05/0.5667, allocations: 8 kB / 0.7031 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004612/0.5672, allocations: 23.97 kB / 0.7031 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.432e-05/0.5673, allocations: 15.97 kB / 0.7031 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.784e-05/0.5673, allocations: 23.86 kB / 0.7032 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.939e-05/0.5674, allocations: 107.1 kB / 0.7033 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5674, allocations: 0 / 0.7033 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000711/0.5681, allocations: 167.6 kB / 0.7034 GB, free: 1.773 MB / 0.5294 GB 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.002272/0.5704, allocations: 1.464 MB / 0.7048 GB, free: 288 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008509/0.5712, allocations: 424.5 kB / 0.7052 GB, free: 15.87 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5712, allocations: 0 / 0.7052 GB, free: 15.87 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003783/0.5716, allocations: 204.7 kB / 0.7054 GB, free: 15.67 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007265/0.5723, allocations: 96.53 kB / 0.7055 GB, free: 15.57 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004741/0.5771, allocations: 3.236 MB / 0.7087 GB, free: 12.17 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001396/0.5772, allocations: 131 kB / 0.7088 GB, free: 12.03 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004747/0.5777, allocations: 113.8 kB / 0.7089 GB, free: 11.92 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002084/0.5779, allocations: 55.41 kB / 0.709 GB, free: 11.86 MB / 0.545 GB Notification: Performance of SimCode: time 5.21e-07/0.5779, allocations: 0 / 0.709 GB, free: 11.86 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0376/0.6155, allocations: 11.11 MB / 0.7198 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.32, allocations: 8.047 kB / 0.7198 GB, free: 0.9531 MB / 0.545 GB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/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: 15.562404470983893]