Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001367/0.001367, allocations: 112.5 kB / 17.12 MB, free: 5.953 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.001413/0.001413, allocations: 204 kB / 20.09 MB, free: 3 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 207.6 MB / 230.5 MB, free: 4.027 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.369/0.369, allocations: 44.23 MB / 326.6 MB, free: 7.207 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002167/0.002167, allocations: 71.91 kB / 462.2 MB, free: 1.012 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.316, allocations: 61 MB / 0.511 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.5454/0.8614, allocations: 180.3 MB / 0.687 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009819/0.8712, allocations: 8.208 MB / 0.695 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001098/0.8723, allocations: 30 kB / 0.6951 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00129/0.8736, allocations: 317.7 kB / 0.6954 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004827/0.8784, allocations: 1.512 MB / 0.6969 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002849/0.8813, allocations: 1.152 MB / 0.698 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002098/0.8834, allocations: 1.851 MB / 0.6998 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005103/0.8839, allocations: 415.5 kB / 0.7002 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002345/0.8862, allocations: 1.262 MB / 0.7014 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007496/0.887, allocations: 0.6973 MB / 0.7021 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.059e-05/0.8871, allocations: 61.16 kB / 0.7022 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001553/0.8886, allocations: 0.8434 MB / 0.703 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002273/0.8889, allocations: 267.4 kB / 0.7032 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003262/0.8892, allocations: 396.4 kB / 0.7036 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001569/0.8908, allocations: 1.426 MB / 0.705 GB, free: 468 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.8908, allocations: 3.594 kB / 0.705 GB, free: 468 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8908, allocations: 0 / 0.705 GB, free: 468 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.8908, allocations: 0.7812 kB / 0.705 GB, free: 468 kB / 0.4981 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.00207/0.8928, allocations: 1.158 MB / 0.7061 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.8929, allocations: 14.8 kB / 0.7062 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001125/0.893, allocations: 96.05 kB / 0.7062 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007724/0.8938, allocations: 139.5 kB / 0.7064 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007717/0.8945, allocations: 0.5414 MB / 0.7069 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/0.8947, allocations: 107.3 kB / 0.707 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.229e-05/0.8947, allocations: 48.69 kB / 0.7071 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.8959, allocations: 0.8151 MB / 0.7078 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.8959, allocations: 0 / 0.7078 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.967e-05/0.896, allocations: 23.5 kB / 0.7079 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-05/0.896, allocations: 43.94 kB / 0.7079 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009156/0.8969, allocations: 0.6196 MB / 0.7085 GB, free: 15.14 MB / 0.5137 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.004446/0.9014, allocations: 3.982 MB / 0.7124 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004938/0.9019, allocations: 344.1 kB / 0.7127 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002409/0.9021, allocations: 167.9 kB / 0.7129 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004252/0.9025, allocations: 360.3 kB / 0.7132 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.9026, allocations: 42.03 kB / 0.7133 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=34): time 1.443e-06/0.9026, allocations: 0 / 0.7133 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of matching and sorting (n=39): time 0.005321/0.9079, allocations: 1.671 MB / 0.7149 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.769e-05/0.908, allocations: 140 kB / 0.715 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007341/0.9087, allocations: 0.6133 MB / 0.7156 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.499e-05/0.9088, allocations: 33.73 kB / 0.7157 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003092/0.9091, allocations: 377.1 kB / 0.716 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/0.9092, allocations: 151.1 kB / 0.7162 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/0.9094, allocations: 153.6 kB / 0.7163 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001954/0.9096, allocations: 377.8 kB / 0.7167 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003406/0.91, allocations: 205.5 kB / 0.7169 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006243/0.9106, allocations: 0.5129 MB / 0.7174 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.9116, allocations: 0.7467 MB / 0.7181 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.9116, allocations: 4.875 kB / 0.7181 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001453/0.9131, allocations: 0.8763 MB / 0.719 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.9131, allocations: 10.78 kB / 0.719 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.9131, allocations: 7.938 kB / 0.719 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001344/0.9145, allocations: 312.9 kB / 0.7193 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000391/0.9149, allocations: 134 kB / 0.7194 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/0.916, allocations: 0.9338 MB / 0.7203 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005092/0.9165, allocations: 29.27 kB / 0.7204 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.563e-05/0.9166, allocations: 67.27 kB / 0.7204 GB, free: 8.457 MB / 0.5137 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.0003651/0.9169, allocations: 244.8 kB / 0.7207 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.9171, allocations: 72.92 kB / 0.7207 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/0.9184, allocations: 0.681 MB / 0.7214 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.9184, allocations: 6.438 kB / 0.7214 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.9184, allocations: 0 / 0.7214 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.9184, allocations: 1.641 kB / 0.7214 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002303/0.9207, allocations: 1.615 MB / 0.723 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.9207, allocations: 0 / 0.723 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/0.9218, allocations: 208.5 kB / 0.7232 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.197e-05/0.9218, allocations: 26.12 kB / 0.7232 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.319e-05/0.9219, allocations: 19.61 kB / 0.7232 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002388/0.9243, allocations: 2.879 MB / 0.726 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.9243, allocations: 2.5 kB / 0.726 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.9255, allocations: 0.8147 MB / 0.7268 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002806/0.9257, allocations: 197.6 kB / 0.727 GB, free: 3.172 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.868e-05/0.9258, allocations: 14.02 kB / 0.727 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003775/0.9262, allocations: 15.12 kB / 0.727 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.879e-05/0.9263, allocations: 39.73 kB / 0.7271 GB, free: 3.137 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-05/0.9264, allocations: 46.27 kB / 0.7271 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005192/0.9269, allocations: 439.1 kB / 0.7275 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.9269, allocations: 0 / 0.7275 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009214/0.9278, allocations: 303.2 kB / 0.7278 GB, free: 2.824 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.002243/0.9301, allocations: 1.6 MB / 0.7294 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001514/0.9316, allocations: 0.5278 MB / 0.7299 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.9316, allocations: 4 kB / 0.7299 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001188/0.9328, allocations: 407.9 kB / 0.7303 GB, free: 1.273 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001674/0.9344, allocations: 373.9 kB / 0.7307 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009143/0.9436, allocations: 6.304 MB / 0.7368 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000664/0.9442, allocations: 0.9339 MB / 0.7377 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0008592/0.9451, allocations: 265.1 kB / 0.738 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004704/0.9456, allocations: 271.3 kB / 0.7382 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of SimCode: time 7.32e-07/0.9456, allocations: 0 / 0.7382 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06256/1.008, allocations: 25.54 MB / 0.7632 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/14.22, allocations: 0 / 0.7632 GB, free: 15.92 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.31109166800161]