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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00129/0.00129, allocations: 111.1 kB / 20.44 MB, free: 1.34 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001415/0.001415, allocations: 209.1 kB / 23.72 MB, free: 4.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 230.5 MB / 257.4 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2395/0.2395, allocations: 46.95 MB / 360.8 MB, free: 3.941 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002224/0.002224, allocations: 79.88 kB / 0.4962 GB, free: 7.543 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3035, allocations: 66.08 MB / 0.5607 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.1847/0.4882, allocations: 153.8 MB / 0.7109 GB, free: 9.496 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00725/0.4955, allocations: 4.914 MB / 0.7157 GB, free: 4.566 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005695/0.4961, allocations: 31.69 kB / 0.7157 GB, free: 4.535 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008787/0.4969, allocations: 310 kB / 0.716 GB, free: 4.23 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003374/0.5003, allocations: 1.372 MB / 0.7174 GB, free: 2.855 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002757/0.5031, allocations: 1.058 MB / 0.7184 GB, free: 1.801 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002317/0.5054, allocations: 1.883 MB / 0.7202 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006136/0.506, allocations: 381.7 kB / 0.7206 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002214/0.5082, allocations: 1.133 MB / 0.7217 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001284/0.5095, allocations: 0.7822 MB / 0.7225 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000136/0.5096, allocations: 60 kB / 0.7225 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001241/0.5109, allocations: 0.569 MB / 0.7231 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002915/0.5112, allocations: 275.2 kB / 0.7233 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003759/0.5115, allocations: 334.6 kB / 0.7237 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001663/0.5132, allocations: 1.3 MB / 0.7249 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.5132, allocations: 4 kB / 0.7249 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5132, allocations: 0 / 0.7249 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.474e-05/0.5132, allocations: 0 / 0.7249 GB, free: 11.08 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.00215/0.5154, allocations: 1.041 MB / 0.726 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.5154, allocations: 8.031 kB / 0.726 GB, free: 10 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001287/0.5155, allocations: 102.5 kB / 0.7261 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008076/0.5163, allocations: 143.4 kB / 0.7262 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009499/0.5173, allocations: 485.3 kB / 0.7267 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.5174, allocations: 147.8 kB / 0.7268 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.862e-05/0.5175, allocations: 48 kB / 0.7269 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00147/0.519, allocations: 1.147 MB / 0.728 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.519, allocations: 3.938 kB / 0.728 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.096e-05/0.5191, allocations: 24 kB / 0.728 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.781e-05/0.5192, allocations: 48.89 kB / 0.728 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.5202, allocations: 0.6166 MB / 0.7286 GB, free: 7.035 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.004361/0.5246, allocations: 3.297 MB / 0.7319 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005814/0.5251, allocations: 342.3 kB / 0.7322 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002698/0.5254, allocations: 161.3 kB / 0.7323 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.392e-05/0.5255, allocations: 12.27 kB / 0.7324 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.5255, allocations: 38.84 kB / 0.7324 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.904e-06/0.5255, allocations: 0 / 0.7324 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005425/0.531, allocations: 1.612 MB / 0.734 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/0.5311, allocations: 136.5 kB / 0.7341 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008078/0.5319, allocations: 0.6327 MB / 0.7347 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.243e-05/0.532, allocations: 37.64 kB / 0.7348 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000367/0.5323, allocations: 371.8 kB / 0.7351 GB, free: 172 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000138/0.5325, allocations: 154.7 kB / 0.7353 GB, free: 16 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2491/0.7816, allocations: 151.3 kB / 0.7354 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.7817, allocations: 375.5 kB / 0.7358 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004747/0.7822, allocations: 208.7 kB / 0.736 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006616/0.7829, allocations: 0.5841 MB / 0.7365 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.784, allocations: 0.7536 MB / 0.7373 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/0.784, allocations: 3.922 kB / 0.7373 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001751/0.7857, allocations: 0.8844 MB / 0.7381 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.7858, allocations: 10.25 kB / 0.7381 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.7858, allocations: 9.031 kB / 0.7381 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001319/0.7871, allocations: 313.6 kB / 0.7384 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003633/0.7875, allocations: 125.1 kB / 0.7386 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00086/0.7883, allocations: 0.9266 MB / 0.7395 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004748/0.7888, allocations: 28.56 kB / 0.7395 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.455e-05/0.7889, allocations: 68.09 kB / 0.7396 GB, free: 173.2 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.0002974/0.7892, allocations: 249.7 kB / 0.7398 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.7893, allocations: 72.39 kB / 0.7399 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00143/0.7907, allocations: 0.8589 MB / 0.7407 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.7907, allocations: 3.656 kB / 0.7407 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.7907, allocations: 1.562 kB / 0.7407 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.7907, allocations: 1.781 kB / 0.7407 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001572/0.7923, allocations: 1.148 MB / 0.7418 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.7923, allocations: 0 / 0.7418 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009225/0.7932, allocations: 208.1 kB / 0.742 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.653e-05/0.7933, allocations: 29.67 kB / 0.7421 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.448e-05/0.7933, allocations: 23.66 kB / 0.7421 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001268/0.7946, allocations: 2.666 MB / 0.7447 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.7946, allocations: 0 / 0.7447 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008955/0.7955, allocations: 0.8265 MB / 0.7455 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002401/0.7957, allocations: 118.1 kB / 0.7456 GB, free: 168 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.897e-05/0.7958, allocations: 12 kB / 0.7456 GB, free: 168 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003392/0.7962, allocations: 16.3 kB / 0.7456 GB, free: 168 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.062e-05/0.7962, allocations: 42.88 kB / 0.7457 GB, free: 168 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.016e-05/0.7963, allocations: 48.88 kB / 0.7457 GB, free: 168 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003658/0.7967, allocations: 442.9 kB / 0.7461 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7967, allocations: 0 / 0.7461 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007579/0.7974, allocations: 256.3 kB / 0.7464 GB, free: 167.4 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.001542/0.799, allocations: 1.526 MB / 0.7479 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009633/0.7999, allocations: 0.5341 MB / 0.7484 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.7999, allocations: 7.953 kB / 0.7484 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008083/0.8007, allocations: 401 kB / 0.7488 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/0.8022, allocations: 375.5 kB / 0.7492 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00621/0.8084, allocations: 6.336 MB / 0.7553 GB, free: 157.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.8087, allocations: 336.4 kB / 0.7557 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000867/0.8095, allocations: 463.7 kB / 0.7561 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003719/0.8099, allocations: 287.3 kB / 0.7564 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of SimCode: time 6.81e-07/0.8099, allocations: 0 / 0.7564 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05264/0.8625, allocations: 25.88 MB / 0.7816 GB, free: 131.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.5/14.36, allocations: 11.44 kB / 0.7817 GB, free: 131.2 MB / 0.5606 GB " [Timeout remaining time 646] (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.000201919 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.363405189011246]