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.001482/0.001482, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001733/0.001733, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.497/1.497, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2311/0.2311, allocations: 46.92 MB / 357.1 MB, free: 10.32 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.001935/0.001935, allocations: 59.91 kB / 0.4909 GB, free: 8.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1342, allocations: 66 MB / 0.5554 GB, free: 5.879 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.5212/0.6553, allocations: 153 MB / 0.7048 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003007/0.6584, allocations: 2.192 MB / 0.7069 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.901e-05/0.6584, allocations: 6.281 kB / 0.7069 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003845/0.6588, allocations: 63.72 kB / 0.707 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00156/0.6604, allocations: 0.6377 MB / 0.7076 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003314/0.6607, allocations: 95.8 kB / 0.7077 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003768/0.6611, allocations: 267 kB / 0.708 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.732e-05/0.6611, allocations: 8 kB / 0.708 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003098/0.6614, allocations: 143.4 kB / 0.7081 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002092/0.6616, allocations: 95.64 kB / 0.7082 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.913e-05/0.6617, allocations: 8 kB / 0.7082 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001722/0.6634, allocations: 0.8845 MB / 0.7091 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.6635, allocations: 87.7 kB / 0.7092 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.6636, allocations: 95.64 kB / 0.7093 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001089/0.6647, allocations: 0.6657 MB / 0.7099 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.6647, allocations: 0 / 0.7099 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.304e-06/0.6647, allocations: 0 / 0.7099 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.6647, allocations: 0 / 0.7099 GB, free: 3.352 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.0009885/0.6657, allocations: 0.5064 MB / 0.7104 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.6658, allocations: 8.031 kB / 0.7104 GB, free: 2.789 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.15e-05/0.6659, allocations: 58.67 kB / 0.7105 GB, free: 2.723 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002098/0.668, allocations: 268.5 kB / 0.7107 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004581/0.6684, allocations: 280.1 kB / 0.711 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.6684, allocations: 20.27 kB / 0.711 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.4e-05/0.6685, allocations: 20 kB / 0.711 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008876/0.6694, allocations: 0.49 MB / 0.7115 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.6694, allocations: 0 / 0.7115 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.099e-05/0.6695, allocations: 9.969 kB / 0.7115 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.688e-05/0.6695, allocations: 4.5 kB / 0.7115 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009913/0.6705, allocations: 0.5933 MB / 0.7121 GB, free: 1.004 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.002842/0.6733, allocations: 1.012 MB / 0.7131 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004297/0.6738, allocations: 233 kB / 0.7133 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002795/0.674, allocations: 189.6 kB / 0.7135 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001022/0.6751, allocations: 375.2 kB / 0.7138 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.6751, allocations: 42.56 kB / 0.7139 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 1.964e-06/0.6751, allocations: 0 / 0.7139 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28): time 0.002182/0.6773, allocations: 0.5969 MB / 0.7145 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.809e-05/0.6774, allocations: 77.11 kB / 0.7145 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.6775, allocations: 129.8 kB / 0.7147 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.079e-05/0.6776, allocations: 33.7 kB / 0.7147 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.867e-05/0.6777, allocations: 116.5 kB / 0.7148 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.6778, allocations: 115.1 kB / 0.7149 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/0.678, allocations: 61.48 kB / 0.715 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001992/0.6782, allocations: 330.8 kB / 0.7153 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003678/0.6785, allocations: 191.8 kB / 0.7155 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005479/0.6791, allocations: 288.5 kB / 0.7158 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/0.6804, allocations: 495.9 kB / 0.7162 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/0.6804, allocations: 7.938 kB / 0.7162 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001531/0.6819, allocations: 0.5151 MB / 0.7167 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/0.682, allocations: 13.97 kB / 0.7167 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.682, allocations: 4 kB / 0.7168 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.771e-05/0.682, allocations: 4 kB / 0.7168 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008258/0.6828, allocations: 83.81 kB / 0.7168 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.778e-05/0.6828, allocations: 8 kB / 0.7168 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005828/0.6834, allocations: 44.17 kB / 0.7169 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.801e-05/0.6835, allocations: 12 kB / 0.7169 GB, free: 11.79 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.0002973/0.6838, allocations: 151.9 kB / 0.717 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/0.684, allocations: 19.47 kB / 0.7171 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001513/0.6855, allocations: 0.491 MB / 0.7175 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/0.6855, allocations: 7.938 kB / 0.7175 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.6855, allocations: 0 / 0.7175 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/0.6855, allocations: 0 / 0.7175 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.6868, allocations: 461.8 kB / 0.718 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.6868, allocations: 0 / 0.718 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007472/0.6876, allocations: 63.95 kB / 0.718 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.6876, allocations: 0 / 0.718 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-05/0.6877, allocations: 8 kB / 0.7181 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.294e-06/0.6877, allocations: 4 kB / 0.7181 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.331e-06/0.6877, allocations: 3.938 kB / 0.7181 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001738/0.6894, allocations: 0.6834 MB / 0.7187 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.6895, allocations: 100.9 kB / 0.7188 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.217e-05/0.6896, allocations: 8 kB / 0.7188 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007421/0.6903, allocations: 19.97 kB / 0.7189 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.692e-05/0.6904, allocations: 11.98 kB / 0.7189 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.429e-05/0.6905, allocations: 23.92 kB / 0.7189 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001088/0.6906, allocations: 96.47 kB / 0.719 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.6906, allocations: 0 / 0.719 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001184/0.6918, allocations: 171.6 kB / 0.7191 GB, free: 9.402 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.00334/0.6951, allocations: 1.478 MB / 0.7206 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001389/0.6965, allocations: 432.5 kB / 0.721 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.6965, allocations: 0 / 0.721 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005615/0.6971, allocations: 205.2 kB / 0.7212 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.6982, allocations: 99.95 kB / 0.7213 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007247/0.7055, allocations: 3.226 MB / 0.7244 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006175/0.7061, allocations: 0.7401 MB / 0.7252 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0008751/0.707, allocations: 117.7 kB / 0.7253 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003325/0.7073, allocations: 59.42 kB / 0.7253 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of SimCode: time 1.593e-06/0.7073, allocations: 0 / 0.7253 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05693/0.7642, allocations: 10.38 MB / 0.7355 GB, free: 8.574 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.594/9.358, allocations: 3.938 kB / 0.7355 GB, free: 8.57 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.801307936897501]