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.001612/0.001612, allocations: 120.1 kB / 18.49 MB, free: 4.586 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.001901/0.001901, allocations: 215 kB / 21.45 MB, free: 1.641 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.525/1.525, allocations: 230.6 MB / 254.8 MB, free: 15.26 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.231/0.231, allocations: 46.91 MB / 357.8 MB, free: 10.38 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.002091/0.002091, allocations: 63.91 kB / 0.4916 GB, free: 8.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.135, allocations: 65.99 MB / 0.556 GB, free: 5.922 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.477/0.6119, allocations: 153 MB / 0.7055 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002972/0.6149, allocations: 2.199 MB / 0.7076 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.421e-05/0.615, allocations: 0 / 0.7076 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004035/0.6154, allocations: 63.66 kB / 0.7077 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001812/0.6172, allocations: 0.6321 MB / 0.7083 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003758/0.6176, allocations: 111.7 kB / 0.7084 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003651/0.618, allocations: 263 kB / 0.7087 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.12e-05/0.618, allocations: 4 kB / 0.7087 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003035/0.6183, allocations: 147.4 kB / 0.7088 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/0.6185, allocations: 95.64 kB / 0.7089 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.743e-05/0.6185, allocations: 8 kB / 0.7089 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001589/0.6201, allocations: 0.8806 MB / 0.7098 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.6202, allocations: 87.75 kB / 0.7099 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.6203, allocations: 91.66 kB / 0.7099 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009742/0.6213, allocations: 0.6657 MB / 0.7106 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.6213, allocations: 0 / 0.7106 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.472e-06/0.6213, allocations: 0 / 0.7106 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.6213, allocations: 0 / 0.7106 GB, free: 3.422 MB / 0.5137 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.0008784/0.6222, allocations: 0.5064 MB / 0.7111 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.6222, allocations: 12.03 kB / 0.7111 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.168e-05/0.6223, allocations: 4.516 kB / 0.7111 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.842e-05/0.6223, allocations: 58.72 kB / 0.7112 GB, free: 2.785 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00208/0.6244, allocations: 268.5 kB / 0.7114 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000428/0.6248, allocations: 287.8 kB / 0.7117 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.6249, allocations: 12.33 kB / 0.7117 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.879e-05/0.6249, allocations: 20 kB / 0.7117 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000832/0.6258, allocations: 0.4947 MB / 0.7122 GB, free: 1.668 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.6258, allocations: 2.156 kB / 0.7122 GB, free: 1.668 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.79e-05/0.6258, allocations: 12 kB / 0.7122 GB, free: 1.656 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.869e-05/0.6259, allocations: 12.48 kB / 0.7122 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009474/0.6268, allocations: 0.5817 MB / 0.7128 GB, free: 1.062 MB / 0.5137 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.002272/0.6291, allocations: 1.008 MB / 0.7138 GB, free: 0 / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004388/0.6295, allocations: 233.1 kB / 0.714 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000262/0.6298, allocations: 181.6 kB / 0.7142 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009334/0.6307, allocations: 388.4 kB / 0.7145 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.6308, allocations: 38.56 kB / 0.7146 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 2.034e-06/0.6308, allocations: 0 / 0.7146 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28): time 0.002051/0.6328, allocations: 0.6008 MB / 0.7152 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.202e-05/0.6329, allocations: 81.11 kB / 0.7152 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.633, allocations: 125.8 kB / 0.7154 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.846e-05/0.633, allocations: 29.7 kB / 0.7154 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.984e-05/0.6331, allocations: 116.5 kB / 0.7155 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.6332, allocations: 115.1 kB / 0.7156 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.6334, allocations: 65.47 kB / 0.7157 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.6335, allocations: 326.8 kB / 0.716 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003507/0.6339, allocations: 187.9 kB / 0.7162 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004355/0.6343, allocations: 296.4 kB / 0.7164 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008035/0.6351, allocations: 494 kB / 0.7169 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.6351, allocations: 8 kB / 0.7169 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009878/0.6361, allocations: 0.5142 MB / 0.7174 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.6361, allocations: 4 kB / 0.7174 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.6361, allocations: 8.344 kB / 0.7174 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.6361, allocations: 11.94 kB / 0.7175 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005405/0.6367, allocations: 75.89 kB / 0.7175 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.6367, allocations: 11.94 kB / 0.7175 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003978/0.6371, allocations: 39.77 kB / 0.7176 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.775e-05/0.6371, allocations: 15.98 kB / 0.7176 GB, free: 11.86 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.0001745/0.6373, allocations: 151.9 kB / 0.7177 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.6374, allocations: 15.91 kB / 0.7178 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/0.6385, allocations: 0.4911 MB / 0.7182 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.6385, allocations: 8 kB / 0.7182 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.6385, allocations: 0 / 0.7182 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.6385, allocations: 3.984 kB / 0.7182 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007722/0.6392, allocations: 457.8 kB / 0.7187 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.6393, allocations: 3.984 kB / 0.7187 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005252/0.6398, allocations: 59.91 kB / 0.7187 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.6398, allocations: 0 / 0.7187 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.075e-05/0.6398, allocations: 11.98 kB / 0.7188 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.6398, allocations: 4 kB / 0.7188 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.6398, allocations: 0 / 0.7188 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.641, allocations: 0.6833 MB / 0.7194 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.761e-05/0.6411, allocations: 101 kB / 0.7195 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.292e-05/0.6411, allocations: 11.98 kB / 0.7195 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005005/0.6416, allocations: 15.98 kB / 0.7195 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.298e-05/0.6417, allocations: 19.97 kB / 0.7196 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-05/0.6417, allocations: 19.98 kB / 0.7196 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.208e-05/0.6418, allocations: 99.2 kB / 0.7197 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.6418, allocations: 0 / 0.7197 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006899/0.6425, allocations: 167.6 kB / 0.7198 GB, free: 9.461 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.002184/0.6447, allocations: 1.475 MB / 0.7213 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008335/0.6455, allocations: 424.4 kB / 0.7217 GB, free: 7.543 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.6455, allocations: 0.8125 kB / 0.7217 GB, free: 7.543 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003763/0.6459, allocations: 213 kB / 0.7219 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007382/0.6466, allocations: 100.4 kB / 0.722 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004474/0.6511, allocations: 3.236 MB / 0.7251 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003949/0.6515, allocations: 0.7324 MB / 0.7259 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004446/0.6519, allocations: 117.8 kB / 0.726 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001957/0.6521, allocations: 59.41 kB / 0.726 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.6521, allocations: 0 / 0.726 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03111/0.6832, allocations: 10.42 MB / 0.7362 GB, free: 8.598 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.377/9.06, allocations: 8.734 kB / 0.7362 GB, free: 8.594 MB / 0.545 GB " [Timeout remaining time 651] (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: 12.379314746998716]