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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 101.8 kB / 16.27 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001872/0.001872, allocations: 190.1 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.418/1.418, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1963/0.1963, allocations: 43.52 MB / 313.9 MB, free: 0.5312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 70.78 kB / 382.8 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1034, allocations: 57.79 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.4185/0.5219, allocations: 179.7 MB / 0.6058 GB, free: 8.168 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01108/0.533, allocations: 8.178 MB / 0.6138 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009266/0.534, allocations: 24.5 kB / 0.6138 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001118/0.5352, allocations: 316.9 kB / 0.6141 GB, free: 3.762 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004493/0.5397, allocations: 1.487 MB / 0.6155 GB, free: 2.668 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003095/0.5428, allocations: 1.142 MB / 0.6167 GB, free: 1.852 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002506/0.5453, allocations: 1.849 MB / 0.6185 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001125/0.5465, allocations: 469.3 kB / 0.6189 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0035/0.55, allocations: 1.222 MB / 0.6201 GB, free: 15.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001441/0.5515, allocations: 0.6638 MB / 0.6208 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003106/0.5518, allocations: 59.91 kB / 0.6208 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002113/0.5539, allocations: 0.7375 MB / 0.6215 GB, free: 15.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000459/0.5544, allocations: 262.1 kB / 0.6218 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008426/0.5552, allocations: 398.8 kB / 0.6222 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002561/0.5578, allocations: 1.408 MB / 0.6235 GB, free: 13.44 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.5578, allocations: 0 / 0.6235 GB, free: 13.44 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5579, allocations: 3.938 kB / 0.6235 GB, free: 13.44 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.035e-05/0.5579, allocations: 4 kB / 0.6235 GB, free: 13.43 MB / 446.1 MB 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.002642/0.5605, allocations: 1.126 MB / 0.6246 GB, free: 12.26 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.5606, allocations: 15.89 kB / 0.6247 GB, free: 12.24 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001526/0.5608, allocations: 102.4 kB / 0.6248 GB, free: 12.13 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008813/0.5616, allocations: 135.1 kB / 0.6249 GB, free: 12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008287/0.5625, allocations: 0.5079 MB / 0.6254 GB, free: 11.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.78e-05/0.5626, allocations: 108.4 kB / 0.6255 GB, free: 11.33 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.5627, allocations: 44 kB / 0.6255 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.564, allocations: 0.8213 MB / 0.6263 GB, free: 10.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.564, allocations: 11.94 kB / 0.6263 GB, free: 10.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.83e-05/0.5641, allocations: 20 kB / 0.6264 GB, free: 10.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.426e-05/0.5641, allocations: 36.98 kB / 0.6264 GB, free: 10.33 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.5652, allocations: 0.6243 MB / 0.627 GB, free: 9.703 MB / 446.1 MB 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.004514/0.5697, allocations: 3.978 MB / 0.6309 GB, free: 5.473 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005671/0.5703, allocations: 356.8 kB / 0.6312 GB, free: 5.117 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002713/0.5706, allocations: 181.2 kB / 0.6314 GB, free: 4.938 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004028/0.571, allocations: 357.4 kB / 0.6317 GB, free: 4.535 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.571, allocations: 38.84 kB / 0.6318 GB, free: 4.488 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 2.424e-06/0.5711, allocations: 0 / 0.6318 GB, free: 4.488 MB / 446.1 MB Notification: Performance of matching and sorting (n=39): time 0.005861/0.5769, allocations: 1.672 MB / 0.6334 GB, free: 2.742 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.846e-05/0.577, allocations: 136.5 kB / 0.6335 GB, free: 2.578 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008337/0.5779, allocations: 0.6171 MB / 0.6341 GB, free: 1.953 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.537e-05/0.578, allocations: 37.7 kB / 0.6342 GB, free: 1.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000287/0.5783, allocations: 359 kB / 0.6345 GB, free: 1.555 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/0.5784, allocations: 149.9 kB / 0.6347 GB, free: 1.406 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002617/0.5787, allocations: 158.4 kB / 0.6348 GB, free: 1.246 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.5789, allocations: 378.8 kB / 0.6352 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00038/0.5792, allocations: 201.9 kB / 0.6354 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00066/0.5799, allocations: 0.5164 MB / 0.6359 GB, free: 8 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.581, allocations: 0.7448 MB / 0.6366 GB, free: 15.12 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.581, allocations: 4 kB / 0.6366 GB, free: 15.12 MB / 462.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001583/0.5826, allocations: 0.8755 MB / 0.6375 GB, free: 14.23 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.5826, allocations: 8 kB / 0.6375 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-05/0.5826, allocations: 8.906 kB / 0.6375 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001478/0.5841, allocations: 327.6 kB / 0.6378 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004096/0.5845, allocations: 119.8 kB / 0.6379 GB, free: 13.78 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001179/0.5857, allocations: 0.9347 MB / 0.6388 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000565/0.5863, allocations: 27.94 kB / 0.6388 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.5864, allocations: 67.98 kB / 0.6389 GB, free: 12.72 MB / 462.1 MB 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.0005065/0.587, allocations: 250.3 kB / 0.6391 GB, free: 12.47 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002249/0.5872, allocations: 71.25 kB / 0.6392 GB, free: 12.4 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001703/0.5889, allocations: 0.6706 MB / 0.6399 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.5889, allocations: 4 kB / 0.6399 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.649e-06/0.5889, allocations: 0 / 0.6399 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.589, allocations: 3.938 kB / 0.6399 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002645/0.5916, allocations: 1.617 MB / 0.6415 GB, free: 9.938 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/0.5916, allocations: 4 kB / 0.6415 GB, free: 9.934 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/0.5927, allocations: 207.9 kB / 0.6417 GB, free: 9.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.226e-05/0.5928, allocations: 28.84 kB / 0.6417 GB, free: 9.699 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.984e-05/0.5928, allocations: 15.98 kB / 0.6417 GB, free: 9.684 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002165/0.595, allocations: 2.885 MB / 0.6445 GB, free: 6.523 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.595, allocations: 0 / 0.6445 GB, free: 6.523 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.5962, allocations: 0.8033 MB / 0.6453 GB, free: 5.688 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003039/0.5966, allocations: 196.2 kB / 0.6455 GB, free: 5.477 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.5967, allocations: 8 kB / 0.6455 GB, free: 5.469 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004084/0.5971, allocations: 20.06 kB / 0.6455 GB, free: 5.449 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.5972, allocations: 35.95 kB / 0.6456 GB, free: 5.414 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.565e-05/0.5973, allocations: 51.91 kB / 0.6456 GB, free: 5.363 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005309/0.5978, allocations: 431 kB / 0.646 GB, free: 4.945 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5978, allocations: 0 / 0.646 GB, free: 4.945 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009649/0.5988, allocations: 299.9 kB / 0.6463 GB, free: 4.652 MB / 462.1 MB 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.002259/0.6011, allocations: 1.603 MB / 0.6479 GB, free: 3.016 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001277/0.6024, allocations: 0.6174 MB / 0.6485 GB, free: 2.398 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.6024, allocations: 3.859 kB / 0.6485 GB, free: 2.395 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009918/0.6034, allocations: 411 kB / 0.6489 GB, free: 1.98 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00173/0.6051, allocations: 380.7 kB / 0.6492 GB, free: 1.613 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008407/0.6136, allocations: 6.513 MB / 0.6556 GB, free: 10.71 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000505/0.6141, allocations: 0.93 MB / 0.6565 GB, free: 9.75 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001078/0.6152, allocations: 269.9 kB / 0.6568 GB, free: 9.484 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004841/0.6157, allocations: 271.3 kB / 0.657 GB, free: 9.219 MB / 478.1 MB Notification: Performance of SimCode: time 7.21e-07/0.6157, allocations: 0 / 0.657 GB, free: 9.219 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0554/0.6711, allocations: 25.14 MB / 0.6816 GB, free: 72 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.77, allocations: 7.641 kB / 0.6816 GB, free: 64 kB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/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) Reference file matches