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.00167/0.00167, allocations: 109 kB / 20.48 MB, free: 1.477 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.003367/0.003367, allocations: 209.7 kB / 23.79 MB, free: 4.688 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.538/1.538, allocations: 207.6 MB / 234.6 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.2386/0.2386, allocations: 44.24 MB / 331.1 MB, free: 9.512 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.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="cs",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.002552/0.002552, allocations: 78.55 kB / 468.3 MB, free: 4.516 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.128, allocations: 61.03 MB / 0.5169 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4394/0.5674, allocations: 151.4 MB / 0.6647 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002232/0.5696, allocations: 1.505 MB / 0.6662 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.5697, allocations: 1.031 kB / 0.6662 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003651/0.5701, allocations: 55.72 kB / 0.6662 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001081/0.5711, allocations: 398 kB / 0.6666 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005434/0.5717, allocations: 171.4 kB / 0.6668 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003145/0.572, allocations: 191.2 kB / 0.6669 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.655e-05/0.5721, allocations: 7.984 kB / 0.667 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002063/0.5723, allocations: 83.69 kB / 0.667 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.5724, allocations: 55.81 kB / 0.6671 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.5724, allocations: 8 kB / 0.6671 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001208/0.5736, allocations: 0.608 MB / 0.6677 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.828e-05/0.5737, allocations: 35.89 kB / 0.6677 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.434e-05/0.5738, allocations: 48.73 kB / 0.6678 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006967/0.5745, allocations: 389 kB / 0.6681 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.5745, allocations: 4 kB / 0.6681 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5745, allocations: 0 / 0.6681 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.5745, allocations: 0 / 0.6681 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.0005808/0.5751, allocations: 345.9 kB / 0.6685 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.5751, allocations: 16.03 kB / 0.6685 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.948e-05/0.5751, allocations: 384 / 0.6685 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.82e-05/0.5752, allocations: 42.75 kB / 0.6685 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002249/0.5774, allocations: 201.1 kB / 0.6687 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.5777, allocations: 159.3 kB / 0.6689 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.5777, allocations: 4 kB / 0.6689 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.477e-05/0.5778, allocations: 8 kB / 0.6689 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005114/0.5783, allocations: 205.5 kB / 0.6691 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.5783, allocations: 0 / 0.6691 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.105e-05/0.5783, allocations: 0 / 0.6691 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.5783, allocations: 7.938 kB / 0.6691 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006205/0.579, allocations: 243.8 kB / 0.6693 GB, free: 7.773 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.001871/0.5808, allocations: 0.6033 MB / 0.6699 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004892/0.5813, allocations: 190.5 kB / 0.6701 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00023/0.5816, allocations: 98.36 kB / 0.6702 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001467/0.5817, allocations: 15.98 kB / 0.6702 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.908e-05/0.5817, allocations: 38.55 kB / 0.6702 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.5817, allocations: 0 / 0.6702 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.005931/0.5877, allocations: 1.379 MB / 0.6716 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.5877, allocations: 59.39 kB / 0.6716 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.5878, allocations: 109.8 kB / 0.6717 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.064e-05/0.5879, allocations: 29.7 kB / 0.6718 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.785e-05/0.5879, allocations: 100.4 kB / 0.6719 GB, free: 5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.313e-05/0.588, allocations: 79.36 kB / 0.6719 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.5881, allocations: 37.7 kB / 0.672 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.5883, allocations: 322.8 kB / 0.6723 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002528/0.5885, allocations: 91.95 kB / 0.6724 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002607/0.5888, allocations: 127.2 kB / 0.6725 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004959/0.5893, allocations: 231.2 kB / 0.6727 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.5893, allocations: 0 / 0.6727 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006776/0.59, allocations: 291.2 kB / 0.673 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.59, allocations: 7.984 kB / 0.673 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.59, allocations: 4 kB / 0.673 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000146/0.5902, allocations: 20.84 kB / 0.673 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004646/0.5906, allocations: 55.91 kB / 0.6731 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004253/0.591, allocations: 0.533 MB / 0.6736 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003029/0.5913, allocations: 19.95 kB / 0.6736 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.426e-05/0.5914, allocations: 4 kB / 0.6736 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.0001628/0.5915, allocations: 125.8 kB / 0.6737 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.46e-05/0.5916, allocations: 11.91 kB / 0.6738 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008134/0.5924, allocations: 314.6 kB / 0.6741 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.5924, allocations: 9.812 kB / 0.6741 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.5924, allocations: 0 / 0.6741 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.5925, allocations: 3.984 kB / 0.6741 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001188/0.5936, allocations: 0.6494 MB / 0.6747 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.5936, allocations: 0 / 0.6747 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004594/0.5941, allocations: 51.89 kB / 0.6747 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.218e-05/0.5942, allocations: 28.8 kB / 0.6748 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.5942, allocations: 4.094 kB / 0.6748 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00104/0.5953, allocations: 1.267 MB / 0.676 GB, free: 488 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.5953, allocations: 0 / 0.676 GB, free: 488 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000923/0.5962, allocations: 450.7 kB / 0.6764 GB, free: 8 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.445e-05/0.5962, allocations: 12.12 kB / 0.6765 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.238e-05/0.5963, allocations: 8 kB / 0.6765 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003456/0.5966, allocations: 11.98 kB / 0.6765 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.5967, allocations: 11.97 kB / 0.6765 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.672e-05/0.5967, allocations: 15.98 kB / 0.6765 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.753e-05/0.5968, allocations: 95.64 kB / 0.6766 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.5968, allocations: 0 / 0.6766 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005974/0.5974, allocations: 131.7 kB / 0.6767 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.002081/0.5994, allocations: 1.133 MB / 0.6778 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007469/0.6002, allocations: 223.7 kB / 0.678 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.6002, allocations: 4 kB / 0.678 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004602/0.6007, allocations: 228.8 kB / 0.6783 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004844/0.6011, allocations: 43.89 kB / 0.6783 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003931/0.6051, allocations: 2.154 MB / 0.6804 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004712/0.6055, allocations: 0.7086 MB / 0.6811 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000335/0.6059, allocations: 57.72 kB / 0.6812 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.606, allocations: 39.42 kB / 0.6812 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of SimCode: time 1.042e-06/0.606, allocations: 0 / 0.6812 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03531/0.6414, allocations: 8.224 MB / 0.6892 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.11/13.75, allocations: 4.062 kB / 0.6892 GB, free: 2.711 MB / 0.5137 GB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.mat","/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: 17.038114807975944]