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.001275/0.001275, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001399/0.001399, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.512/1.512, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.2585/0.2585, allocations: 46.94 MB / 361.7 MB, free: 4.258 MB / 286.1 MB " [Timeout remaining time 179] 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.001969/0.001969, allocations: 59.91 kB / 0.4969 GB, free: 7.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3747, allocations: 66.03 MB / 0.5614 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1995/0.5742, allocations: 153.1 MB / 0.7109 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004022/0.5782, allocations: 2.204 MB / 0.713 GB, free: 8.594 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001867/0.5784, allocations: 0 / 0.713 GB, free: 8.594 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005229/0.5789, allocations: 67.64 kB / 0.7131 GB, free: 8.527 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002034/0.581, allocations: 0.6337 MB / 0.7137 GB, free: 7.895 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003654/0.5813, allocations: 107.7 kB / 0.7138 GB, free: 7.789 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004851/0.5818, allocations: 271 kB / 0.7141 GB, free: 7.523 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.343e-05/0.5819, allocations: 7.984 kB / 0.7141 GB, free: 7.516 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005081/0.5824, allocations: 143.4 kB / 0.7142 GB, free: 7.375 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003149/0.5827, allocations: 95.64 kB / 0.7143 GB, free: 7.281 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.722e-05/0.5828, allocations: 12 kB / 0.7143 GB, free: 7.27 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002075/0.5848, allocations: 0.8962 MB / 0.7152 GB, free: 6.371 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.585, allocations: 79.81 kB / 0.7153 GB, free: 6.293 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.5851, allocations: 99.59 kB / 0.7154 GB, free: 6.195 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001304/0.5864, allocations: 0.6604 MB / 0.716 GB, free: 5.535 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.157e-05/0.5864, allocations: 8 kB / 0.716 GB, free: 5.527 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5864, allocations: 0 / 0.716 GB, free: 5.527 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.5864, allocations: 0 / 0.716 GB, free: 5.527 MB / 0.545 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.0009761/0.5874, allocations: 437.5 kB / 0.7164 GB, free: 5.07 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.5874, allocations: 12.03 kB / 0.7165 GB, free: 5.059 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.626e-05/0.5875, allocations: 8.516 kB / 0.7165 GB, free: 5.051 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001583/0.5876, allocations: 54.73 kB / 0.7165 GB, free: 4.988 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002063/0.5897, allocations: 268.5 kB / 0.7168 GB, free: 4.727 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005034/0.5902, allocations: 225.6 kB / 0.717 GB, free: 4.48 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/0.5902, allocations: 12.33 kB / 0.717 GB, free: 4.469 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.754e-05/0.5903, allocations: 20 kB / 0.717 GB, free: 4.449 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008447/0.5912, allocations: 0.4928 MB / 0.7175 GB, free: 3.945 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.5912, allocations: 0 / 0.7175 GB, free: 3.945 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.034e-05/0.5912, allocations: 11.98 kB / 0.7175 GB, free: 3.934 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.551e-05/0.5912, allocations: 12 kB / 0.7175 GB, free: 3.922 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009192/0.5922, allocations: 0.5778 MB / 0.7181 GB, free: 3.344 MB / 0.545 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.00242/0.5946, allocations: 0.9872 MB / 0.719 GB, free: 2.309 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004304/0.595, allocations: 237.1 kB / 0.7193 GB, free: 2.059 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002655/0.5953, allocations: 189.5 kB / 0.7195 GB, free: 1.867 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008403/0.5961, allocations: 151.9 kB / 0.7196 GB, free: 1.719 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.5962, allocations: 38.48 kB / 0.7196 GB, free: 1.672 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 1.433e-06/0.5962, allocations: 0 / 0.7196 GB, free: 1.672 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.002071/0.5982, allocations: 0.6052 MB / 0.7202 GB, free: 1.062 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.297e-05/0.5983, allocations: 81.11 kB / 0.7203 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.5985, allocations: 134.2 kB / 0.7204 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.167e-05/0.5985, allocations: 29.7 kB / 0.7205 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.5986, allocations: 116.5 kB / 0.7206 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.5987, allocations: 107.1 kB / 0.7207 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/0.5989, allocations: 69.48 kB / 0.7207 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.5991, allocations: 330.8 kB / 0.7211 GB, free: 164 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003934/0.5995, allocations: 188 kB / 0.7212 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004464/0.5999, allocations: 292.5 kB / 0.7215 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008299/0.6007, allocations: 490.7 kB / 0.722 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.6007, allocations: 0 / 0.722 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001068/0.6018, allocations: 0.5166 MB / 0.7225 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.6018, allocations: 8 kB / 0.7225 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.6018, allocations: 4 kB / 0.7225 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.6019, allocations: 4.406 kB / 0.7225 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005489/0.6024, allocations: 83.89 kB / 0.7226 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.138e-05/0.6024, allocations: 15.92 kB / 0.7226 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003882/0.6028, allocations: 35.77 kB / 0.7226 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-05/0.6029, allocations: 16 kB / 0.7226 GB, free: 14.43 MB / 0.5606 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.0001948/0.6031, allocations: 145.7 kB / 0.7228 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.6032, allocations: 15.91 kB / 0.7228 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/0.6042, allocations: 0.489 MB / 0.7233 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.6042, allocations: 4 kB / 0.7233 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.6042, allocations: 4 kB / 0.7233 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.6043, allocations: 3.984 kB / 0.7233 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008389/0.6051, allocations: 440.8 kB / 0.7237 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.6051, allocations: 0 / 0.7237 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005046/0.6056, allocations: 55.91 kB / 0.7238 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.6056, allocations: 0 / 0.7238 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.41e-05/0.6057, allocations: 11.98 kB / 0.7238 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.856e-06/0.6057, allocations: 8 kB / 0.7238 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.6057, allocations: 0 / 0.7238 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.6069, allocations: 0.6878 MB / 0.7245 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.074e-05/0.6069, allocations: 23.78 kB / 0.7245 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.871e-05/0.607, allocations: 11.98 kB / 0.7245 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004817/0.6075, allocations: 15.98 kB / 0.7245 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.498e-05/0.6075, allocations: 23.95 kB / 0.7245 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.805e-05/0.6076, allocations: 11.98 kB / 0.7245 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.162e-05/0.6077, allocations: 115.2 kB / 0.7246 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.6077, allocations: 0 / 0.7246 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007746/0.6085, allocations: 163.6 kB / 0.7248 GB, free: 12.15 MB / 0.5606 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.002582/0.611, allocations: 1.466 MB / 0.7262 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009781/0.612, allocations: 416.5 kB / 0.7266 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.612, allocations: 0 / 0.7266 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004166/0.6124, allocations: 220.6 kB / 0.7268 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007874/0.6132, allocations: 99.14 kB / 0.7269 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004999/0.6182, allocations: 3.226 MB / 0.7301 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004089/0.6186, allocations: 0.74 MB / 0.7308 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004736/0.6191, allocations: 109.8 kB / 0.7309 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.6193, allocations: 67.41 kB / 0.731 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of SimCode: time 1.072e-06/0.6193, allocations: 0 / 0.731 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3/0.9193, allocations: 10.76 MB / 0.7415 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/12.09, allocations: 5.156 kB / 0.7415 GB, free: 174.3 MB / 0.5606 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.312385510012973]