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.001077/0.001084, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001275/0.001275, allocations: 187.1 kB / 18.71 MB, free: 4.371 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.359/1.359, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2128/0.2128, allocations: 44.18 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 67.89 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4233/0.4248, allocations: 60.82 MB / 0.5184 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.1978/0.6226, allocations: 174.4 MB / 0.6887 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007705/0.6303, allocations: 5.338 MB / 0.6939 GB, free: 7.754 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009207/0.6313, allocations: 19.88 kB / 0.6939 GB, free: 7.734 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001196/0.6326, allocations: 306 kB / 0.6942 GB, free: 7.434 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003602/0.6362, allocations: 1.246 MB / 0.6955 GB, free: 6.188 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002549/0.6387, allocations: 0.9696 MB / 0.6964 GB, free: 5.223 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002477/0.6412, allocations: 1.848 MB / 0.6982 GB, free: 3.367 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008799/0.6421, allocations: 461.3 kB / 0.6986 GB, free: 2.914 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002166/0.6443, allocations: 1.074 MB / 0.6997 GB, free: 1.836 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001224/0.6455, allocations: 0.6539 MB / 0.7003 GB, free: 1.18 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002195/0.6458, allocations: 64 kB / 0.7004 GB, free: 1.117 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001514/0.6473, allocations: 0.6242 MB / 0.701 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003556/0.6477, allocations: 263.3 kB / 0.7013 GB, free: 240 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006302/0.6483, allocations: 394.2 kB / 0.7016 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002011/0.6503, allocations: 1.301 MB / 0.7029 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.6503, allocations: 0 / 0.7029 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.788e-06/0.6503, allocations: 0 / 0.7029 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.317e-06/0.6504, allocations: 3.938 kB / 0.7029 GB, free: 14.54 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.002112/0.6525, allocations: 1.102 MB / 0.704 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.6525, allocations: 8.031 kB / 0.704 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001284/0.6527, allocations: 98.5 kB / 0.7041 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007759/0.6534, allocations: 139.1 kB / 0.7042 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009042/0.6544, allocations: 0.5275 MB / 0.7047 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.6545, allocations: 104.4 kB / 0.7048 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-05/0.6546, allocations: 51.94 kB / 0.7049 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.6559, allocations: 0.8213 MB / 0.7057 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/0.6559, allocations: 4 kB / 0.7057 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.1e-05/0.656, allocations: 20 kB / 0.7057 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.356e-05/0.6561, allocations: 44.92 kB / 0.7057 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.6571, allocations: 0.6204 MB / 0.7064 GB, free: 10.81 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.004455/0.6615, allocations: 3.961 MB / 0.7102 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005932/0.6622, allocations: 367.5 kB / 0.7106 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002695/0.6624, allocations: 165.3 kB / 0.7107 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/0.6626, allocations: 97.36 kB / 0.7108 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.6626, allocations: 38.84 kB / 0.7109 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.824e-06/0.6626, allocations: 0 / 0.7109 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005372/0.668, allocations: 1.66 MB / 0.7125 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.754e-05/0.6681, allocations: 136.5 kB / 0.7126 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006431/0.6687, allocations: 0.6094 MB / 0.7132 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.26e-05/0.6688, allocations: 33.7 kB / 0.7132 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002514/0.669, allocations: 370.8 kB / 0.7136 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.6692, allocations: 142 kB / 0.7137 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002063/0.6694, allocations: 166.4 kB / 0.7139 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.6695, allocations: 374.8 kB / 0.7142 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003603/0.6699, allocations: 205.9 kB / 0.7144 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005552/0.6705, allocations: 0.5085 MB / 0.7149 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009452/0.6714, allocations: 0.7552 MB / 0.7157 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.6714, allocations: 4 kB / 0.7157 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.2988/0.9703, allocations: 0.8768 MB / 0.7165 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.038e-05/0.9704, allocations: 9.891 kB / 0.7165 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.289e-05/0.9704, allocations: 10.31 kB / 0.7166 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002194/0.9726, allocations: 312.8 kB / 0.7168 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007506/0.9734, allocations: 123.1 kB / 0.717 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001557/0.975, allocations: 0.9287 MB / 0.7179 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008701/0.9759, allocations: 28.91 kB / 0.7179 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001744/0.9761, allocations: 67.28 kB / 0.718 GB, free: 189 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.0005203/0.9766, allocations: 247.8 kB / 0.7182 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000244/0.9769, allocations: 66.19 kB / 0.7183 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002202/0.9791, allocations: 0.8633 MB / 0.7191 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.998e-06/0.9791, allocations: 5.703 kB / 0.7191 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.926e-06/0.9791, allocations: 2.531 kB / 0.7191 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.9791, allocations: 5.797 kB / 0.7191 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003028/0.9822, allocations: 1.459 MB / 0.7205 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/0.9822, allocations: 2.859 kB / 0.7205 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001474/0.9837, allocations: 211.6 kB / 0.7208 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001367/0.9838, allocations: 24.75 kB / 0.7208 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.245e-05/0.9839, allocations: 22.19 kB / 0.7208 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00211/0.986, allocations: 2.877 MB / 0.7236 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.9861, allocations: 2.938 kB / 0.7236 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001687/0.9877, allocations: 0.8297 MB / 0.7244 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004517/0.9882, allocations: 194.5 kB / 0.7246 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000182/0.9884, allocations: 8.688 kB / 0.7246 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006255/0.989, allocations: 20.81 kB / 0.7246 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.9892, allocations: 42.98 kB / 0.7247 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/0.9893, allocations: 46.59 kB / 0.7247 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008703/0.9902, allocations: 440.4 kB / 0.7251 GB, free: 184 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9902, allocations: 0 / 0.7251 GB, free: 184 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001574/0.9918, allocations: 253.6 kB / 0.7254 GB, free: 184 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.002973/0.9948, allocations: 1.556 MB / 0.7269 GB, free: 183 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001618/0.9964, allocations: 0.5524 MB / 0.7274 GB, free: 182.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.555e-06/0.9964, allocations: 1.281 kB / 0.7274 GB, free: 182.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001308/0.9977, allocations: 421.6 kB / 0.7278 GB, free: 182.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002485/1, allocations: 368.1 kB / 0.7282 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01184/1.012, allocations: 6.315 MB / 0.7344 GB, free: 178.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005298/1.013, allocations: 0.9318 MB / 0.7353 GB, free: 177.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001532/1.014, allocations: 465.8 kB / 0.7357 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006201/1.015, allocations: 288 kB / 0.736 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.072e-06/1.015, allocations: 0 / 0.736 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05761/1.072, allocations: 24.7 MB / 0.7601 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/13.84, allocations: 12.59 kB / 0.7601 GB, free: 156.2 MB / 0.5606 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