Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.001892/0.001892, allocations: 107.1 kB / 20.44 MB, free: 1.195 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.001898/0.001898, allocations: 216.2 kB / 23.73 MB, free: 4.406 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.478/1.478, allocations: 230.5 MB / 257.4 MB, free: 7.754 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.2308/0.2308, allocations: 46.95 MB / 360.8 MB, free: 3.93 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.Air,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00257/0.00257, allocations: 80.06 kB / 0.4962 GB, free: 7.535 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3652, allocations: 66.09 MB / 0.5607 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.1976/0.5628, allocations: 153.9 MB / 0.711 GB, free: 9.562 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007509/0.5703, allocations: 4.922 MB / 0.7158 GB, free: 4.625 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006568/0.571, allocations: 27.75 kB / 0.7158 GB, free: 4.598 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009036/0.5719, allocations: 310 kB / 0.7161 GB, free: 4.293 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00329/0.5752, allocations: 1.282 MB / 0.7174 GB, free: 3.008 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002655/0.5778, allocations: 0.9897 MB / 0.7183 GB, free: 2.023 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002387/0.5802, allocations: 1.864 MB / 0.7201 GB, free: 156 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006237/0.5808, allocations: 393.6 kB / 0.7205 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002328/0.5831, allocations: 1.117 MB / 0.7216 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001159/0.5843, allocations: 0.6851 MB / 0.7223 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.5844, allocations: 64 kB / 0.7223 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001338/0.5858, allocations: 0.5462 MB / 0.7229 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002818/0.5861, allocations: 271.2 kB / 0.7231 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004252/0.5865, allocations: 342.5 kB / 0.7235 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001726/0.5882, allocations: 1.3 MB / 0.7247 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.5882, allocations: 0 / 0.7247 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.717e-06/0.5882, allocations: 4 kB / 0.7247 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.5882, allocations: 3.938 kB / 0.7247 GB, free: 11.43 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.002171/0.5904, allocations: 1.041 MB / 0.7258 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.5904, allocations: 8.031 kB / 0.7258 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001258/0.5906, allocations: 98.45 kB / 0.7259 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007739/0.5913, allocations: 151.4 kB / 0.726 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009056/0.5922, allocations: 477.4 kB / 0.7265 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/0.5924, allocations: 151.8 kB / 0.7266 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.586e-05/0.5925, allocations: 51.98 kB / 0.7266 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.5939, allocations: 1.136 MB / 0.7278 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.5939, allocations: 3.938 kB / 0.7278 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.446e-05/0.594, allocations: 27.98 kB / 0.7278 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.227e-05/0.5941, allocations: 44.91 kB / 0.7278 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.5951, allocations: 0.6166 MB / 0.7284 GB, free: 7.391 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.004412/0.5995, allocations: 3.304 MB / 0.7317 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005853/0.6001, allocations: 338.4 kB / 0.732 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002823/0.6004, allocations: 165.3 kB / 0.7321 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.069e-05/0.6005, allocations: 8.281 kB / 0.7321 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.6005, allocations: 38.84 kB / 0.7322 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.575e-06/0.6005, allocations: 0 / 0.7322 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005842/0.6064, allocations: 1.608 MB / 0.7338 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.95e-05/0.6064, allocations: 136.5 kB / 0.7339 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008002/0.6072, allocations: 0.6327 MB / 0.7345 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.596e-05/0.6073, allocations: 37.7 kB / 0.7345 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003247/0.6076, allocations: 375.8 kB / 0.7349 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/0.6078, allocations: 150.8 kB / 0.735 GB, free: 380 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002221/0.608, allocations: 154.6 kB / 0.7352 GB, free: 220 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.2564/0.8644, allocations: 372.5 kB / 0.7355 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006158/0.865, allocations: 206.4 kB / 0.7357 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006223/0.8656, allocations: 0.5869 MB / 0.7363 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.8667, allocations: 0.7549 MB / 0.7371 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.206e-06/0.8667, allocations: 3.25 kB / 0.7371 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001697/0.8684, allocations: 0.8736 MB / 0.7379 GB, free: 174 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.8684, allocations: 10.28 kB / 0.7379 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.8684, allocations: 13.91 kB / 0.7379 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001324/0.8697, allocations: 310.6 kB / 0.7382 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003735/0.8701, allocations: 126.8 kB / 0.7383 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008447/0.871, allocations: 0.9268 MB / 0.7393 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004982/0.8715, allocations: 26 kB / 0.7393 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-05/0.8715, allocations: 67.08 kB / 0.7393 GB, free: 173.3 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.0003003/0.8718, allocations: 257.7 kB / 0.7396 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.8719, allocations: 70.41 kB / 0.7397 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/0.8734, allocations: 0.8587 MB / 0.7405 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.8734, allocations: 3.531 kB / 0.7405 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.8734, allocations: 6.594 kB / 0.7405 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.8734, allocations: 2.016 kB / 0.7405 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001736/0.8751, allocations: 1.138 MB / 0.7416 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.8751, allocations: 4 kB / 0.7416 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009298/0.8761, allocations: 211.9 kB / 0.7418 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.311e-05/0.8761, allocations: 24.47 kB / 0.7418 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.572e-05/0.8762, allocations: 23.66 kB / 0.7419 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001281/0.8775, allocations: 2.669 MB / 0.7445 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.8775, allocations: 4.031 kB / 0.7445 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009692/0.8784, allocations: 0.8342 MB / 0.7453 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002496/0.8787, allocations: 114.8 kB / 0.7454 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.05e-05/0.8788, allocations: 12 kB / 0.7454 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000365/0.8791, allocations: 19.59 kB / 0.7454 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.752e-05/0.8792, allocations: 45.47 kB / 0.7455 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.261e-05/0.8793, allocations: 47.55 kB / 0.7455 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004017/0.8797, allocations: 439.7 kB / 0.7459 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.8797, allocations: 0 / 0.7459 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008157/0.8805, allocations: 255.9 kB / 0.7462 GB, free: 167.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.001548/0.882, allocations: 1.526 MB / 0.7477 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009515/0.883, allocations: 0.536 MB / 0.7482 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.883, allocations: 0 / 0.7482 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008143/0.8838, allocations: 409.9 kB / 0.7486 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001449/0.8852, allocations: 367.2 kB / 0.7489 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006386/0.8916, allocations: 6.341 MB / 0.7551 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/0.8919, allocations: 340.4 kB / 0.7555 GB, free: 157.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008714/0.8927, allocations: 461.6 kB / 0.7559 GB, free: 157.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003787/0.8931, allocations: 283.3 kB / 0.7562 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of SimCode: time 6.52e-07/0.8931, allocations: 0 / 0.7562 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05833/0.9514, allocations: 25.63 MB / 0.7812 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.06/15.01, allocations: 3.781 kB / 0.7812 GB, free: 131.7 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_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_Air.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.Air_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.170877530705184]