Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002066/0.002066, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002462/0.002462, allocations: 213.9 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.484/1.484, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2457/0.2457, allocations: 46.96 MB / 360.9 MB, free: 4.012 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 63.91 kB / 0.4961 GB, free: 7.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3631, allocations: 66.03 MB / 0.5606 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2133/0.5764, allocations: 153.9 MB / 0.7109 GB, free: 9.734 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008397/0.5848, allocations: 4.922 MB / 0.7157 GB, free: 4.797 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008842/0.5856, allocations: 31.69 kB / 0.7157 GB, free: 4.766 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.5867, allocations: 306 kB / 0.716 GB, free: 4.465 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003813/0.5905, allocations: 1.291 MB / 0.7173 GB, free: 3.172 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002933/0.5934, allocations: 0.981 MB / 0.7182 GB, free: 2.195 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003231/0.5966, allocations: 1.871 MB / 0.72 GB, free: 324 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009712/0.5976, allocations: 389.8 kB / 0.7204 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002971/0.6006, allocations: 1.117 MB / 0.7215 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001175/0.6018, allocations: 0.6929 MB / 0.7222 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001358/0.6019, allocations: 60 kB / 0.7222 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001698/0.6036, allocations: 0.5501 MB / 0.7228 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003826/0.604, allocations: 267.2 kB / 0.723 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004828/0.6045, allocations: 338.6 kB / 0.7234 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002054/0.6065, allocations: 1.308 MB / 0.7246 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.6065, allocations: 0 / 0.7246 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.144e-06/0.6065, allocations: 0 / 0.7246 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.164e-05/0.6065, allocations: 0 / 0.7246 GB, free: 11.6 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.002416/0.6089, allocations: 1.045 MB / 0.7257 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.609, allocations: 8.031 kB / 0.7257 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000144/0.6091, allocations: 102.5 kB / 0.7258 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008325/0.61, allocations: 151.3 kB / 0.7259 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.6111, allocations: 469.5 kB / 0.7264 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001633/0.6112, allocations: 151.8 kB / 0.7265 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.6113, allocations: 51.98 kB / 0.7265 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001577/0.6129, allocations: 1.144 MB / 0.7277 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.6129, allocations: 3.984 kB / 0.7277 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.565e-05/0.613, allocations: 20 kB / 0.7277 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.674e-05/0.6131, allocations: 44.91 kB / 0.7277 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.6142, allocations: 0.6204 MB / 0.7283 GB, free: 7.562 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.004865/0.6191, allocations: 3.301 MB / 0.7316 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006428/0.6197, allocations: 335.6 kB / 0.7319 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002924/0.62, allocations: 161.3 kB / 0.732 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001191/0.6201, allocations: 8.281 kB / 0.732 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.6201, allocations: 38.84 kB / 0.7321 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.405e-06/0.6201, allocations: 0 / 0.7321 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005856/0.626, allocations: 1.613 MB / 0.7337 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.46e-05/0.6261, allocations: 140.5 kB / 0.7338 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008919/0.627, allocations: 0.6288 MB / 0.7344 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.643e-05/0.627, allocations: 29.7 kB / 0.7344 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003119/0.6274, allocations: 387.6 kB / 0.7348 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/0.6275, allocations: 150.8 kB / 0.7349 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002373/0.6277, allocations: 154.6 kB / 0.7351 GB, free: 392 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002212/0.628, allocations: 382.8 kB / 0.7355 GB, free: 0 / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.259/0.8869, allocations: 197.2 kB / 0.7356 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006338/0.8876, allocations: 0.5845 MB / 0.7362 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.8888, allocations: 0.7514 MB / 0.737 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.864e-06/0.8888, allocations: 2.906 kB / 0.737 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001774/0.8905, allocations: 0.8804 MB / 0.7378 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.8906, allocations: 8.344 kB / 0.7378 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/0.8906, allocations: 10.12 kB / 0.7378 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001454/0.892, allocations: 315.9 kB / 0.7381 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003896/0.8924, allocations: 119.2 kB / 0.7382 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008919/0.8933, allocations: 0.9369 MB / 0.7392 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005114/0.8938, allocations: 29.77 kB / 0.7392 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.135e-05/0.8939, allocations: 64.89 kB / 0.7393 GB, free: 173.6 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.0002946/0.8942, allocations: 252.8 kB / 0.7395 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.8943, allocations: 76.02 kB / 0.7396 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/0.8957, allocations: 0.8673 MB / 0.7404 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.8958, allocations: 3.812 kB / 0.7404 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.8958, allocations: 0 / 0.7404 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.8958, allocations: 5.75 kB / 0.7404 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001634/0.8974, allocations: 1.136 MB / 0.7415 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.8974, allocations: 4 kB / 0.7415 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009347/0.8983, allocations: 210.6 kB / 0.7417 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.715e-05/0.8984, allocations: 28.08 kB / 0.7418 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.393e-05/0.8985, allocations: 24.62 kB / 0.7418 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001332/0.8998, allocations: 2.668 MB / 0.7444 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.8998, allocations: 4.031 kB / 0.7444 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009696/0.9008, allocations: 0.8206 MB / 0.7452 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002682/0.9011, allocations: 118 kB / 0.7453 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.065e-05/0.9011, allocations: 11.5 kB / 0.7453 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003717/0.9015, allocations: 19.66 kB / 0.7453 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.921e-05/0.9016, allocations: 40.98 kB / 0.7454 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.289e-05/0.9016, allocations: 43.45 kB / 0.7454 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004107/0.9021, allocations: 437.7 kB / 0.7458 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.9021, allocations: 0 / 0.7458 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008281/0.9029, allocations: 266.2 kB / 0.7461 GB, free: 168 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.001632/0.9045, allocations: 1.533 MB / 0.7476 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001027/0.9055, allocations: 0.5309 MB / 0.7481 GB, free: 166 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.9055, allocations: 3.938 kB / 0.7481 GB, free: 166 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008261/0.9064, allocations: 405.8 kB / 0.7485 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/0.9079, allocations: 371.2 kB / 0.7488 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006459/0.9143, allocations: 6.328 MB / 0.755 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.9146, allocations: 348.3 kB / 0.7554 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008853/0.9155, allocations: 464.6 kB / 0.7558 GB, free: 157.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003943/0.9159, allocations: 283.3 kB / 0.7561 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of SimCode: time 7.32e-07/0.9159, allocations: 0 / 0.7561 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05996/0.9758, allocations: 25.64 MB / 0.7811 GB, free: 132.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.06/15.04, allocations: 3.984 kB / 0.7811 GB, free: 132.2 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/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_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.241287694778293]