Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.001736/0.001736, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00213/0.00213, allocations: 213 kB / 23.73 MB, free: 4.164 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.472/1.472, allocations: 230.5 MB / 257.4 MB, free: 7.793 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.2255/0.2255, allocations: 46.96 MB / 360.8 MB, free: 3.914 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.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002439/0.002439, allocations: 79.88 kB / 0.4961 GB, free: 7.551 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3198, allocations: 66.08 MB / 0.5607 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1705/0.4903, allocations: 131.5 MB / 0.6891 GB, free: 8 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001958/0.4922, allocations: 1.433 MB / 0.6905 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.221e-05/0.4923, allocations: 8 kB / 0.6905 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003487/0.4926, allocations: 35.77 kB / 0.6905 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001006/0.4937, allocations: 415.9 kB / 0.6909 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005096/0.4942, allocations: 170.3 kB / 0.6911 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002781/0.4944, allocations: 195.2 kB / 0.6913 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.177e-05/0.4945, allocations: 7.938 kB / 0.6913 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.4947, allocations: 83.62 kB / 0.6914 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.4948, allocations: 59.81 kB / 0.6914 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.4948, allocations: 4 kB / 0.6914 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/0.4959, allocations: 0.5455 MB / 0.692 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.654e-05/0.4959, allocations: 35.89 kB / 0.692 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.659e-05/0.496, allocations: 39.86 kB / 0.692 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006563/0.4967, allocations: 398.9 kB / 0.6924 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.4967, allocations: 0 / 0.6924 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4967, allocations: 0 / 0.6924 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.4967, allocations: 0 / 0.6924 GB, free: 12.6 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006292/0.4973, allocations: 365.8 kB / 0.6928 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.4974, allocations: 8.031 kB / 0.6928 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.015e-05/0.4974, allocations: 54.66 kB / 0.6928 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002196/0.4996, allocations: 200.5 kB / 0.693 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.4999, allocations: 161.7 kB / 0.6932 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.4999, allocations: 8 kB / 0.6932 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.231e-05/0.5, allocations: 4 kB / 0.6932 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005578/0.5005, allocations: 286.6 kB / 0.6935 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.5005, allocations: 0 / 0.6935 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.798e-05/0.5005, allocations: 3.938 kB / 0.6935 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.5006, allocations: 4 kB / 0.6935 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005977/0.5012, allocations: 231.8 kB / 0.6937 GB, free: 11.21 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.001738/0.5029, allocations: 0.5629 MB / 0.6942 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004417/0.5033, allocations: 190.4 kB / 0.6944 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.5035, allocations: 88.81 kB / 0.6945 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001179/0.5037, allocations: 11.98 kB / 0.6945 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.5037, allocations: 34.56 kB / 0.6945 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.5037, allocations: 0 / 0.6945 GB, free: 10.27 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.005646/0.5093, allocations: 1.398 MB / 0.6959 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.5094, allocations: 51.41 kB / 0.696 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.203e-05/0.5095, allocations: 110.1 kB / 0.6961 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/0.5095, allocations: 37.64 kB / 0.6961 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.952e-05/0.5096, allocations: 104.3 kB / 0.6962 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.108e-05/0.5096, allocations: 67.42 kB / 0.6963 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.162e-05/0.5097, allocations: 45.66 kB / 0.6963 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.5099, allocations: 322.8 kB / 0.6966 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/0.5101, allocations: 87.95 kB / 0.6967 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/0.5103, allocations: 127.3 kB / 0.6968 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004772/0.5108, allocations: 222.9 kB / 0.697 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.5108, allocations: 0 / 0.697 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000636/0.5114, allocations: 282.2 kB / 0.6973 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.5115, allocations: 6.344 kB / 0.6973 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.5115, allocations: 7.938 kB / 0.6973 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001366/0.5116, allocations: 32.92 kB / 0.6974 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00048/0.5121, allocations: 55.91 kB / 0.6974 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000427/0.5125, allocations: 0.5368 MB / 0.6979 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003003/0.5128, allocations: 12 kB / 0.6979 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.589e-05/0.5129, allocations: 15.98 kB / 0.698 GB, free: 6.602 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.0001538/0.513, allocations: 123.1 kB / 0.6981 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.557e-05/0.5131, allocations: 7.953 kB / 0.6981 GB, free: 6.465 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007825/0.5139, allocations: 319.1 kB / 0.6984 GB, free: 6.145 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.5139, allocations: 4 kB / 0.6984 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.5139, allocations: 0 / 0.6984 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.5139, allocations: 0 / 0.6984 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.5151, allocations: 0.6162 MB / 0.699 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.5151, allocations: 4 kB / 0.699 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004461/0.5155, allocations: 43.97 kB / 0.699 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.177e-05/0.5156, allocations: 20.84 kB / 0.6991 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.207e-05/0.5156, allocations: 11.98 kB / 0.6991 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001016/0.5167, allocations: 1.267 MB / 0.7003 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5167, allocations: 0 / 0.7003 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008857/0.5175, allocations: 454.6 kB / 0.7007 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.546e-05/0.5176, allocations: 12.11 kB / 0.7008 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.373e-05/0.5176, allocations: 8 kB / 0.7008 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003363/0.5179, allocations: 15.98 kB / 0.7008 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.518, allocations: 15.91 kB / 0.7008 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-05/0.518, allocations: 12 kB / 0.7008 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.103e-05/0.5181, allocations: 91.25 kB / 0.7009 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.5181, allocations: 0 / 0.7009 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005452/0.5186, allocations: 143.6 kB / 0.701 GB, free: 3.23 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.001768/0.5204, allocations: 1.124 MB / 0.7021 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000621/0.521, allocations: 231.7 kB / 0.7023 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.521, allocations: 3.938 kB / 0.7023 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004067/0.5214, allocations: 224.4 kB / 0.7026 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004408/0.5218, allocations: 54.61 kB / 0.7026 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003082/0.5249, allocations: 2.147 MB / 0.7047 GB, free: 15.29 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.664e-05/0.525, allocations: 97.83 kB / 0.7048 GB, free: 15.17 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002861/0.5253, allocations: 49.34 kB / 0.7048 GB, free: 15.12 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.5255, allocations: 39.42 kB / 0.7049 GB, free: 15.09 MB / 0.545 GB Notification: Performance of SimCode: time 6.11e-07/0.5255, allocations: 4 kB / 0.7049 GB, free: 15.08 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03823/0.5637, allocations: 8.671 MB / 0.7134 GB, free: 6.52 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.21, allocations: 8.312 kB / 0.7134 GB, free: 6.512 MB / 0.545 GB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.231617792043835]