Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001539/0.001539, allocations: 117.6 kB / 17.79 MB, free: 5.117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002008/0.002008, allocations: 200.7 kB / 18.74 MB, free: 4.176 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2157/0.2157, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 75.88 kB / 480.8 MB, free: 4.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4054, allocations: 62.43 MB / 0.5305 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2032/0.6087, allocations: 177.3 MB / 0.7037 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007501/0.6162, allocations: 5.335 MB / 0.7089 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008652/0.6171, allocations: 19.88 kB / 0.7089 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001151/0.6183, allocations: 314 kB / 0.7092 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003962/0.6223, allocations: 1.271 MB / 0.7104 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003037/0.6254, allocations: 0.9744 MB / 0.7114 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003047/0.6284, allocations: 1.86 MB / 0.7132 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001004/0.6295, allocations: 453.4 kB / 0.7136 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002602/0.6321, allocations: 1.102 MB / 0.7147 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00143/0.6335, allocations: 0.6578 MB / 0.7154 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000283/0.6338, allocations: 60 kB / 0.7154 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00182/0.6357, allocations: 0.6314 MB / 0.716 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004875/0.6362, allocations: 263.3 kB / 0.7163 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008241/0.637, allocations: 398.2 kB / 0.7167 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002872/0.6399, allocations: 1.308 MB / 0.7179 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.6399, allocations: 0 / 0.7179 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.385e-06/0.6399, allocations: 0 / 0.7179 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.625e-05/0.6399, allocations: 4 kB / 0.7179 GB, free: 1.336 MB / 0.5606 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.00345/0.6434, allocations: 1.125 MB / 0.719 GB, free: 164 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.6435, allocations: 8.031 kB / 0.719 GB, free: 156 kB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002114/0.6437, allocations: 102.5 kB / 0.7191 GB, free: 44 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2849/0.9286, allocations: 134.8 kB / 0.7193 GB, free: 186.5 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/0.93, allocations: 0.5419 MB / 0.7198 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/0.9301, allocations: 100.1 kB / 0.7199 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.9303, allocations: 51.36 kB / 0.7199 GB, free: 186.1 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/0.9318, allocations: 0.8145 MB / 0.7207 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/0.9318, allocations: 6 kB / 0.7207 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.133e-05/0.9319, allocations: 23.47 kB / 0.7208 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.382e-05/0.932, allocations: 39.81 kB / 0.7208 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.9331, allocations: 0.619 MB / 0.7214 GB, free: 185.5 MB / 0.5606 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.004121/0.9373, allocations: 3.938 MB / 0.7253 GB, free: 182 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005489/0.9378, allocations: 362 kB / 0.7256 GB, free: 181.8 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002718/0.9381, allocations: 167.8 kB / 0.7258 GB, free: 181.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.9383, allocations: 94.09 kB / 0.7259 GB, free: 181.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.9383, allocations: 43.06 kB / 0.7259 GB, free: 181.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.753e-06/0.9383, allocations: 0 / 0.7259 GB, free: 181.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005656/0.944, allocations: 1.681 MB / 0.7275 GB, free: 180.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.115e-05/0.9441, allocations: 133.1 kB / 0.7277 GB, free: 180.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007331/0.9448, allocations: 0.6233 MB / 0.7283 GB, free: 180.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.675e-05/0.9449, allocations: 33.7 kB / 0.7283 GB, free: 180 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/0.9451, allocations: 375.5 kB / 0.7287 GB, free: 179.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.9452, allocations: 149.1 kB / 0.7288 GB, free: 179.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002186/0.9454, allocations: 161.9 kB / 0.729 GB, free: 179.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.6e-05/0.9455, allocations: 379.4 kB / 0.7293 GB, free: 179.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003495/0.9459, allocations: 204.4 kB / 0.7295 GB, free: 179.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005054/0.9464, allocations: 0.5106 MB / 0.73 GB, free: 178.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009236/0.9473, allocations: 0.7499 MB / 0.7307 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.9473, allocations: 6.969 kB / 0.7308 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001456/0.9488, allocations: 0.8916 MB / 0.7316 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.9488, allocations: 9.781 kB / 0.7316 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.9489, allocations: 9.594 kB / 0.7316 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001414/0.9503, allocations: 310.2 kB / 0.7319 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000426/0.9507, allocations: 121.7 kB / 0.7321 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001103/0.9518, allocations: 0.9399 MB / 0.733 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000574/0.9524, allocations: 27.34 kB / 0.733 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.9525, allocations: 65.58 kB / 0.7331 GB, free: 176.6 MB / 0.5606 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.0003801/0.9529, allocations: 240.2 kB / 0.7333 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/0.9531, allocations: 74.09 kB / 0.7334 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001702/0.9548, allocations: 0.8744 MB / 0.7342 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.9548, allocations: 4.438 kB / 0.7342 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.9548, allocations: 0 / 0.7342 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.9548, allocations: 5.188 kB / 0.7342 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001863/0.9567, allocations: 1.45 MB / 0.7356 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.9567, allocations: 3.938 kB / 0.7356 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.9577, allocations: 210 kB / 0.7358 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.321e-05/0.9578, allocations: 35.39 kB / 0.7359 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.626e-05/0.9579, allocations: 15.91 kB / 0.7359 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001468/0.9594, allocations: 2.879 MB / 0.7387 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.9594, allocations: 6.25 kB / 0.7387 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.9606, allocations: 0.817 MB / 0.7395 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002989/0.9609, allocations: 195.9 kB / 0.7397 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.961, allocations: 19.72 kB / 0.7397 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004058/0.9614, allocations: 15.7 kB / 0.7397 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.9615, allocations: 35.67 kB / 0.7398 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.564e-05/0.9616, allocations: 48.39 kB / 0.7398 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004669/0.9621, allocations: 439.5 kB / 0.7402 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9621, allocations: 0 / 0.7402 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009602/0.9631, allocations: 255.8 kB / 0.7405 GB, free: 170.2 MB / 0.5606 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.001817/0.9649, allocations: 1.556 MB / 0.742 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001038/0.9659, allocations: 0.5635 MB / 0.7425 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.9659, allocations: 1.219 kB / 0.7425 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008625/0.9668, allocations: 432.3 kB / 0.743 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/0.9683, allocations: 366.2 kB / 0.7433 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006818/0.9752, allocations: 6.329 MB / 0.7495 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.9755, allocations: 0.9339 MB / 0.7504 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009583/0.9765, allocations: 465.7 kB / 0.7508 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004191/0.9769, allocations: 291.3 kB / 0.7511 GB, free: 158.9 MB / 0.5606 GB Notification: Performance of SimCode: time 8.22e-07/0.9769, allocations: 0 / 0.7511 GB, free: 158.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05282/1.03, allocations: 24.4 MB / 0.7749 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/13.63, allocations: 2.75 kB / 0.775 GB, free: 134.8 MB / 0.5606 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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.000404 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.csv","/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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.p