Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001484/0.001484, allocations: 123.4 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002578/0.002578, allocations: 215.5 kB / 20.75 MB, free: 2.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.565/1.565, allocations: 230.5 MB / 254 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2402/0.2402, allocations: 46.92 MB / 357 MB, free: 10.18 MB / 286.1 MB " [Timeout remaining time 180] 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.Air.SimpleAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002441/0.002441, allocations: 79.88 kB / 0.491 GB, free: 7.672 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1399, allocations: 66.03 MB / 0.5555 GB, free: 5.508 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.5188/0.6587, allocations: 151 MB / 0.7029 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.009898/0.6686, allocations: 5.614 MB / 0.7084 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.6697, allocations: 23.75 kB / 0.7084 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001425/0.6711, allocations: 337.9 kB / 0.7088 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002903/0.674, allocations: 0.8745 MB / 0.7096 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003358/0.6774, allocations: 1.019 MB / 0.7106 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003066/0.6804, allocations: 1.793 MB / 0.7124 GB, free: 420 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.6815, allocations: 417.3 kB / 0.7128 GB, free: 0 / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002251/0.6837, allocations: 0.7864 MB / 0.7135 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001822/0.6855, allocations: 0.7513 MB / 0.7143 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003132/0.6858, allocations: 60 kB / 0.7143 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001895/0.6877, allocations: 0.5771 MB / 0.7149 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0005604/0.6883, allocations: 271.1 kB / 0.7151 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0009576/0.6893, allocations: 402.2 kB / 0.7155 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002853/0.6921, allocations: 1.176 MB / 0.7167 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.6921, allocations: 0 / 0.7167 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.334e-06/0.6921, allocations: 0 / 0.7167 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.79e-05/0.6922, allocations: 4 kB / 0.7167 GB, free: 11.98 MB / 0.5294 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.003586/0.6958, allocations: 1.066 MB / 0.7177 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.799e-05/0.6958, allocations: 12.03 kB / 0.7177 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002384/0.6961, allocations: 106.6 kB / 0.7178 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005048/0.6966, allocations: 100.4 kB / 0.7179 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.6978, allocations: 0.5292 MB / 0.7184 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001742/0.698, allocations: 105.8 kB / 0.7185 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.6981, allocations: 48.38 kB / 0.7186 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/0.6997, allocations: 0.8188 MB / 0.7194 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.812e-05/0.6997, allocations: 4 kB / 0.7194 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.084e-05/0.6998, allocations: 31.97 kB / 0.7194 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-05/0.6999, allocations: 40.92 kB / 0.7195 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/0.7012, allocations: 0.6479 MB / 0.7201 GB, free: 8.305 MB / 0.5294 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.005786/0.7069, allocations: 3.953 MB / 0.724 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009241/0.7079, allocations: 412.2 kB / 0.7244 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003724/0.7082, allocations: 185.4 kB / 0.7245 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007842/0.709, allocations: 0.7366 MB / 0.7252 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.813e-05/0.7091, allocations: 38.89 kB / 0.7253 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=40): time 2.886e-06/0.7091, allocations: 0 / 0.7253 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45): time 0.003892/0.713, allocations: 1.562 MB / 0.7268 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.7131, allocations: 132.5 kB / 0.7269 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000895/0.714, allocations: 0.5694 MB / 0.7275 GB, free: 156 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.313e-05/0.714, allocations: 37.7 kB / 0.7275 GB, free: 112 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003531/0.7144, allocations: 359.9 kB / 0.7279 GB, free: 15.75 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001721/0.7146, allocations: 174.6 kB / 0.728 GB, free: 15.58 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002289/0.7148, allocations: 138.6 kB / 0.7282 GB, free: 15.44 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000221/0.715, allocations: 374.8 kB / 0.7285 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000434/0.7154, allocations: 217.8 kB / 0.7287 GB, free: 14.85 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007298/0.7162, allocations: 0.5162 MB / 0.7292 GB, free: 14.19 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/0.7174, allocations: 0.7601 MB / 0.73 GB, free: 13.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/0.7174, allocations: 8 kB / 0.73 GB, free: 13.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001903/0.7193, allocations: 0.9047 MB / 0.7309 GB, free: 12.38 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.998e-05/0.7193, allocations: 11.94 kB / 0.7309 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.984e-05/0.7194, allocations: 15.94 kB / 0.7309 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001564/0.7209, allocations: 278.4 kB / 0.7312 GB, free: 12.08 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004167/0.7213, allocations: 123.8 kB / 0.7313 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/0.7226, allocations: 0.884 MB / 0.7321 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005964/0.7232, allocations: 31.98 kB / 0.7322 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.034e-05/0.7233, allocations: 36 kB / 0.7322 GB, free: 10.98 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (71): * Single equations (assignments): 70 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0004576/0.7237, allocations: 253.6 kB / 0.7325 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002107/0.7239, allocations: 67.58 kB / 0.7325 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001567/0.7255, allocations: 0.7689 MB / 0.7333 GB, free: 9.871 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.7255, allocations: 4 kB / 0.7333 GB, free: 9.867 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.7255, allocations: 3.938 kB / 0.7333 GB, free: 9.863 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.7255, allocations: 7.922 kB / 0.7333 GB, free: 9.855 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002546/0.7281, allocations: 1.408 MB / 0.7347 GB, free: 8.352 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.7281, allocations: 0 / 0.7347 GB, free: 8.352 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0011/0.7292, allocations: 207.9 kB / 0.7349 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001134/0.7293, allocations: 28.78 kB / 0.7349 GB, free: 8.121 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.894e-05/0.7293, allocations: 8 kB / 0.7349 GB, free: 8.113 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002957/0.7323, allocations: 2.875 MB / 0.7377 GB, free: 4.957 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.7323, allocations: 4.031 kB / 0.7377 GB, free: 4.953 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001783/0.7341, allocations: 1.018 MB / 0.7387 GB, free: 3.883 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005291/0.7346, allocations: 204.6 kB / 0.7389 GB, free: 3.664 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001561/0.7348, allocations: 12 kB / 0.7389 GB, free: 3.652 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004536/0.7352, allocations: 15.98 kB / 0.7389 GB, free: 3.637 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.7354, allocations: 43.83 kB / 0.739 GB, free: 3.594 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.47e-05/0.7354, allocations: 19.98 kB / 0.739 GB, free: 3.574 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007357/0.7362, allocations: 431 kB / 0.7394 GB, free: 3.148 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.7362, allocations: 4.062 kB / 0.7394 GB, free: 3.145 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001285/0.7374, allocations: 227.7 kB / 0.7396 GB, free: 2.922 MB / 0.545 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002848/0.7403, allocations: 1.7 MB / 0.7413 GB, free: 1.156 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001523/0.7418, allocations: 0.5668 MB / 0.7418 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.7418, allocations: 0 / 0.7418 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001152/0.743, allocations: 452.2 kB / 0.7423 GB, free: 140 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001935/0.7449, allocations: 370.7 kB / 0.7426 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/0.7565, allocations: 6.496 MB / 0.749 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007572/0.7573, allocations: 0.9346 MB / 0.7499 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007844/0.7581, allocations: 211.3 kB / 0.7501 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004092/0.7585, allocations: 235.4 kB / 0.7503 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of SimCode: time 1.002e-06/0.7585, allocations: 0 / 0.7503 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07173/0.8302, allocations: 22.61 MB / 0.7724 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/13.99, allocations: 7.922 kB / 0.7724 GB, free: 1.145 MB / 0.5762 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.32189931697212]