Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001293/0.001293, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001516/0.001516, allocations: 213.9 kB / 23.73 MB, free: 4.16 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.454/1.454, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2243/0.2243, allocations: 44.93 MB / 358.8 MB, free: 6.031 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.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",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.00228/0.00228, allocations: 63.91 kB / 0.493 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3494, allocations: 65.47 MB / 0.5569 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1681/0.5174, allocations: 131.5 MB / 0.6854 GB, free: 3.512 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002012/0.5195, allocations: 1.441 MB / 0.6868 GB, free: 2.066 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.264e-05/0.5195, allocations: 0 / 0.6868 GB, free: 2.066 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003257/0.5198, allocations: 47.69 kB / 0.6868 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001043/0.5209, allocations: 415.9 kB / 0.6872 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000522/0.5214, allocations: 174.9 kB / 0.6874 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002669/0.5217, allocations: 175.3 kB / 0.6876 GB, free: 1.273 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.075e-05/0.5217, allocations: 11.94 kB / 0.6876 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.5219, allocations: 83.69 kB / 0.6877 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.522, allocations: 59.73 kB / 0.6877 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.5221, allocations: 8 kB / 0.6877 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.5232, allocations: 0.5455 MB / 0.6882 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.427e-05/0.5233, allocations: 31.84 kB / 0.6883 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.979e-05/0.5233, allocations: 47.84 kB / 0.6883 GB, free: 500 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006892/0.524, allocations: 398.9 kB / 0.6887 GB, free: 100 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.524, allocations: 0 / 0.6887 GB, free: 100 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.754e-06/0.524, allocations: 4 kB / 0.6887 GB, free: 96 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.524, allocations: 4 kB / 0.6887 GB, free: 92 kB / 0.5137 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.0006572/0.5247, allocations: 357.9 kB / 0.6891 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.5247, allocations: 12.03 kB / 0.6891 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.778e-05/0.5248, allocations: 46.73 kB / 0.6891 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00229/0.5271, allocations: 192.6 kB / 0.6893 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.5274, allocations: 165.7 kB / 0.6895 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.5274, allocations: 8 kB / 0.6895 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.132e-05/0.5274, allocations: 8 kB / 0.6895 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005379/0.528, allocations: 281.4 kB / 0.6897 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.528, allocations: 0 / 0.6897 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.287e-05/0.528, allocations: 7.938 kB / 0.6897 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.528, allocations: 0 / 0.6897 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005906/0.5286, allocations: 231.8 kB / 0.69 GB, free: 14.72 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.001824/0.5304, allocations: 0.5706 MB / 0.6905 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004768/0.5309, allocations: 182.5 kB / 0.6907 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002239/0.5311, allocations: 100.7 kB / 0.6908 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000133/0.5313, allocations: 11.98 kB / 0.6908 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.131e-05/0.5313, allocations: 38.56 kB / 0.6908 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/0.5313, allocations: 0 / 0.6908 GB, free: 13.76 MB / 0.5294 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.005838/0.5371, allocations: 1.382 MB / 0.6922 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.5372, allocations: 59.41 kB / 0.6922 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.5373, allocations: 109.8 kB / 0.6924 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.62e-05/0.5373, allocations: 33.64 kB / 0.6924 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.46e-05/0.5374, allocations: 104.3 kB / 0.6925 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.064e-05/0.5375, allocations: 67.42 kB / 0.6925 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.959e-05/0.5376, allocations: 49.64 kB / 0.6926 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.5377, allocations: 318.8 kB / 0.6929 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/0.5379, allocations: 87.95 kB / 0.693 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002443/0.5382, allocations: 125 kB / 0.6931 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000472/0.5387, allocations: 229 kB / 0.6933 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.5387, allocations: 0 / 0.6933 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006393/0.5393, allocations: 282.3 kB / 0.6936 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.5393, allocations: 4.094 kB / 0.6936 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.5393, allocations: 4 kB / 0.6936 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001329/0.5395, allocations: 24.78 kB / 0.6936 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004662/0.5399, allocations: 55.95 kB / 0.6937 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003949/0.5403, allocations: 0.5406 MB / 0.6942 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002872/0.5406, allocations: 4.031 kB / 0.6942 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.14e-05/0.5406, allocations: 15.98 kB / 0.6942 GB, free: 10.11 MB / 0.5294 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.0001366/0.5408, allocations: 125.9 kB / 0.6943 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.289e-05/0.5408, allocations: 7.953 kB / 0.6943 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007635/0.5416, allocations: 323.2 kB / 0.6947 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.5416, allocations: 4 kB / 0.6947 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.5416, allocations: 0 / 0.6947 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.5416, allocations: 0 / 0.6947 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.5427, allocations: 0.6182 MB / 0.6953 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.5428, allocations: 0 / 0.6953 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004547/0.5432, allocations: 51.89 kB / 0.6953 GB, free: 8.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.293e-05/0.5433, allocations: 28.94 kB / 0.6953 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.005e-05/0.5433, allocations: 11.98 kB / 0.6954 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009987/0.5443, allocations: 1.263 MB / 0.6966 GB, free: 7.492 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.5443, allocations: 0 / 0.6966 GB, free: 7.492 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008751/0.5452, allocations: 456.4 kB / 0.697 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.048e-05/0.5452, allocations: 15.97 kB / 0.697 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.51e-05/0.5452, allocations: 4 kB / 0.697 GB, free: 7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003317/0.5456, allocations: 8 kB / 0.697 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.5456, allocations: 19.97 kB / 0.6971 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.901e-05/0.5456, allocations: 11.98 kB / 0.6971 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.637e-05/0.5457, allocations: 87.27 kB / 0.6972 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.5457, allocations: 3.938 kB / 0.6972 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005157/0.5462, allocations: 135.6 kB / 0.6973 GB, free: 6.738 MB / 0.5294 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.001736/0.5479, allocations: 1.147 MB / 0.6984 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006091/0.5486, allocations: 219.8 kB / 0.6986 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5486, allocations: 4 kB / 0.6986 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004198/0.549, allocations: 234.9 kB / 0.6989 GB, free: 5.094 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004314/0.5494, allocations: 42.3 kB / 0.6989 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003173/0.5526, allocations: 2.128 MB / 0.701 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.635e-05/0.5527, allocations: 101.9 kB / 0.7011 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000297/0.553, allocations: 57.77 kB / 0.7011 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.5531, allocations: 39.42 kB / 0.7012 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of SimCode: time 6.61e-07/0.5531, allocations: 0 / 0.7012 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0554/0.6085, allocations: 8.695 MB / 0.7097 GB, free: 10.04 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/13.58, allocations: 6.562 kB / 0.7097 GB, free: 10.04 MB / 0.545 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.529810989741236]