Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.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.001561/0.001561, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002135/0.002135, allocations: 215.8 kB / 22.99 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.691/1.691, allocations: 207.7 MB / 233.8 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2378/0.2378, allocations: 44.26 MB / 330.3 MB, free: 9.312 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002291/0.002291, allocations: 75.89 kB / 467.5 MB, free: 4.371 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1349, allocations: 61.05 MB / 0.5161 GB, free: 7.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4402/0.5751, allocations: 129.5 MB / 0.6426 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.5764, allocations: 0.8779 MB / 0.6435 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.743e-05/0.5765, allocations: 8 kB / 0.6435 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002756/0.5768, allocations: 27.77 kB / 0.6435 GB, free: 15.83 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006556/0.5774, allocations: 246.4 kB / 0.6438 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003536/0.5778, allocations: 115.7 kB / 0.6439 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002496/0.578, allocations: 175.2 kB / 0.644 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.887e-05/0.5781, allocations: 7.984 kB / 0.644 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002098/0.5783, allocations: 87.62 kB / 0.6441 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.5784, allocations: 51.02 kB / 0.6442 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.347e-05/0.5784, allocations: 4 kB / 0.6442 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005044/0.5789, allocations: 259.7 kB / 0.6444 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.681e-05/0.579, allocations: 19.86 kB / 0.6444 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.526e-05/0.579, allocations: 51.84 kB / 0.6445 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004254/0.5795, allocations: 281.4 kB / 0.6448 GB, free: 14.56 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.5795, allocations: 0 / 0.6448 GB, free: 14.56 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5795, allocations: 0 / 0.6448 GB, free: 14.56 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.5795, allocations: 0 / 0.6448 GB, free: 14.56 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005084/0.58, allocations: 325.9 kB / 0.6451 GB, free: 14.21 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.58, allocations: 8.031 kB / 0.6451 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.887e-05/0.5801, allocations: 42.73 kB / 0.6451 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001992/0.5821, allocations: 193.1 kB / 0.6453 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003757/0.5824, allocations: 154.3 kB / 0.6454 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.5825, allocations: 7.938 kB / 0.6455 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.055e-05/0.5825, allocations: 12 kB / 0.6455 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005676/0.5831, allocations: 297.2 kB / 0.6458 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.5831, allocations: 3.938 kB / 0.6458 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.5831, allocations: 4 kB / 0.6458 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.5831, allocations: 4 kB / 0.6458 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004284/0.5836, allocations: 163.9 kB / 0.6459 GB, free: 13.28 MB / 494.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.001129/0.5847, allocations: 0.5249 MB / 0.6464 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000353/0.585, allocations: 134.5 kB / 0.6466 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.5852, allocations: 64.83 kB / 0.6466 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.5852, allocations: 0 / 0.6466 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.5852, allocations: 42.55 kB / 0.6467 GB, free: 12.45 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.283e-06/0.5852, allocations: 4 kB / 0.6467 GB, free: 12.44 MB / 494.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005154/0.5904, allocations: 1.145 MB / 0.6478 GB, free: 11.24 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.5904, allocations: 59.28 kB / 0.6478 GB, free: 11.17 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.5906, allocations: 119.4 kB / 0.648 GB, free: 11.05 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.5906, allocations: 25.7 kB / 0.648 GB, free: 11.02 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.505e-05/0.5907, allocations: 100 kB / 0.6481 GB, free: 10.91 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.393e-05/0.5907, allocations: 71.39 kB / 0.6481 GB, free: 10.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.5908, allocations: 57.69 kB / 0.6482 GB, free: 10.78 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.591, allocations: 322.8 kB / 0.6485 GB, free: 10.46 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.5911, allocations: 63.97 kB / 0.6486 GB, free: 10.39 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.5913, allocations: 107.3 kB / 0.6487 GB, free: 10.28 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003424/0.5917, allocations: 183.3 kB / 0.6488 GB, free: 10.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.5917, allocations: 4 kB / 0.6488 GB, free: 10.08 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000486/0.5921, allocations: 254.2 kB / 0.6491 GB, free: 9.824 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.5922, allocations: 11.98 kB / 0.6491 GB, free: 9.812 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.5922, allocations: 0 / 0.6491 GB, free: 9.812 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001782/0.5923, allocations: 52.77 kB / 0.6492 GB, free: 9.758 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003077/0.5927, allocations: 53.09 kB / 0.6492 GB, free: 9.707 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004786/0.5931, allocations: 0.5758 MB / 0.6498 GB, free: 9.105 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/0.5933, allocations: 4 kB / 0.6498 GB, free: 9.102 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.482e-05/0.5933, allocations: 27.98 kB / 0.6498 GB, free: 9.074 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001281/0.5935, allocations: 117.8 kB / 0.6499 GB, free: 8.949 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.928e-05/0.5935, allocations: 11.95 kB / 0.6499 GB, free: 8.938 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007496/0.5943, allocations: 340.5 kB / 0.6502 GB, free: 8.602 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.5943, allocations: 11 kB / 0.6503 GB, free: 8.594 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.5943, allocations: 0 / 0.6503 GB, free: 8.594 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.5943, allocations: 7.984 kB / 0.6503 GB, free: 8.586 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.5953, allocations: 0.5708 MB / 0.6508 GB, free: 7.957 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.5953, allocations: 4 kB / 0.6508 GB, free: 7.953 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003343/0.5956, allocations: 63.89 kB / 0.6509 GB, free: 7.891 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.135e-05/0.5957, allocations: 20.84 kB / 0.6509 GB, free: 7.867 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.238e-05/0.5957, allocations: 11.98 kB / 0.6509 GB, free: 7.855 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000976/0.5967, allocations: 1.264 MB / 0.6521 GB, free: 6.477 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.5967, allocations: 7.984 kB / 0.6522 GB, free: 6.469 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007041/0.5974, allocations: 438.5 kB / 0.6526 GB, free: 6.012 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.76e-05/0.5974, allocations: 11.89 kB / 0.6526 GB, free: 6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/0.5975, allocations: 0 / 0.6526 GB, free: 6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002062/0.5977, allocations: 8.219 kB / 0.6526 GB, free: 5.992 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.45e-05/0.5977, allocations: 31.95 kB / 0.6526 GB, free: 5.961 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.337e-05/0.5978, allocations: 31.61 kB / 0.6527 GB, free: 5.934 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.942e-05/0.5978, allocations: 91.25 kB / 0.6527 GB, free: 5.844 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5978, allocations: 0 / 0.6527 GB, free: 5.844 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004014/0.5982, allocations: 83.88 kB / 0.6528 GB, free: 5.762 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,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 (21): * Single equations (assignments): 20 * 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): 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.001228/0.5995, allocations: 1.017 MB / 0.6538 GB, free: 4.703 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005152/0.6, allocations: 199.9 kB / 0.654 GB, free: 4.508 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.615e-06/0.6, allocations: 192 / 0.654 GB, free: 4.508 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003614/0.6003, allocations: 222.5 kB / 0.6542 GB, free: 4.277 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004619/0.6008, allocations: 43.95 kB / 0.6543 GB, free: 4.234 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002744/0.6036, allocations: 2.072 MB / 0.6563 GB, free: 2.039 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.273e-05/0.6036, allocations: 89.97 kB / 0.6564 GB, free: 1.934 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003011/0.6039, allocations: 81.77 kB / 0.6564 GB, free: 1.855 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001942/0.6041, allocations: 71.39 kB / 0.6565 GB, free: 1.785 MB / 494.1 MB Notification: Performance of SimCode: time 4.61e-07/0.6041, allocations: 0 / 0.6565 GB, free: 1.785 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04293/0.6471, allocations: 7.859 MB / 0.6642 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13/13.64, allocations: 11.88 kB / 0.6642 GB, free: 9.91 MB / 0.4981 GB " [Timeout remaining time 646] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.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: 17.19878311129287]