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.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.0007988/0.0007988, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.000833/0.000833, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9012/0.9012, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.248/0.248, allocations: 32.79 MB / 293.5 MB, free: 1.238 MB / 266.7 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.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_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 1.192e-06/1.192e-06, allocations: 0 / 439.6 MB, free: 4.238 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.081e-05/1.2e-05, allocations: 5.234 kB / 439.6 MB, free: 4.234 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.3162/0.3162, allocations: 153.8 MB / 0.5795 GB, free: 10.68 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004277/0.3205, allocations: 4.919 MB / 0.5843 GB, free: 5.75 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002491/0.3207, allocations: 27.75 kB / 0.5843 GB, free: 5.723 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006046/0.3213, allocations: 317.8 kB / 0.5846 GB, free: 5.41 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001909/0.3233, allocations: 1.313 MB / 0.5859 GB, free: 4.094 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.3245, allocations: 1.019 MB / 0.5869 GB, free: 3.082 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001366/0.3258, allocations: 1.879 MB / 0.5888 GB, free: 1.199 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003742/0.3262, allocations: 392.5 kB / 0.5891 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001368/0.3276, allocations: 1.355 MB / 0.5905 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005573/0.3281, allocations: 0.6389 MB / 0.5911 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.863e-05/0.3282, allocations: 60 kB / 0.5911 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006376/0.3288, allocations: 0.5537 MB / 0.5917 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001834/0.329, allocations: 287.1 kB / 0.5919 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001988/0.3292, allocations: 291.3 kB / 0.5922 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001099/0.3303, allocations: 1.375 MB / 0.5936 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.3303, allocations: 0 / 0.5936 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.455e-06/0.3303, allocations: 4 kB / 0.5936 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.3303, allocations: 0 / 0.5936 GB, free: 12.25 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.001704/0.3321, allocations: 1.041 MB / 0.5946 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.3321, allocations: 8.031 kB / 0.5946 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.95e-05/0.3322, allocations: 104 kB / 0.5947 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000431/0.3326, allocations: 135.5 kB / 0.5948 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005573/0.3332, allocations: 481.4 kB / 0.5953 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.3333, allocations: 151.8 kB / 0.5954 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.536e-05/0.3333, allocations: 51.94 kB / 0.5955 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008747/0.3342, allocations: 1.144 MB / 0.5966 GB, free: 8.898 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.3342, allocations: 4 kB / 0.5966 GB, free: 8.895 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.724e-05/0.3343, allocations: 24 kB / 0.5966 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.768e-05/0.3343, allocations: 40.92 kB / 0.5967 GB, free: 8.832 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006747/0.335, allocations: 0.6166 MB / 0.5973 GB, free: 8.215 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.002461/0.3374, allocations: 3.301 MB / 0.6005 GB, free: 4.801 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000369/0.3378, allocations: 337.2 kB / 0.6008 GB, free: 4.465 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004347/0.3382, allocations: 157.3 kB / 0.601 GB, free: 4.309 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.03e-05/0.3383, allocations: 24.2 kB / 0.601 GB, free: 4.285 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.3383, allocations: 41.19 kB / 0.601 GB, free: 4.238 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 1.673e-06/0.3383, allocations: 0 / 0.601 GB, free: 4.238 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.002852/0.3412, allocations: 1.608 MB / 0.6026 GB, free: 2.582 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.3412, allocations: 136.5 kB / 0.6027 GB, free: 2.418 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004613/0.3417, allocations: 0.6366 MB / 0.6033 GB, free: 1.77 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.358e-05/0.3417, allocations: 37.7 kB / 0.6034 GB, free: 1.727 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.3419, allocations: 367.9 kB / 0.6037 GB, free: 1.363 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.037e-05/0.342, allocations: 150.7 kB / 0.6039 GB, free: 1.215 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.3421, allocations: 154.6 kB / 0.604 GB, free: 1.059 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.3422, allocations: 374.8 kB / 0.6044 GB, free: 0.6836 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002348/0.3425, allocations: 205.9 kB / 0.6046 GB, free: 492 kB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003769/0.3428, allocations: 0.5919 MB / 0.6052 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006111/0.3435, allocations: 0.7526 MB / 0.6059 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3435, allocations: 4 kB / 0.6059 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008823/0.3443, allocations: 0.8841 MB / 0.6068 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.3444, allocations: 8 kB / 0.6068 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.3444, allocations: 12 kB / 0.6068 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006843/0.345, allocations: 307.7 kB / 0.6071 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.3453, allocations: 123.8 kB / 0.6072 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009338/0.3462, allocations: 0.9341 MB / 0.6081 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.3464, allocations: 28.06 kB / 0.6081 GB, free: 12.51 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.604e-05/0.3465, allocations: 73.31 kB / 0.6082 GB, free: 12.44 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.0001988/0.3467, allocations: 246.8 kB / 0.6084 GB, free: 12.19 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.881e-05/0.3467, allocations: 75.52 kB / 0.6085 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009382/0.3477, allocations: 0.8604 MB / 0.6093 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.3477, allocations: 4 kB / 0.6093 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3477, allocations: 4 kB / 0.6093 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3477, allocations: 4 kB / 0.6094 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.3488, allocations: 1.133 MB / 0.6105 GB, free: 10.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3488, allocations: 6.438 kB / 0.6105 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005165/0.3493, allocations: 215.9 kB / 0.6107 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.103e-05/0.3494, allocations: 24.84 kB / 0.6107 GB, free: 9.785 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.3494, allocations: 23.98 kB / 0.6107 GB, free: 9.762 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001182/0.3506, allocations: 2.66 MB / 0.6133 GB, free: 6.875 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3506, allocations: 4.031 kB / 0.6133 GB, free: 6.871 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007832/0.3514, allocations: 0.8239 MB / 0.6141 GB, free: 6.012 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/0.3515, allocations: 115.5 kB / 0.6142 GB, free: 5.898 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.84e-05/0.3516, allocations: 8 kB / 0.6142 GB, free: 5.891 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.3518, allocations: 15.98 kB / 0.6143 GB, free: 5.875 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.449e-05/0.3518, allocations: 47.88 kB / 0.6143 GB, free: 5.828 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-05/0.3519, allocations: 48.11 kB / 0.6143 GB, free: 5.781 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006028/0.3525, allocations: 443 kB / 0.6148 GB, free: 5.352 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.6e-07/0.3525, allocations: 0 / 0.6148 GB, free: 5.352 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005112/0.353, allocations: 251.8 kB / 0.615 GB, free: 5.105 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.001321/0.3543, allocations: 1.554 MB / 0.6165 GB, free: 3.504 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006628/0.355, allocations: 0.5267 MB / 0.617 GB, free: 2.977 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.355, allocations: 0 / 0.617 GB, free: 2.977 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005186/0.3555, allocations: 411.6 kB / 0.6174 GB, free: 2.562 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008834/0.3564, allocations: 373.4 kB / 0.6178 GB, free: 2.223 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00578/0.3621, allocations: 6.266 MB / 0.6239 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.3624, allocations: 340.6 kB / 0.6242 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006334/0.363, allocations: 466.1 kB / 0.6247 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003189/0.3633, allocations: 280.4 kB / 0.6249 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of SimCode: time 8.61e-07/0.3633, allocations: 4 kB / 0.625 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2037/0.567, allocations: 25.67 MB / 0.65 GB, free: 163.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.258/8.825, allocations: 3 kB / 0.65 GB, free: 163.9 MB / 0.5261 GB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.91736742388457]