Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.001727/0.001727, allocations: 111.5 kB / 19.69 MB, free: 2.039 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.001859/0.001859, allocations: 222.4 kB / 23.01 MB, free: 4.938 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.392/1.392, allocations: 207.6 MB / 233.8 MB, free: 9.977 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.2072/0.2072, allocations: 44.23 MB / 330.3 MB, free: 9.523 MB / 270.1 MB " [Timeout remaining time 180] 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.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix",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.003087/0.003087, allocations: 78.55 kB / 467.5 MB, free: 4.523 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.114, allocations: 61.03 MB / 0.5161 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.3869/0.501, allocations: 151.3 MB / 0.6639 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00218/0.5032, allocations: 1.504 MB / 0.6654 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.568e-05/0.5032, allocations: 4 kB / 0.6654 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004617/0.5037, allocations: 55.72 kB / 0.6655 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.5047, allocations: 398 kB / 0.6658 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000503/0.5052, allocations: 179.4 kB / 0.666 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000277/0.5055, allocations: 183.3 kB / 0.6662 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.597e-05/0.5055, allocations: 7.984 kB / 0.6662 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/0.5057, allocations: 79.69 kB / 0.6663 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.5058, allocations: 51.83 kB / 0.6663 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.5059, allocations: 12 kB / 0.6663 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001105/0.507, allocations: 0.6158 MB / 0.6669 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.401e-05/0.507, allocations: 27.91 kB / 0.667 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.554e-05/0.5071, allocations: 55.78 kB / 0.667 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006131/0.5077, allocations: 385.1 kB / 0.6674 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.5077, allocations: 0 / 0.6674 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.888e-06/0.5077, allocations: 3.984 kB / 0.6674 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.5078, allocations: 0 / 0.6674 GB, free: 9.047 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005989/0.5083, allocations: 349.9 kB / 0.6677 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.5084, allocations: 12.03 kB / 0.6677 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.514e-05/0.5084, allocations: 42.73 kB / 0.6678 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002046/0.5105, allocations: 193.1 kB / 0.6679 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.5108, allocations: 151.8 kB / 0.6681 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.5108, allocations: 11.94 kB / 0.6681 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.033e-05/0.5108, allocations: 8 kB / 0.6681 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004816/0.5113, allocations: 205.5 kB / 0.6683 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.5113, allocations: 0 / 0.6683 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.18e-05/0.5113, allocations: 8 kB / 0.6683 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.5114, allocations: 0 / 0.6683 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005882/0.5119, allocations: 247.7 kB / 0.6685 GB, free: 7.777 MB / 0.4981 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.001854/0.5138, allocations: 0.6073 MB / 0.6691 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004485/0.5142, allocations: 182.4 kB / 0.6693 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002164/0.5145, allocations: 90.69 kB / 0.6694 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000146/0.5146, allocations: 23.91 kB / 0.6694 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.5146, allocations: 42.55 kB / 0.6695 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.5146, allocations: 0 / 0.6695 GB, free: 6.777 MB / 0.4981 GB 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.005639/0.5203, allocations: 1.385 MB / 0.6708 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.5203, allocations: 51.41 kB / 0.6709 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.5204, allocations: 113.8 kB / 0.671 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.571e-05/0.5205, allocations: 29.7 kB / 0.671 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.092e-05/0.5205, allocations: 104.3 kB / 0.6711 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.919e-05/0.5206, allocations: 71.39 kB / 0.6712 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.596e-05/0.5207, allocations: 49.69 kB / 0.6712 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002431/0.5209, allocations: 322.8 kB / 0.6715 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002172/0.5212, allocations: 87.95 kB / 0.6716 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002493/0.5214, allocations: 119.2 kB / 0.6717 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004567/0.5219, allocations: 227.3 kB / 0.6719 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.5219, allocations: 11.88 kB / 0.672 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006082/0.5225, allocations: 286.3 kB / 0.6722 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.5225, allocations: 8 kB / 0.6722 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.5225, allocations: 0 / 0.6722 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001255/0.5226, allocations: 20.84 kB / 0.6723 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004477/0.5231, allocations: 55.95 kB / 0.6723 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004258/0.5235, allocations: 0.5407 MB / 0.6728 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002638/0.5238, allocations: 4.031 kB / 0.6728 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/0.5238, allocations: 17.11 kB / 0.6729 GB, free: 3.125 MB / 0.4981 GB 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.0001706/0.524, allocations: 125.7 kB / 0.673 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.011e-05/0.5241, allocations: 15.91 kB / 0.673 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007766/0.5248, allocations: 315.1 kB / 0.6733 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.5248, allocations: 4 kB / 0.6733 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.5249, allocations: 3.938 kB / 0.6733 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.5249, allocations: 0 / 0.6733 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.5261, allocations: 0.6415 MB / 0.6739 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.5261, allocations: 4 kB / 0.6739 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004454/0.5265, allocations: 55.89 kB / 0.674 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-05/0.5266, allocations: 20.8 kB / 0.674 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.259e-05/0.5266, allocations: 19.7 kB / 0.674 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001131/0.5278, allocations: 1.256 MB / 0.6752 GB, free: 488 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.5278, allocations: 4.031 kB / 0.6752 GB, free: 484 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008895/0.5287, allocations: 449.3 kB / 0.6757 GB, free: 8 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.961e-05/0.5287, allocations: 16.08 kB / 0.6757 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.6e-05/0.5287, allocations: 8 kB / 0.6757 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003142/0.5291, allocations: 7.984 kB / 0.6757 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.5291, allocations: 19.97 kB / 0.6757 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/0.5291, allocations: 8 kB / 0.6757 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.787e-05/0.5292, allocations: 87.27 kB / 0.6758 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.5292, allocations: 4.062 kB / 0.6758 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005348/0.5297, allocations: 135.7 kB / 0.676 GB, free: 15.72 MB / 0.5137 GB 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 (19): * Single equations (assignments): 18 * 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.001769/0.5315, allocations: 1.133 MB / 0.6771 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000656/0.5321, allocations: 215.7 kB / 0.6773 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.5321, allocations: 0 / 0.6773 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004476/0.5326, allocations: 240.7 kB / 0.6775 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004586/0.5331, allocations: 53.23 kB / 0.6775 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00324/0.5363, allocations: 2.153 MB / 0.6796 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.5367, allocations: 0.7047 MB / 0.6803 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002889/0.537, allocations: 53.39 kB / 0.6804 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.5371, allocations: 39.42 kB / 0.6804 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of SimCode: time 4.91e-07/0.5371, allocations: 0 / 0.6804 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0375/0.5746, allocations: 8.192 MB / 0.6884 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/13.36, allocations: 3.984 kB / 0.6884 GB, free: 2.738 MB / 0.5137 GB " [Timeout remaining time 647] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_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_IdealGasN2Mix.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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: 16.285776564000116]