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.0008464/0.0008464, allocations: 80.34 kB / 20.67 MB, free: 3.883 MB / 18.57 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.0009288/0.0009288, allocations: 160.9 kB / 23.95 MB, free: 0.6055 MB / 18.57 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 0.9356/0.9356, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.2612/0.2612, allocations: 34.24 MB / 294.8 MB, free: 0.6836 MB / 266.7 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 1.423e-06/1.423e-06, allocations: 0 / 442.2 MB, free: 1.559 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.414e-05/2.556e-05, allocations: 6.219 kB / 442.2 MB, free: 1.551 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.3578/0.3578, allocations: 153.8 MB / 0.582 GB, free: 6.492 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00551/0.3633, allocations: 4.915 MB / 0.5868 GB, free: 1.566 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006003/0.3639, allocations: 31.69 kB / 0.5869 GB, free: 1.535 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007416/0.3647, allocations: 309.8 kB / 0.5872 GB, free: 1.23 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00262/0.3673, allocations: 1.323 MB / 0.5884 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002007/0.3693, allocations: 1.008 MB / 0.5894 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.002316/0.3716, allocations: 1.879 MB / 0.5913 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006986/0.3723, allocations: 393.5 kB / 0.5916 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002175/0.3745, allocations: 1.351 MB / 0.593 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008672/0.3753, allocations: 0.635 MB / 0.5936 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.3754, allocations: 60 kB / 0.5936 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.3766, allocations: 0.5615 MB / 0.5942 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002432/0.3768, allocations: 287.1 kB / 0.5945 GB, free: 9.734 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002821/0.3771, allocations: 283.4 kB / 0.5947 GB, free: 9.457 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001901/0.379, allocations: 1.387 MB / 0.5961 GB, free: 8.066 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.379, allocations: 0 / 0.5961 GB, free: 8.066 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.493e-06/0.379, allocations: 0 / 0.5961 GB, free: 8.066 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.994e-05/0.379, allocations: 0 / 0.5961 GB, free: 8.066 MB / 0.4948 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.001714/0.3807, allocations: 1.045 MB / 0.5971 GB, free: 6.984 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.3808, allocations: 8.031 kB / 0.5971 GB, free: 6.977 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.227e-05/0.3808, allocations: 98.5 kB / 0.5972 GB, free: 6.871 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007793/0.3816, allocations: 135.5 kB / 0.5973 GB, free: 6.738 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006557/0.3823, allocations: 481.4 kB / 0.5978 GB, free: 6.242 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/0.3824, allocations: 159.8 kB / 0.5979 GB, free: 6.059 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.2e-05/0.3825, allocations: 44 kB / 0.598 GB, free: 6.016 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009795/0.3835, allocations: 1.132 MB / 0.5991 GB, free: 4.734 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.3835, allocations: 7.938 kB / 0.5991 GB, free: 4.727 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.216e-05/0.3835, allocations: 29.58 kB / 0.5991 GB, free: 4.699 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.126e-05/0.3836, allocations: 40.97 kB / 0.5992 GB, free: 4.66 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007247/0.3843, allocations: 0.6127 MB / 0.5998 GB, free: 4.047 MB / 0.4948 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.002912/0.3872, allocations: 3.315 MB / 0.603 GB, free: 0.6211 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004253/0.3876, allocations: 333 kB / 0.6033 GB, free: 296 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.3878, allocations: 168 kB / 0.6035 GB, free: 128 kB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.533e-05/0.3879, allocations: 8.281 kB / 0.6035 GB, free: 120 kB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.3879, allocations: 38.84 kB / 0.6035 GB, free: 72 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 2.224e-06/0.3879, allocations: 0 / 0.6035 GB, free: 72 kB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.003789/0.3917, allocations: 1.607 MB / 0.6051 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.432e-05/0.3918, allocations: 136.5 kB / 0.6052 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005817/0.3924, allocations: 0.6326 MB / 0.6058 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.587e-05/0.3924, allocations: 37.7 kB / 0.6059 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002217/0.3927, allocations: 372.7 kB / 0.6062 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.981e-05/0.3927, allocations: 146.8 kB / 0.6064 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/0.3929, allocations: 158.6 kB / 0.6065 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.393, allocations: 374.8 kB / 0.6069 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000259/0.3933, allocations: 205.9 kB / 0.6071 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004389/0.3937, allocations: 0.588 MB / 0.6077 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006986/0.3944, allocations: 0.7516 MB / 0.6084 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.3944, allocations: 4 kB / 0.6084 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001057/0.3955, allocations: 0.8759 MB / 0.6092 GB, free: 9.777 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/0.3955, allocations: 10.72 kB / 0.6093 GB, free: 9.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/0.3955, allocations: 16.03 kB / 0.6093 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009084/0.3964, allocations: 309.4 kB / 0.6096 GB, free: 9.449 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000265/0.3967, allocations: 127.8 kB / 0.6097 GB, free: 9.324 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008857/0.3976, allocations: 0.9344 MB / 0.6106 GB, free: 8.367 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003131/0.3979, allocations: 31.98 kB / 0.6106 GB, free: 8.336 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.755e-05/0.398, allocations: 67.98 kB / 0.6107 GB, free: 8.27 MB / 0.5105 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.0005998/0.3986, allocations: 237.5 kB / 0.6109 GB, free: 8.027 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.978e-05/0.3987, allocations: 75.52 kB / 0.611 GB, free: 7.953 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/0.3997, allocations: 0.878 MB / 0.6119 GB, free: 7.07 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.3997, allocations: 4 kB / 0.6119 GB, free: 7.066 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.3998, allocations: 0 / 0.6119 GB, free: 7.066 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.3998, allocations: 11.97 kB / 0.6119 GB, free: 7.055 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00153/0.4013, allocations: 1.125 MB / 0.613 GB, free: 5.859 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.4013, allocations: 12.12 kB / 0.613 GB, free: 5.848 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005699/0.4019, allocations: 201.5 kB / 0.6132 GB, free: 5.652 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.226e-05/0.402, allocations: 32.77 kB / 0.6132 GB, free: 5.617 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.02e-05/0.402, allocations: 20 kB / 0.6132 GB, free: 5.598 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001613/0.4036, allocations: 2.656 MB / 0.6158 GB, free: 2.715 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.4036, allocations: 10.09 kB / 0.6158 GB, free: 2.707 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009101/0.4045, allocations: 0.8148 MB / 0.6166 GB, free: 1.855 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002008/0.4047, allocations: 119.6 kB / 0.6167 GB, free: 1.738 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.387e-05/0.4048, allocations: 15.88 kB / 0.6167 GB, free: 1.723 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.405, allocations: 19.98 kB / 0.6168 GB, free: 1.703 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.313e-05/0.4051, allocations: 43.88 kB / 0.6168 GB, free: 1.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.591e-05/0.4051, allocations: 43.98 kB / 0.6169 GB, free: 1.617 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003889/0.4055, allocations: 435 kB / 0.6173 GB, free: 1.195 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.51e-07/0.4055, allocations: 0.5625 kB / 0.6173 GB, free: 1.195 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000745/0.4062, allocations: 259.7 kB / 0.6175 GB, free: 0.9414 MB / 0.5105 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.00179/0.408, allocations: 1.549 MB / 0.619 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008146/0.4088, allocations: 0.5308 MB / 0.6195 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.4088, allocations: 0.625 kB / 0.6195 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005967/0.4094, allocations: 419.3 kB / 0.6199 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.4104, allocations: 369.4 kB / 0.6203 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006934/0.4174, allocations: 6.261 MB / 0.6264 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.4176, allocations: 328.7 kB / 0.6267 GB, free: 7.039 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007935/0.4184, allocations: 459.1 kB / 0.6272 GB, free: 6.59 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003779/0.4188, allocations: 296.4 kB / 0.6274 GB, free: 6.301 MB / 0.5261 GB Notification: Performance of SimCode: time 1.322e-06/0.4188, allocations: 0 / 0.6274 GB, free: 6.301 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2269/0.6457, allocations: 25.67 MB / 0.6525 GB, free: 162 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.379/9.025, allocations: 10.61 kB / 0.6525 GB, free: 162 MB / 0.5261 GB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins/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: 11.239814952015877]