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.001415/0.001415, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001513/0.001513, allocations: 208.2 kB / 23.73 MB, free: 4.387 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.428/1.428, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2276/0.2276, allocations: 46.96 MB / 360.9 MB, free: 4.023 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="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 0.002071/0.002071, allocations: 72.06 kB / 0.4961 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3138, allocations: 66.03 MB / 0.5606 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1748/0.4886, allocations: 131.6 MB / 0.6891 GB, free: 100 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002705/0.4913, allocations: 1.978 MB / 0.6911 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.573e-05/0.4914, allocations: 3.938 kB / 0.6911 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003129/0.4917, allocations: 47.73 kB / 0.6911 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001543/0.4932, allocations: 0.6375 MB / 0.6917 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003127/0.4935, allocations: 115.7 kB / 0.6918 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003406/0.4939, allocations: 255 kB / 0.6921 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.179e-05/0.4939, allocations: 7.984 kB / 0.6921 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002859/0.4942, allocations: 159.3 kB / 0.6922 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002093/0.4944, allocations: 91.69 kB / 0.6923 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.396e-05/0.4945, allocations: 8 kB / 0.6923 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00149/0.496, allocations: 0.7597 MB / 0.6931 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.4961, allocations: 87.69 kB / 0.6932 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.4962, allocations: 87.73 kB / 0.6932 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.4972, allocations: 0.6525 MB / 0.6939 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.4973, allocations: 0 / 0.6939 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.133e-06/0.4973, allocations: 0 / 0.6939 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.337e-06/0.4973, allocations: 0 / 0.6939 GB, free: 11.21 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.0008174/0.4981, allocations: 441.5 kB / 0.6943 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.4981, allocations: 8.031 kB / 0.6943 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.686e-05/0.4982, allocations: 58.67 kB / 0.6944 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001979/0.5002, allocations: 272.5 kB / 0.6946 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005451/0.5007, allocations: 233.7 kB / 0.6948 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.5007, allocations: 12.33 kB / 0.6949 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.809e-05/0.5008, allocations: 16 kB / 0.6949 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009561/0.5018, allocations: 0.6396 MB / 0.6955 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.5018, allocations: 0 / 0.6955 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.232e-05/0.5018, allocations: 8 kB / 0.6955 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.655e-05/0.5019, allocations: 8 kB / 0.6955 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009937/0.5029, allocations: 0.5855 MB / 0.6961 GB, free: 8.844 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.002385/0.5052, allocations: 0.9404 MB / 0.697 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004191/0.5057, allocations: 233.1 kB / 0.6972 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002755/0.5059, allocations: 181.6 kB / 0.6974 GB, free: 7.426 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008822/0.5068, allocations: 156 kB / 0.6975 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/0.5069, allocations: 42.56 kB / 0.6976 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 2.655e-06/0.5069, allocations: 0 / 0.6976 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28): time 0.002133/0.509, allocations: 0.5918 MB / 0.6982 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/0.5091, allocations: 81.11 kB / 0.6982 GB, free: 6.527 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.5092, allocations: 129.8 kB / 0.6984 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.413e-05/0.5093, allocations: 29.7 kB / 0.6984 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.511e-05/0.5094, allocations: 124.4 kB / 0.6985 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.5095, allocations: 119 kB / 0.6986 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.5096, allocations: 61.48 kB / 0.6987 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.5098, allocations: 338.8 kB / 0.699 GB, free: 5.707 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003694/0.5102, allocations: 179.9 kB / 0.6992 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004551/0.5106, allocations: 292.5 kB / 0.6995 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008268/0.5114, allocations: 491.2 kB / 0.6999 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.5115, allocations: 0 / 0.6999 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001028/0.5125, allocations: 0.5186 MB / 0.7004 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.5125, allocations: 8 kB / 0.7004 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.5125, allocations: 4 kB / 0.7004 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.5125, allocations: 4.406 kB / 0.7004 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000556/0.5131, allocations: 87.83 kB / 0.7005 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.5131, allocations: 7.984 kB / 0.7005 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003841/0.5135, allocations: 35.77 kB / 0.7006 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.507e-05/0.5135, allocations: 20 kB / 0.7006 GB, free: 3.988 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.0002143/0.5138, allocations: 153.6 kB / 0.7007 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.5139, allocations: 15.91 kB / 0.7008 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.5149, allocations: 493.9 kB / 0.7012 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.5149, allocations: 11.92 kB / 0.7012 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.5149, allocations: 3.938 kB / 0.7012 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.515, allocations: 0 / 0.7012 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007939/0.5157, allocations: 389.2 kB / 0.7016 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.5158, allocations: 0 / 0.7016 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005129/0.5163, allocations: 59.95 kB / 0.7017 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.5163, allocations: 0 / 0.7017 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.185e-05/0.5163, allocations: 11.98 kB / 0.7017 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.5163, allocations: 4 kB / 0.7017 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.5163, allocations: 3.938 kB / 0.7017 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.5176, allocations: 0.6919 MB / 0.7024 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.155e-05/0.5176, allocations: 15.89 kB / 0.7024 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.661e-05/0.5177, allocations: 8 kB / 0.7024 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005184/0.5182, allocations: 19.97 kB / 0.7024 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.397e-05/0.5182, allocations: 19.97 kB / 0.7024 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.247e-05/0.5183, allocations: 19.98 kB / 0.7024 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.663e-05/0.5184, allocations: 103.2 kB / 0.7025 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.5184, allocations: 3.938 kB / 0.7025 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007375/0.5191, allocations: 163.6 kB / 0.7027 GB, free: 1.754 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.00228/0.5214, allocations: 1.481 MB / 0.7041 GB, free: 252 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009599/0.5223, allocations: 422.9 kB / 0.7046 GB, free: 15.84 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.5224, allocations: 0 / 0.7046 GB, free: 15.84 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000389/0.5227, allocations: 207.8 kB / 0.7047 GB, free: 15.63 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007376/0.5235, allocations: 89.27 kB / 0.7048 GB, free: 15.55 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005052/0.5285, allocations: 3.223 MB / 0.708 GB, free: 12.15 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/0.5288, allocations: 138.8 kB / 0.7081 GB, free: 12 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005456/0.5293, allocations: 121.7 kB / 0.7082 GB, free: 11.88 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/0.5295, allocations: 55.42 kB / 0.7083 GB, free: 11.83 MB / 0.545 GB Notification: Performance of SimCode: time 8.52e-07/0.5295, allocations: 0 / 0.7083 GB, free: 11.83 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04314/0.5726, allocations: 11.36 MB / 0.7194 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.98, allocations: 2.922 kB / 0.7194 GB, free: 0.6797 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: 14.959708850830793]