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.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.001315/0.001315, 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.001426/0.001426, allocations: 209.2 kB / 23.73 MB, free: 4.387 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.516/1.516, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2353/0.2353, allocations: 44.94 MB / 358.8 MB, free: 6.02 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.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"}) [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.002119/0.002119, allocations: 63.89 kB / 0.493 GB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.3929, allocations: 65.48 MB / 0.557 GB, free: 7.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2198/0.6127, allocations: 153.9 MB / 0.7073 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00869/0.6213, allocations: 4.91 MB / 0.712 GB, free: 8.094 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007486/0.6221, allocations: 27.75 kB / 0.7121 GB, free: 8.066 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.6231, allocations: 318 kB / 0.7124 GB, free: 7.754 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003713/0.6268, allocations: 1.294 MB / 0.7136 GB, free: 6.457 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002563/0.6294, allocations: 0.9735 MB / 0.7146 GB, free: 5.488 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002489/0.6319, allocations: 1.871 MB / 0.7164 GB, free: 3.609 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006396/0.6325, allocations: 397.6 kB / 0.7168 GB, free: 3.219 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002538/0.6351, allocations: 1.109 MB / 0.7179 GB, free: 2.105 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001207/0.6363, allocations: 0.6929 MB / 0.7186 GB, free: 1.41 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001444/0.6364, allocations: 60 kB / 0.7186 GB, free: 1.352 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00145/0.6379, allocations: 0.5462 MB / 0.7191 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003427/0.6382, allocations: 275.1 kB / 0.7194 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004571/0.6387, allocations: 330.7 kB / 0.7197 GB, free: 216 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001974/0.6406, allocations: 1.316 MB / 0.721 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.6406, allocations: 0 / 0.721 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.744e-06/0.6406, allocations: 0 / 0.721 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.6407, allocations: 0 / 0.721 GB, free: 14.89 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.002356/0.643, allocations: 1.039 MB / 0.722 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.6431, allocations: 8.031 kB / 0.722 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001356/0.6432, allocations: 106.5 kB / 0.7221 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008502/0.644, allocations: 147.4 kB / 0.7223 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009849/0.645, allocations: 469.5 kB / 0.7227 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001639/0.6452, allocations: 159.7 kB / 0.7229 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.6453, allocations: 48 kB / 0.7229 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/0.6469, allocations: 1.14 MB / 0.724 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.6469, allocations: 0 / 0.724 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.989e-05/0.647, allocations: 27.98 kB / 0.7241 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.265e-05/0.647, allocations: 48.8 kB / 0.7241 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.6481, allocations: 0.6205 MB / 0.7247 GB, free: 10.85 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.004753/0.6529, allocations: 3.297 MB / 0.7279 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006394/0.6535, allocations: 343.6 kB / 0.7283 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000289/0.6538, allocations: 157.3 kB / 0.7284 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.37e-05/0.6539, allocations: 20.27 kB / 0.7284 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.496e-05/0.654, allocations: 38.78 kB / 0.7285 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.053e-06/0.654, allocations: 0 / 0.7285 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005772/0.6597, allocations: 1.609 MB / 0.73 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.124e-05/0.6598, allocations: 136.5 kB / 0.7302 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000875/0.6607, allocations: 0.6327 MB / 0.7308 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.108e-05/0.6607, allocations: 33.64 kB / 0.7308 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003513/0.6611, allocations: 387.8 kB / 0.7312 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/0.6613, allocations: 142.8 kB / 0.7313 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002469/0.6615, allocations: 158.6 kB / 0.7315 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002383/0.6617, allocations: 374.8 kB / 0.7318 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004012/0.6621, allocations: 205.9 kB / 0.732 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007523/0.6629, allocations: 0.58 MB / 0.7326 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.664, allocations: 0.7641 MB / 0.7333 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.932e-06/0.664, allocations: 4 kB / 0.7333 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001558/0.6656, allocations: 0.8689 MB / 0.7342 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.6656, allocations: 12.03 kB / 0.7342 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/0.6656, allocations: 12 kB / 0.7342 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001433/0.667, allocations: 315.5 kB / 0.7345 GB, free: 224 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004311/0.6675, allocations: 119.8 kB / 0.7346 GB, free: 104 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2797/0.9472, allocations: 0.9241 MB / 0.7355 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007038/0.9479, allocations: 28.38 kB / 0.7356 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002157/0.9481, allocations: 64.75 kB / 0.7356 GB, free: 177.5 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.0004463/0.9485, allocations: 258 kB / 0.7359 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001822/0.9487, allocations: 71.8 kB / 0.7359 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001971/0.9507, allocations: 0.8549 MB / 0.7368 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.9507, allocations: 4.484 kB / 0.7368 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.9507, allocations: 1.094 kB / 0.7368 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/0.9507, allocations: 6.375 kB / 0.7368 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00219/0.9529, allocations: 1.139 MB / 0.7379 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.9529, allocations: 5.156 kB / 0.7379 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/0.9539, allocations: 210.4 kB / 0.7381 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001009/0.954, allocations: 28.95 kB / 0.7381 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.056e-05/0.9541, allocations: 18.41 kB / 0.7381 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001479/0.9556, allocations: 2.668 MB / 0.7408 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.9556, allocations: 2.797 kB / 0.7408 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.9566, allocations: 0.8308 MB / 0.7416 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002949/0.9569, allocations: 118.6 kB / 0.7417 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.223e-05/0.957, allocations: 11.5 kB / 0.7417 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003594/0.9574, allocations: 18.98 kB / 0.7417 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.167e-05/0.9575, allocations: 40.8 kB / 0.7417 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.643e-05/0.9575, allocations: 44.75 kB / 0.7418 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004472/0.958, allocations: 443.2 kB / 0.7422 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.958, allocations: 2.031 kB / 0.7422 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008714/0.9588, allocations: 253.8 kB / 0.7425 GB, free: 173.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.001697/0.9605, allocations: 1.545 MB / 0.744 GB, free: 172 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009526/0.9615, allocations: 0.5282 MB / 0.7445 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.289e-06/0.9615, allocations: 4 kB / 0.7445 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008769/0.9624, allocations: 408 kB / 0.7449 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/0.9639, allocations: 374.2 kB / 0.7452 GB, free: 171 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00688/0.9707, allocations: 6.333 MB / 0.7514 GB, free: 164.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.971, allocations: 332.7 kB / 0.7517 GB, free: 164 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00109/0.9721, allocations: 461.1 kB / 0.7522 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006488/0.9727, allocations: 287.3 kB / 0.7524 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of SimCode: time 2.004e-06/0.9727, allocations: 0 / 0.7524 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07856/1.051, allocations: 25.63 MB / 0.7775 GB, free: 138 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.81/14.86, allocations: 8 kB / 0.7775 GB, free: 138 MB / 0.5606 GB " [Timeout remaining time 645] (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 --stepSize=0.000201919 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.12203557230532]