Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",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.001072/0.001072, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001067/0.001067, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.413/1.413, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2423/0.2423, allocations: 44.18 MB / 336.6 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 67.27 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1134, allocations: 60.83 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4103/0.5237, allocations: 149.6 MB / 0.6044 GB, free: 11.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002036/0.5258, allocations: 1.597 MB / 0.606 GB, free: 9.555 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.798e-05/0.5259, allocations: 0 / 0.606 GB, free: 9.555 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003714/0.5263, allocations: 48.47 kB / 0.606 GB, free: 9.508 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001128/0.5275, allocations: 408.2 kB / 0.6064 GB, free: 9.113 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005712/0.5281, allocations: 173.3 kB / 0.6066 GB, free: 8.945 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002941/0.5284, allocations: 187.2 kB / 0.6068 GB, free: 8.762 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.443e-05/0.5285, allocations: 10.19 kB / 0.6068 GB, free: 8.754 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.5287, allocations: 71.7 kB / 0.6068 GB, free: 8.684 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.5288, allocations: 59.75 kB / 0.6069 GB, free: 8.625 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.161e-05/0.5289, allocations: 8 kB / 0.6069 GB, free: 8.617 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001229/0.5301, allocations: 0.5924 MB / 0.6075 GB, free: 8.023 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.591e-05/0.5302, allocations: 31.91 kB / 0.6075 GB, free: 7.992 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.294e-05/0.5303, allocations: 52.91 kB / 0.6076 GB, free: 7.941 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000704/0.531, allocations: 399.1 kB / 0.6079 GB, free: 7.551 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.531, allocations: 0 / 0.6079 GB, free: 7.551 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.531, allocations: 0 / 0.6079 GB, free: 7.551 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.531, allocations: 4 kB / 0.6079 GB, free: 7.547 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.000582/0.5316, allocations: 428.2 kB / 0.6083 GB, free: 7.082 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.5316, allocations: 8.031 kB / 0.6084 GB, free: 7.074 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.531e-05/0.5317, allocations: 46.73 kB / 0.6084 GB, free: 7.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002462/0.5342, allocations: 196.6 kB / 0.6086 GB, free: 6.828 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/0.5345, allocations: 215.9 kB / 0.6088 GB, free: 6.578 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.5345, allocations: 4 kB / 0.6088 GB, free: 6.574 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.042e-05/0.5345, allocations: 8 kB / 0.6088 GB, free: 6.566 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004984/0.535, allocations: 205.4 kB / 0.609 GB, free: 6.359 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.5351, allocations: 0 / 0.609 GB, free: 6.359 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.5351, allocations: 4 kB / 0.609 GB, free: 6.355 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.5351, allocations: 7.938 kB / 0.609 GB, free: 6.348 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006093/0.5357, allocations: 235.8 kB / 0.6092 GB, free: 6.117 MB / 446.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.001903/0.5376, allocations: 0.6644 MB / 0.6099 GB, free: 5.395 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000468/0.5381, allocations: 195.3 kB / 0.6101 GB, free: 5.195 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002166/0.5384, allocations: 92.81 kB / 0.6102 GB, free: 5.102 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001585/0.5385, allocations: 89.34 kB / 0.6102 GB, free: 4.996 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.5386, allocations: 34.56 kB / 0.6103 GB, free: 4.953 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.774e-06/0.5386, allocations: 0 / 0.6103 GB, free: 4.953 MB / 446.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=19): time 0.006025/0.5446, allocations: 1.541 MB / 0.6118 GB, free: 3.305 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.5446, allocations: 55.41 kB / 0.6118 GB, free: 3.238 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.858e-05/0.5447, allocations: 113.8 kB / 0.6119 GB, free: 3.117 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.851e-05/0.5448, allocations: 29.7 kB / 0.612 GB, free: 3.082 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.058e-05/0.5448, allocations: 96.31 kB / 0.6121 GB, free: 2.984 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.893e-05/0.5449, allocations: 67.05 kB / 0.6121 GB, free: 2.918 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.427e-05/0.545, allocations: 45.69 kB / 0.6122 GB, free: 2.867 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.627e-05/0.5451, allocations: 318.8 kB / 0.6125 GB, free: 2.547 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002273/0.5453, allocations: 91.94 kB / 0.6126 GB, free: 2.457 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002474/0.5456, allocations: 123 kB / 0.6127 GB, free: 2.328 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005008/0.5461, allocations: 229 kB / 0.6129 GB, free: 2.094 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.5461, allocations: 0 / 0.6129 GB, free: 2.094 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006371/0.5468, allocations: 284.4 kB / 0.6132 GB, free: 1.809 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.5468, allocations: 4 kB / 0.6132 GB, free: 1.805 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.5468, allocations: 8.094 kB / 0.6132 GB, free: 1.797 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001301/0.5469, allocations: 28.78 kB / 0.6132 GB, free: 1.766 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004897/0.5474, allocations: 55.95 kB / 0.6133 GB, free: 1.711 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003369/0.5478, allocations: 0.5327 MB / 0.6138 GB, free: 1.152 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003231/0.5481, allocations: 20.06 kB / 0.6138 GB, free: 1.133 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.084e-05/0.5482, allocations: 8 kB / 0.6138 GB, free: 1.125 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001211/0.5483, allocations: 125.8 kB / 0.6139 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.452e-05/0.5484, allocations: 11.89 kB / 0.6139 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007792/0.5492, allocations: 318 kB / 0.6142 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.5492, allocations: 3.938 kB / 0.6142 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.5492, allocations: 0 / 0.6142 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.5492, allocations: 7.938 kB / 0.6143 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.5503, allocations: 0.6716 MB / 0.6149 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.5504, allocations: 0 / 0.6149 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004832/0.5508, allocations: 52.39 kB / 0.615 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.39e-05/0.5509, allocations: 20.84 kB / 0.615 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.551, allocations: 7.984 kB / 0.615 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008614/0.5518, allocations: 1.372 MB / 0.6163 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.5519, allocations: 0 / 0.6163 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008686/0.5527, allocations: 457 kB / 0.6168 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.92e-05/0.5528, allocations: 88.92 kB / 0.6168 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.803e-05/0.5528, allocations: 4.625 kB / 0.6169 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003703/0.5532, allocations: 11.98 kB / 0.6169 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.5533, allocations: 11.98 kB / 0.6169 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-05/0.5533, allocations: 15.98 kB / 0.6169 GB, free: 13.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.687e-05/0.5533, allocations: 95.31 kB / 0.617 GB, free: 13.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5534, allocations: 0 / 0.617 GB, free: 13.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005263/0.5539, allocations: 131.9 kB / 0.6171 GB, free: 13.47 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001691/0.5556, allocations: 1.137 MB / 0.6182 GB, free: 12.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006468/0.5562, allocations: 234.6 kB / 0.6184 GB, free: 12.07 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5563, allocations: 4 kB / 0.6184 GB, free: 12.07 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004116/0.5567, allocations: 234.8 kB / 0.6187 GB, free: 11.82 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004637/0.5572, allocations: 51.77 kB / 0.6187 GB, free: 11.77 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003058/0.5602, allocations: 2.125 MB / 0.6208 GB, free: 9.527 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.5605, allocations: 0.7085 MB / 0.6215 GB, free: 8.793 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004197/0.5609, allocations: 53.77 kB / 0.6215 GB, free: 8.742 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.5611, allocations: 39.42 kB / 0.6216 GB, free: 8.703 MB / 462.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5611, allocations: 0 / 0.6216 GB, free: 8.703 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02927/0.5904, allocations: 7.904 MB / 0.6293 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12.14, allocations: 3.938 kB / 0.6293 GB, free: 0.8984 MB / 462.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches