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) 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.00103, allocations: 105.2 kB / 17.32 MB, free: 6.008 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.0009998/0.0009998, allocations: 193.3 kB / 18.25 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 222.9 MB / 241.9 MB, free: 13.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.213/0.213, allocations: 44.17 MB / 336.3 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 70 kB / 408 MB, free: 27.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1283, allocations: 60.83 MB / 468.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.4765/0.6048, allocations: 172.6 MB / 0.6264 GB, free: 4.309 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007723/0.6126, allocations: 5.41 MB / 0.6317 GB, free: 14.89 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009936/0.6137, allocations: 23.81 kB / 0.6317 GB, free: 14.86 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009729/0.6147, allocations: 278.5 kB / 0.632 GB, free: 14.59 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003302/0.618, allocations: 1.151 MB / 0.6331 GB, free: 13.44 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002634/0.6206, allocations: 0.8932 MB / 0.634 GB, free: 12.55 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002862/0.6235, allocations: 1.852 MB / 0.6358 GB, free: 10.7 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006972/0.6242, allocations: 446.3 kB / 0.6362 GB, free: 10.26 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002614/0.6269, allocations: 1.063 MB / 0.6372 GB, free: 9.191 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/0.6279, allocations: 0.7085 MB / 0.6379 GB, free: 8.48 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.6281, allocations: 60 kB / 0.638 GB, free: 8.422 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001507/0.6296, allocations: 0.5813 MB / 0.6385 GB, free: 7.84 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003417/0.6299, allocations: 263.3 kB / 0.6388 GB, free: 7.582 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005063/0.6304, allocations: 402.2 kB / 0.6392 GB, free: 7.188 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001738/0.6322, allocations: 1.301 MB / 0.6404 GB, free: 5.883 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.6322, allocations: 4 kB / 0.6405 GB, free: 5.879 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6322, allocations: 0 / 0.6405 GB, free: 5.879 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.6322, allocations: 0 / 0.6405 GB, free: 5.879 MB / 478.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.002401/0.6346, allocations: 1.106 MB / 0.6415 GB, free: 4.719 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.742e-05/0.6347, allocations: 8.031 kB / 0.6415 GB, free: 4.711 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001629/0.6349, allocations: 98.5 kB / 0.6416 GB, free: 4.605 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008816/0.6358, allocations: 139 kB / 0.6418 GB, free: 4.469 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009572/0.6367, allocations: 0.5027 MB / 0.6423 GB, free: 3.93 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/0.6369, allocations: 108.4 kB / 0.6424 GB, free: 3.809 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.981e-05/0.637, allocations: 47.91 kB / 0.6424 GB, free: 3.762 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/0.6384, allocations: 0.8214 MB / 0.6432 GB, free: 2.867 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.6384, allocations: 4 kB / 0.6432 GB, free: 2.863 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.141e-05/0.6385, allocations: 20 kB / 0.6432 GB, free: 2.844 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.918e-05/0.6386, allocations: 40.92 kB / 0.6433 GB, free: 2.805 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.6397, allocations: 0.6243 MB / 0.6439 GB, free: 2.18 MB / 478.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.00492/0.6446, allocations: 3.965 MB / 0.6478 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000585/0.6452, allocations: 355.6 kB / 0.6481 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002802/0.6455, allocations: 169.3 kB / 0.6483 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001484/0.6457, allocations: 97.36 kB / 0.6483 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.6457, allocations: 42.83 kB / 0.6484 GB, free: 13.27 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.414e-06/0.6457, allocations: 3.938 kB / 0.6484 GB, free: 13.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005884/0.6516, allocations: 1.665 MB / 0.65 GB, free: 11.53 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.671e-05/0.6517, allocations: 136.5 kB / 0.6501 GB, free: 11.37 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007429/0.6525, allocations: 0.6094 MB / 0.6507 GB, free: 10.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.916e-05/0.6525, allocations: 37.64 kB / 0.6508 GB, free: 10.71 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002827/0.6528, allocations: 370.8 kB / 0.6511 GB, free: 10.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.653, allocations: 153.9 kB / 0.6513 GB, free: 10.19 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002255/0.6532, allocations: 150.6 kB / 0.6514 GB, free: 10.04 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.6534, allocations: 374.8 kB / 0.6518 GB, free: 9.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003568/0.6538, allocations: 205.9 kB / 0.652 GB, free: 9.457 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005885/0.6544, allocations: 0.5047 MB / 0.6525 GB, free: 8.805 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009639/0.6553, allocations: 0.7602 MB / 0.6532 GB, free: 7.906 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/0.6554, allocations: 4 kB / 0.6532 GB, free: 7.902 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001494/0.6569, allocations: 0.8874 MB / 0.6541 GB, free: 7.004 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.6569, allocations: 8 kB / 0.6541 GB, free: 6.996 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.6569, allocations: 8 kB / 0.6541 GB, free: 6.988 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001472/0.6584, allocations: 315.8 kB / 0.6544 GB, free: 6.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003945/0.6588, allocations: 127.7 kB / 0.6545 GB, free: 6.555 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/0.66, allocations: 0.927 MB / 0.6554 GB, free: 5.602 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005954/0.6606, allocations: 51.89 kB / 0.6555 GB, free: 5.551 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/0.6607, allocations: 67.98 kB / 0.6555 GB, free: 5.484 MB / 494.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.0003996/0.6611, allocations: 238.1 kB / 0.6558 GB, free: 5.242 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.6613, allocations: 67.25 kB / 0.6558 GB, free: 5.176 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001765/0.663, allocations: 0.8794 MB / 0.6567 GB, free: 4.285 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.6631, allocations: 4 kB / 0.6567 GB, free: 4.281 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.6631, allocations: 3.984 kB / 0.6567 GB, free: 4.277 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.6631, allocations: 0 / 0.6567 GB, free: 4.277 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002221/0.6653, allocations: 1.459 MB / 0.6581 GB, free: 2.684 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.6653, allocations: 4 kB / 0.6581 GB, free: 2.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/0.6664, allocations: 207.8 kB / 0.6583 GB, free: 2.477 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001299/0.6666, allocations: 28.97 kB / 0.6584 GB, free: 2.445 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.815e-05/0.6666, allocations: 19.98 kB / 0.6584 GB, free: 2.426 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003123/0.6698, allocations: 2.877 MB / 0.6612 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6698, allocations: 0 / 0.6612 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.6712, allocations: 0.8208 MB / 0.662 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003842/0.6716, allocations: 188.2 kB / 0.6622 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.6717, allocations: 16 kB / 0.6622 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004539/0.6721, allocations: 27.98 kB / 0.6622 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.6723, allocations: 47.77 kB / 0.6622 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-05/0.6724, allocations: 43.98 kB / 0.6623 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006537/0.673, allocations: 447 kB / 0.6627 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.673, allocations: 4 kB / 0.6627 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001267/0.6743, allocations: 255.9 kB / 0.663 GB, free: 13.39 MB / 0.4981 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.002606/0.6769, allocations: 1.551 MB / 0.6645 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001478/0.6784, allocations: 0.5972 MB / 0.6651 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.6784, allocations: 0 / 0.6651 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.6795, allocations: 411.8 kB / 0.6655 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001711/0.6812, allocations: 375.6 kB / 0.6658 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009274/0.6905, allocations: 6.747 MB / 0.6724 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000534/0.691, allocations: 0.93 MB / 0.6733 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001403/0.6924, allocations: 458.4 kB / 0.6737 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005282/0.693, allocations: 279.3 kB / 0.674 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of SimCode: time 1.183e-06/0.693, allocations: 4 kB / 0.674 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05652/0.7495, allocations: 23.97 MB / 0.6974 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003145/0.7499, allocations: 307.9 kB / 0.6977 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.501/3.251, allocations: 3.375 kB / 0.6977 GB, free: 9.605 MB / 0.5294 GB (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 --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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches