Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0011/0.0011, allocations: 118.7 kB / 17.78 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001213/0.001213, allocations: 203.9 kB / 18.74 MB, free: 4.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2227/0.2227, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001517, allocations: 71.88 kB / 480.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3918, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.1983/0.5902, allocations: 177.3 MB / 0.7036 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007181/0.5974, allocations: 5.335 MB / 0.7088 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007689/0.5983, allocations: 19.88 kB / 0.7089 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.5993, allocations: 325.9 kB / 0.7092 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003772/0.6032, allocations: 1.36 MB / 0.7105 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002832/0.606, allocations: 1.057 MB / 0.7115 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002439/0.6085, allocations: 1.856 MB / 0.7133 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009422/0.6094, allocations: 461.4 kB / 0.7138 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002617/0.6121, allocations: 1.109 MB / 0.7149 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001657/0.6137, allocations: 0.755 MB / 0.7156 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002847/0.614, allocations: 60 kB / 0.7157 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002193/0.6162, allocations: 0.6281 MB / 0.7163 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000534/0.6168, allocations: 259.3 kB / 0.7165 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008386/0.6176, allocations: 406.2 kB / 0.7169 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002777/0.6204, allocations: 1.304 MB / 0.7182 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.6204, allocations: 0 / 0.7182 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6205, allocations: 0 / 0.7182 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.085e-05/0.6205, allocations: 0 / 0.7182 GB, free: 0.9219 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.2797/0.9002, allocations: 1.119 MB / 0.7193 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.93e-05/0.9003, allocations: 9.25 kB / 0.7193 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001757/0.9004, allocations: 99.09 kB / 0.7194 GB, free: 186.1 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.9015, allocations: 145.3 kB / 0.7195 GB, free: 186.1 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000996/0.9025, allocations: 0.5303 MB / 0.72 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/0.9026, allocations: 112.8 kB / 0.7201 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.9027, allocations: 44.8 kB / 0.7202 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/0.9042, allocations: 0.8139 MB / 0.721 GB, free: 185.3 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/0.9042, allocations: 4.359 kB / 0.721 GB, free: 185.3 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.528e-05/0.9043, allocations: 27.06 kB / 0.721 GB, free: 185.2 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.259e-05/0.9044, allocations: 40.91 kB / 0.721 GB, free: 185.2 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009436/0.9053, allocations: 0.621 MB / 0.7217 GB, free: 185 MB / 0.5606 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.003623/0.909, allocations: 3.944 MB / 0.7255 GB, free: 181.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005646/0.9096, allocations: 350.2 kB / 0.7258 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002731/0.9098, allocations: 175 kB / 0.726 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/0.91, allocations: 94.8 kB / 0.7261 GB, free: 181.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.91, allocations: 42.31 kB / 0.7261 GB, free: 181.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.174e-06/0.91, allocations: 3.656 kB / 0.7261 GB, free: 181.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005158/0.9152, allocations: 1.688 MB / 0.7278 GB, free: 180.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.9152, allocations: 137 kB / 0.7279 GB, free: 179.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006976/0.9159, allocations: 0.6102 MB / 0.7285 GB, free: 179.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.611e-05/0.916, allocations: 37.14 kB / 0.7286 GB, free: 179.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.9162, allocations: 366.7 kB / 0.7289 GB, free: 179.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.608e-05/0.9163, allocations: 154.6 kB / 0.729 GB, free: 179.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000214/0.9165, allocations: 156.4 kB / 0.7292 GB, free: 179 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.843e-05/0.9166, allocations: 375.4 kB / 0.7296 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003475/0.917, allocations: 203.8 kB / 0.7297 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004551/0.9174, allocations: 0.5118 MB / 0.7302 GB, free: 178 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007921/0.9182, allocations: 0.7486 MB / 0.731 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.473e-06/0.9182, allocations: 7.094 kB / 0.731 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001382/0.9196, allocations: 0.8963 MB / 0.7319 GB, free: 177 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.9197, allocations: 10.91 kB / 0.7319 GB, free: 177 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/0.9197, allocations: 10.47 kB / 0.7319 GB, free: 177 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0013/0.921, allocations: 310 kB / 0.7322 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003899/0.9214, allocations: 123.8 kB / 0.7323 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009562/0.9224, allocations: 0.9399 MB / 0.7332 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004996/0.9229, allocations: 26.77 kB / 0.7332 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.923, allocations: 66.59 kB / 0.7333 GB, free: 176.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.000295/0.9233, allocations: 247.5 kB / 0.7335 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.9234, allocations: 69.64 kB / 0.7336 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001439/0.9248, allocations: 0.8602 MB / 0.7344 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.9249, allocations: 6.297 kB / 0.7345 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.9249, allocations: 4.969 kB / 0.7345 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.9249, allocations: 5.281 kB / 0.7345 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/0.9265, allocations: 1.458 MB / 0.7359 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.9265, allocations: 0 / 0.7359 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009212/0.9274, allocations: 211.9 kB / 0.7361 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.698e-05/0.9275, allocations: 23.09 kB / 0.7361 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.873e-05/0.9276, allocations: 21.16 kB / 0.7361 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001349/0.9289, allocations: 2.881 MB / 0.7389 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.9289, allocations: 0 / 0.7389 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009706/0.9299, allocations: 0.8235 MB / 0.7397 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002197/0.9301, allocations: 196.7 kB / 0.7399 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.13e-05/0.9302, allocations: 11.94 kB / 0.7399 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003665/0.9306, allocations: 23.98 kB / 0.74 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.957e-05/0.9307, allocations: 39.89 kB / 0.74 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-05/0.9308, allocations: 43.98 kB / 0.74 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000379/0.9312, allocations: 439 kB / 0.7405 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9312, allocations: 0 / 0.7405 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007917/0.932, allocations: 259.8 kB / 0.7407 GB, free: 169.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: 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.001668/0.9336, allocations: 1.554 MB / 0.7422 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009394/0.9346, allocations: 0.5597 MB / 0.7428 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.9346, allocations: 5.219 kB / 0.7428 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008186/0.9354, allocations: 419.4 kB / 0.7432 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/0.9368, allocations: 367.7 kB / 0.7435 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006232/0.943, allocations: 6.335 MB / 0.7497 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.9434, allocations: 0.9299 MB / 0.7506 GB, free: 158.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008816/0.9443, allocations: 462.4 kB / 0.7511 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004263/0.9447, allocations: 287.3 kB / 0.7513 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of SimCode: time 7.01e-07/0.9447, allocations: 0 / 0.7513 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04318/0.9879, allocations: 24.41 MB / 0.7752 GB, free: 134 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/13.33, allocations: 12.25 kB / 0.7752 GB, free: 134 MB / 0.5606 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.p