Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00185/0.00185, allocations: 118.1 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002093/0.002093, allocations: 189.2 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 225.6 MB / 249.8 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2215/0.2215, allocations: 44.92 MB / 349.6 MB, free: 1.77 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 71.77 kB / 491.8 MB, free: 30.11 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.122, allocations: 64.26 MB / 0.543 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.5052/0.6272, allocations: 174.9 MB / 0.7138 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.009554/0.6368, allocations: 5.36 MB / 0.7191 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008316/0.6376, allocations: 19.88 kB / 0.7191 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001107/0.6387, allocations: 321.9 kB / 0.7194 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004086/0.6428, allocations: 1.258 MB / 0.7206 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002824/0.6456, allocations: 0.9749 MB / 0.7216 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003153/0.6488, allocations: 1.856 MB / 0.7234 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007786/0.6496, allocations: 401.4 kB / 0.7238 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00278/0.6523, allocations: 1.09 MB / 0.7248 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001219/0.6536, allocations: 0.6968 MB / 0.7255 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001204/0.6537, allocations: 60 kB / 0.7256 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001704/0.6554, allocations: 0.632 MB / 0.7262 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003193/0.6557, allocations: 267.2 kB / 0.7265 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005012/0.6562, allocations: 398.2 kB / 0.7268 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002042/0.6582, allocations: 1.308 MB / 0.7281 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.6582, allocations: 4 kB / 0.7281 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.714e-06/0.6582, allocations: 0 / 0.7281 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.769e-06/0.6583, allocations: 0 / 0.7281 GB, free: 0.8984 MB / 0.5137 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.002583/0.6608, allocations: 1.125 MB / 0.7292 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.6609, allocations: 8.031 kB / 0.7292 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000145/0.661, allocations: 94.52 kB / 0.7293 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008655/0.6619, allocations: 143.5 kB / 0.7295 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.663, allocations: 0.5396 MB / 0.73 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.6631, allocations: 96.41 kB / 0.7301 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.6632, allocations: 51.98 kB / 0.7301 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.6646, allocations: 0.8174 MB / 0.7309 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.6646, allocations: 4 kB / 0.7309 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.176e-05/0.6647, allocations: 20 kB / 0.7309 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.049e-05/0.6647, allocations: 36.98 kB / 0.731 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.6658, allocations: 0.6282 MB / 0.7316 GB, free: 13.15 MB / 0.5294 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.005481/0.6713, allocations: 3.962 MB / 0.7355 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006439/0.6719, allocations: 335.6 kB / 0.7358 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002947/0.6722, allocations: 165.3 kB / 0.7359 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001409/0.6724, allocations: 93.38 kB / 0.736 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.433e-05/0.6724, allocations: 39.66 kB / 0.7361 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 2.705e-06/0.6724, allocations: 0 / 0.7361 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.00591/0.6783, allocations: 1.686 MB / 0.7377 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.6784, allocations: 140.5 kB / 0.7378 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008883/0.6793, allocations: 0.6095 MB / 0.7384 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.9e-05/0.6794, allocations: 37.7 kB / 0.7385 GB, free: 5.703 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003521/0.6797, allocations: 367.9 kB / 0.7388 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001435/0.6799, allocations: 146.7 kB / 0.739 GB, free: 5.195 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000263/0.6802, allocations: 162.6 kB / 0.7391 GB, free: 5.031 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002696/0.6804, allocations: 378.8 kB / 0.7395 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000399/0.6808, allocations: 205.9 kB / 0.7397 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006771/0.6815, allocations: 0.5125 MB / 0.7402 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.6826, allocations: 0.7522 MB / 0.7409 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.6826, allocations: 0 / 0.7409 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001616/0.6843, allocations: 0.8803 MB / 0.7418 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.6843, allocations: 13.56 kB / 0.7418 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/0.6843, allocations: 8 kB / 0.7418 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001444/0.6857, allocations: 314.4 kB / 0.7421 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004147/0.6862, allocations: 123.7 kB / 0.7422 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001237/0.6874, allocations: 0.9348 MB / 0.7431 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004897/0.6879, allocations: 24 kB / 0.7431 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.115e-05/0.688, allocations: 67.98 kB / 0.7432 GB, free: 0.5039 MB / 0.5294 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.0003915/0.6884, allocations: 253.4 kB / 0.7435 GB, free: 252 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.6885, allocations: 67.58 kB / 0.7435 GB, free: 184 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00172/0.6902, allocations: 0.8679 MB / 0.7444 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.6902, allocations: 4 kB / 0.7444 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.6902, allocations: 4 kB / 0.7444 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.6902, allocations: 0 / 0.7444 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002272/0.6925, allocations: 1.462 MB / 0.7458 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.6925, allocations: 4.031 kB / 0.7458 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/0.6936, allocations: 211.8 kB / 0.746 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001012/0.6937, allocations: 28.83 kB / 0.746 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-05/0.6937, allocations: 16 kB / 0.7461 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002608/0.6963, allocations: 2.869 MB / 0.7489 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.6963, allocations: 8.094 kB / 0.7489 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/0.6977, allocations: 0.8293 MB / 0.7497 GB, free: 9.41 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004068/0.6981, allocations: 196.6 kB / 0.7499 GB, free: 9.199 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.781e-05/0.6982, allocations: 12 kB / 0.7499 GB, free: 9.188 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003843/0.6986, allocations: 23.92 kB / 0.7499 GB, free: 9.164 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.6987, allocations: 39.89 kB / 0.7499 GB, free: 9.125 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-05/0.6988, allocations: 43.98 kB / 0.75 GB, free: 9.082 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006313/0.6994, allocations: 451 kB / 0.7504 GB, free: 8.648 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.6994, allocations: 0 / 0.7504 GB, free: 8.648 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000941/0.7004, allocations: 247.8 kB / 0.7506 GB, free: 8.406 MB / 0.545 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.002388/0.7028, allocations: 1.539 MB / 0.7521 GB, free: 6.824 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001286/0.7041, allocations: 0.5304 MB / 0.7527 GB, free: 6.297 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.822e-06/0.7041, allocations: 4 kB / 0.7527 GB, free: 6.293 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.7051, allocations: 415.9 kB / 0.7531 GB, free: 5.875 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001641/0.7067, allocations: 368.7 kB / 0.7534 GB, free: 5.527 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009419/0.7162, allocations: 6.342 MB / 0.7596 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006636/0.7168, allocations: 0.9337 MB / 0.7605 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001161/0.718, allocations: 462.4 kB / 0.761 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005309/0.7185, allocations: 291.2 kB / 0.7612 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of SimCode: time 1.282e-06/0.7185, allocations: 0 / 0.7612 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06512/0.7836, allocations: 24.51 MB / 0.7852 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/13.96, allocations: 12.41 kB / 0.7852 GB, free: 4.797 MB / 0.5762 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 17.316499998793006]