Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.0013/0.0013, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001448/0.001448, allocations: 210.7 kB / 23.72 MB, free: 4.391 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.479/1.479, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.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.2162/0.2162, allocations: 44.94 MB / 358.8 MB, free: 6.047 MB / 286.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.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.Air.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002314/0.002314, allocations: 68.19 kB / 0.493 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3361, allocations: 65.47 MB / 0.557 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1742/0.5102, allocations: 130.3 MB / 0.6842 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007977/0.5182, allocations: 5.168 MB / 0.6892 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005238/0.5187, allocations: 31.75 kB / 0.6893 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00095/0.5197, allocations: 318 kB / 0.6896 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001945/0.5216, allocations: 0.8862 MB / 0.6904 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002623/0.5242, allocations: 1.047 MB / 0.6915 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002355/0.5266, allocations: 1.817 MB / 0.6932 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006084/0.5272, allocations: 389.6 kB / 0.6936 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001339/0.5285, allocations: 0.7903 MB / 0.6944 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001151/0.5297, allocations: 0.7397 MB / 0.6951 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.5298, allocations: 60 kB / 0.6952 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001129/0.531, allocations: 491.1 kB / 0.6956 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003228/0.5313, allocations: 275.2 kB / 0.6959 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004174/0.5317, allocations: 334.6 kB / 0.6962 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001626/0.5333, allocations: 1.164 MB / 0.6973 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.5333, allocations: 0 / 0.6973 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5333, allocations: 0 / 0.6973 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.5333, allocations: 4 kB / 0.6973 GB, free: 7.246 MB / 0.5294 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.002082/0.5354, allocations: 0.9989 MB / 0.6983 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.5355, allocations: 12.03 kB / 0.6983 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001356/0.5356, allocations: 102.7 kB / 0.6984 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003349/0.5359, allocations: 96.41 kB / 0.6985 GB, free: 6 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009557/0.5369, allocations: 466.8 kB / 0.699 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001662/0.537, allocations: 160.3 kB / 0.6991 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.429e-05/0.5371, allocations: 48.12 kB / 0.6992 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/0.5387, allocations: 1.141 MB / 0.7003 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.5388, allocations: 3.938 kB / 0.7003 GB, free: 4 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.048e-05/0.5388, allocations: 31.97 kB / 0.7003 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.087e-05/0.5389, allocations: 36.98 kB / 0.7004 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.54, allocations: 0.6595 MB / 0.701 GB, free: 3.273 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.004726/0.5448, allocations: 3.152 MB / 0.7041 GB, free: 8 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008933/0.5457, allocations: 396.3 kB / 0.7045 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003514/0.546, allocations: 193.4 kB / 0.7046 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003045/0.5463, allocations: 72.27 kB / 0.7047 GB, free: 15.35 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.345e-05/0.5464, allocations: 38.89 kB / 0.7047 GB, free: 15.3 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 2.805e-06/0.5464, allocations: 0 / 0.7047 GB, free: 15.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=45): time 0.003416/0.5498, allocations: 1.406 MB / 0.7061 GB, free: 13.86 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.5499, allocations: 136.5 kB / 0.7062 GB, free: 13.7 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007674/0.5506, allocations: 0.5848 MB / 0.7068 GB, free: 13.1 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.477e-05/0.5507, allocations: 37.7 kB / 0.7069 GB, free: 13.06 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003237/0.551, allocations: 355.9 kB / 0.7072 GB, free: 12.71 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.5512, allocations: 170.6 kB / 0.7074 GB, free: 12.54 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002143/0.5514, allocations: 142.6 kB / 0.7075 GB, free: 12.39 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002136/0.5516, allocations: 378.7 kB / 0.7079 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003751/0.552, allocations: 213.9 kB / 0.7081 GB, free: 11.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007711/0.5527, allocations: 0.5915 MB / 0.7086 GB, free: 11.05 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.5539, allocations: 0.7601 MB / 0.7094 GB, free: 10.16 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.5539, allocations: 4 kB / 0.7094 GB, free: 10.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001788/0.5557, allocations: 0.9142 MB / 0.7103 GB, free: 9.234 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.5557, allocations: 8 kB / 0.7103 GB, free: 9.227 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.5557, allocations: 8 kB / 0.7103 GB, free: 9.219 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001429/0.5571, allocations: 279.6 kB / 0.7106 GB, free: 8.945 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004102/0.5576, allocations: 127.8 kB / 0.7107 GB, free: 8.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001213/0.5588, allocations: 0.8879 MB / 0.7115 GB, free: 7.906 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005412/0.5593, allocations: 31.98 kB / 0.7116 GB, free: 7.875 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.685e-05/0.5594, allocations: 36 kB / 0.7116 GB, free: 7.84 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (71): * Single equations (assignments): 70 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0004309/0.5598, allocations: 253.4 kB / 0.7118 GB, free: 7.582 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.5599, allocations: 71.58 kB / 0.7119 GB, free: 7.512 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/0.5613, allocations: 0.696 MB / 0.7126 GB, free: 6.809 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.5613, allocations: 4 kB / 0.7126 GB, free: 6.805 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.5613, allocations: 0 / 0.7126 GB, free: 6.805 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.5614, allocations: 7.922 kB / 0.7126 GB, free: 6.797 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002077/0.5634, allocations: 1.234 MB / 0.7138 GB, free: 5.488 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.5634, allocations: 0 / 0.7138 GB, free: 5.488 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.5645, allocations: 199.8 kB / 0.714 GB, free: 5.293 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.77e-05/0.5646, allocations: 20.84 kB / 0.714 GB, free: 5.27 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.04e-05/0.5646, allocations: 20.17 kB / 0.714 GB, free: 5.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00237/0.567, allocations: 2.662 MB / 0.7166 GB, free: 2.363 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.567, allocations: 4.344 kB / 0.7166 GB, free: 2.359 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001526/0.5685, allocations: 0.9491 MB / 0.7176 GB, free: 1.375 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003406/0.5689, allocations: 135.4 kB / 0.7177 GB, free: 1.242 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.733e-05/0.569, allocations: 8 kB / 0.7177 GB, free: 1.234 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003793/0.5694, allocations: 23.98 kB / 0.7177 GB, free: 1.211 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.05e-05/0.5694, allocations: 43.81 kB / 0.7178 GB, free: 1.168 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-05/0.5695, allocations: 19.98 kB / 0.7178 GB, free: 1.148 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005564/0.5701, allocations: 431 kB / 0.7182 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.5701, allocations: 4 kB / 0.7182 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007954/0.5708, allocations: 231.8 kB / 0.7184 GB, free: 0.4922 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002137/0.573, allocations: 1.618 MB / 0.72 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001274/0.5743, allocations: 0.5786 MB / 0.7206 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.5743, allocations: 4 kB / 0.7206 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001071/0.5753, allocations: 448.8 kB / 0.721 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001723/0.5771, allocations: 373.4 kB / 0.7214 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/0.5872, allocations: 6.484 MB / 0.7277 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.5875, allocations: 337.4 kB / 0.728 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006991/0.5882, allocations: 209.3 kB / 0.7282 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003617/0.5886, allocations: 243.3 kB / 0.7284 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of SimCode: time 9.61e-07/0.5886, allocations: 0 / 0.7284 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3217/0.9103, allocations: 24.04 MB / 0.7519 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.96/14.87, allocations: 11.94 kB / 0.7519 GB, free: 163.4 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_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_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.95307625969872]