Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007949/0.0007949, allocations: 96.02 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009054/0.0009059, allocations: 176.1 kB / 18.25 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 223.3 MB / 242.3 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.219/0.219, allocations: 44.24 MB / 337.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003209/0.0003212, allocations: 8 kB / 410.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1261, allocations: 61.92 MB / 472.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.4207/0.5468, allocations: 146.3 MB / 0.6042 GB, free: 392 kB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008468/0.5553, allocations: 6.857 MB / 0.6109 GB, free: 9.527 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002079/0.5556, allocations: 3.938 kB / 0.6109 GB, free: 9.523 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003884/0.556, allocations: 75.67 kB / 0.6109 GB, free: 9.449 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005131/0.5611, allocations: 2.018 MB / 0.6129 GB, free: 7.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003459/0.5615, allocations: 136.2 kB / 0.613 GB, free: 7.301 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009293/0.5624, allocations: 0.7479 MB / 0.6138 GB, free: 6.551 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.762e-05/0.5625, allocations: 16.3 kB / 0.6138 GB, free: 6.535 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005593/0.563, allocations: 235 kB / 0.614 GB, free: 6.305 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009845/0.564, allocations: 0.5181 MB / 0.6145 GB, free: 5.785 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.525e-05/0.5641, allocations: 8 kB / 0.6145 GB, free: 5.777 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005531/0.5697, allocations: 3.539 MB / 0.618 GB, free: 2.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001746/0.5698, allocations: 171.5 kB / 0.6181 GB, free: 2.062 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002852/0.5701, allocations: 228.8 kB / 0.6184 GB, free: 1.832 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003648/0.5738, allocations: 2.175 MB / 0.6205 GB, free: 15.65 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.5738, allocations: 0 / 0.6205 GB, free: 15.65 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.5738, allocations: 0 / 0.6205 GB, free: 15.65 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.5738, allocations: 0 / 0.6205 GB, free: 15.65 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.002447/0.5763, allocations: 0.8941 MB / 0.6214 GB, free: 14.71 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.5763, allocations: 8.031 kB / 0.6214 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001265/0.5765, allocations: 82.7 kB / 0.6214 GB, free: 14.61 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01175/0.5882, allocations: 1.284 MB / 0.6227 GB, free: 13.32 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006747/0.5889, allocations: 375.7 kB / 0.6231 GB, free: 12.92 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000144/0.5891, allocations: 136.3 kB / 0.6232 GB, free: 12.76 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002168/0.5893, allocations: 32 kB / 0.6232 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002633/0.5919, allocations: 1.441 MB / 0.6246 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.592, allocations: 0 / 0.6246 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000153/0.5921, allocations: 12 kB / 0.6246 GB, free: 11.24 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.616e-05/0.5922, allocations: 56.91 kB / 0.6247 GB, free: 11.19 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005167/0.5974, allocations: 2.619 MB / 0.6272 GB, free: 8.562 MB / 462.1 MB 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.004571/0.602, allocations: 3.856 MB / 0.631 GB, free: 4.227 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.6022, allocations: 82.52 kB / 0.6311 GB, free: 4.137 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.162e-05/0.6022, allocations: 34.88 kB / 0.6311 GB, free: 4.102 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003416/0.6057, allocations: 3.218 MB / 0.6343 GB, free: 404 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.6057, allocations: 34.56 kB / 0.6343 GB, free: 360 kB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 1.984e-06/0.6057, allocations: 3.938 kB / 0.6343 GB, free: 356 kB / 462.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=12): time 0.001172/0.6069, allocations: 356.5 kB / 0.6346 GB, free: 15.99 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.6069, allocations: 59.34 kB / 0.6347 GB, free: 15.92 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003564/0.6073, allocations: 385.2 kB / 0.6351 GB, free: 15.55 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.6073, allocations: 25.7 kB / 0.6351 GB, free: 15.52 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002171/0.6076, allocations: 377 kB / 0.6354 GB, free: 15.14 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.376e-05/0.6076, allocations: 51.44 kB / 0.6355 GB, free: 15.09 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.127e-05/0.6077, allocations: 69.67 kB / 0.6356 GB, free: 15.02 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.6078, allocations: 342.8 kB / 0.6359 GB, free: 14.67 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.608, allocations: 117.9 kB / 0.636 GB, free: 14.55 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004847/0.6085, allocations: 0.5781 MB / 0.6366 GB, free: 13.75 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007705/0.6093, allocations: 0.7368 MB / 0.6373 GB, free: 12.79 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/0.6093, allocations: 8 kB / 0.6373 GB, free: 12.78 MB / 478.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001066/0.6104, allocations: 0.6953 MB / 0.638 GB, free: 12.08 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.6104, allocations: 15.98 kB / 0.638 GB, free: 12.07 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.369e-05/0.6104, allocations: 20 kB / 0.638 GB, free: 12.05 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.129e-05/0.6105, allocations: 24.03 kB / 0.638 GB, free: 12.02 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004692/0.6109, allocations: 187.6 kB / 0.6382 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003431/0.6113, allocations: 0.6211 MB / 0.6388 GB, free: 11.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004631/0.6118, allocations: 90.97 kB / 0.6389 GB, free: 11.11 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-05/0.6119, allocations: 71.98 kB / 0.639 GB, free: 11.04 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * 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 (91): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000201/0.6121, allocations: 209.5 kB / 0.6392 GB, free: 10.82 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-05/0.6122, allocations: 35.56 kB / 0.6392 GB, free: 10.79 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003353/0.6125, allocations: 171 kB / 0.6394 GB, free: 10.6 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.6125, allocations: 4 kB / 0.6394 GB, free: 10.6 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.6125, allocations: 0 / 0.6394 GB, free: 10.6 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.6126, allocations: 7.984 kB / 0.6394 GB, free: 10.59 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005365/0.6131, allocations: 479.9 kB / 0.6398 GB, free: 10.06 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.6131, allocations: 3.984 kB / 0.6398 GB, free: 10.05 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.6132, allocations: 24.44 kB / 0.6399 GB, free: 10.03 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.6132, allocations: 3.984 kB / 0.6399 GB, free: 10.03 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.6133, allocations: 4.062 kB / 0.6399 GB, free: 10.02 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002951/0.6136, allocations: 0.5907 MB / 0.6404 GB, free: 9.41 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.6136, allocations: 0 / 0.6404 GB, free: 9.41 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002346/0.6138, allocations: 221.8 kB / 0.6407 GB, free: 9.172 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.6139, allocations: 116.7 kB / 0.6408 GB, free: 9.039 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.662e-05/0.614, allocations: 7.922 kB / 0.6408 GB, free: 9.031 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.6143, allocations: 12 kB / 0.6408 GB, free: 9.02 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.597e-05/0.6143, allocations: 11.98 kB / 0.6408 GB, free: 9.008 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.6143, allocations: 7.938 kB / 0.6408 GB, free: 9 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002354/0.6146, allocations: 251.1 kB / 0.641 GB, free: 8.758 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6146, allocations: 0 / 0.641 GB, free: 8.758 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001173/0.6157, allocations: 351.8 kB / 0.6414 GB, free: 8.414 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002319/0.6181, allocations: 1.281 MB / 0.6426 GB, free: 7.102 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005838/0.6187, allocations: 337.1 kB / 0.643 GB, free: 6.777 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.6187, allocations: 0 / 0.643 GB, free: 6.777 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 9.727e-05/0.6188, allocations: 44.52 kB / 0.643 GB, free: 6.734 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004639/0.6193, allocations: 51.77 kB / 0.643 GB, free: 6.688 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/0.6296, allocations: 8.123 MB / 0.651 GB, free: 14.02 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.63, allocations: 0.7956 MB / 0.6518 GB, free: 13.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007398/0.6307, allocations: 258.9 kB / 0.652 GB, free: 12.94 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002113/0.631, allocations: 123.4 kB / 0.6521 GB, free: 12.82 MB / 494.1 MB Notification: Performance of SimCode: time 6.72e-07/0.631, allocations: 0 / 0.6521 GB, free: 12.82 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03157/0.6625, allocations: 12.2 MB / 0.664 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002879/0.6629, allocations: 289.6 kB / 0.6643 GB, free: 432 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.167/2.83, allocations: 3.938 kB / 0.6643 GB, free: 428 kB / 494.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/FlueGasSixComponents/FlueGasSixComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches